recopy trunk corcompare file and refresh base APIs
svn path=/trunk/gtk-sharp/; revision=63231
This commit is contained in:
parent
24269861e8
commit
2650065d9a
10 changed files with 7147 additions and 6950 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -24,7 +24,7 @@
|
||||||
<field name="Zero" attrib="22" fieldtype="Glade.AccelInfo" />
|
<field name="Zero" attrib="22" fieldtype="Glade.AccelInfo" />
|
||||||
</fields>
|
</fields>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="New(System.IntPtr)" attrib="150" returntype="Glade.AccelInfo">
|
<method name="New(System.IntPtr)" attrib="150" static="true" returntype="Glade.AccelInfo">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="raw" position="0" attrib="0" type="System.IntPtr" />
|
<parameter name="raw" position="0" attrib="0" type="System.IntPtr" />
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
<interface name="System.Runtime.Serialization.ISerializable" />
|
<interface name="System.Runtime.Serialization.ISerializable" />
|
||||||
</interfaces>
|
</interfaces>
|
||||||
<constructors>
|
<constructors>
|
||||||
<constructor name=".ctor(System.Object, System.IntPtr)" attrib="6278">
|
<constructor name=".ctor(System.Object, System.IntPtr)" attrib="2182">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="object" position="0" attrib="0" type="System.Object" />
|
<parameter name="object" position="0" attrib="0" type="System.Object" />
|
||||||
<parameter name="method" position="1" attrib="0" type="System.IntPtr" />
|
<parameter name="method" position="1" attrib="0" type="System.IntPtr" />
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
</constructor>
|
</constructor>
|
||||||
</constructors>
|
</constructors>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="BeginInvoke(Glade.XML, Gtk.Widget, System.String, System.String, System.AsyncCallback, System.Object)" attrib="454" returntype="System.IAsyncResult">
|
<method name="BeginInvoke(Glade.XML, Gtk.Widget, System.String, System.String, System.AsyncCallback, System.Object)" attrib="454" virtual="true" returntype="System.IAsyncResult">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="xml" position="0" attrib="0" type="Glade.XML" />
|
<parameter name="xml" position="0" attrib="0" type="Glade.XML" />
|
||||||
<parameter name="widget" position="1" attrib="0" type="Gtk.Widget" />
|
<parameter name="widget" position="1" attrib="0" type="Gtk.Widget" />
|
||||||
|
@ -55,12 +55,12 @@
|
||||||
<parameter name="object" position="5" attrib="0" type="System.Object" />
|
<parameter name="object" position="5" attrib="0" type="System.Object" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="EndInvoke(System.IAsyncResult)" attrib="454" returntype="System.Void">
|
<method name="EndInvoke(System.IAsyncResult)" attrib="454" virtual="true" returntype="System.Void">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="result" position="0" attrib="0" type="System.IAsyncResult" />
|
<parameter name="result" position="0" attrib="0" type="System.IAsyncResult" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="Invoke(Glade.XML, Gtk.Widget, System.String, System.String)" attrib="454" returntype="System.Void">
|
<method name="Invoke(Glade.XML, Gtk.Widget, System.String, System.String)" attrib="454" virtual="true" returntype="System.Void">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="xml" position="0" attrib="0" type="Glade.XML" />
|
<parameter name="xml" position="0" attrib="0" type="Glade.XML" />
|
||||||
<parameter name="widget" position="1" attrib="0" type="Gtk.Widget" />
|
<parameter name="widget" position="1" attrib="0" type="Gtk.Widget" />
|
||||||
|
@ -77,7 +77,7 @@
|
||||||
<field name="Zero" attrib="22" fieldtype="Glade.AtkActionInfo" />
|
<field name="Zero" attrib="22" fieldtype="Glade.AtkActionInfo" />
|
||||||
</fields>
|
</fields>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="New(System.IntPtr)" attrib="150" returntype="Glade.AtkActionInfo">
|
<method name="New(System.IntPtr)" attrib="150" static="true" returntype="Glade.AtkActionInfo">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="raw" position="0" attrib="0" type="System.IntPtr" />
|
<parameter name="raw" position="0" attrib="0" type="System.IntPtr" />
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -91,7 +91,7 @@
|
||||||
<field name="Zero" attrib="22" fieldtype="Glade.AtkRelationInfo" />
|
<field name="Zero" attrib="22" fieldtype="Glade.AtkRelationInfo" />
|
||||||
</fields>
|
</fields>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="New(System.IntPtr)" attrib="150" returntype="Glade.AtkRelationInfo">
|
<method name="New(System.IntPtr)" attrib="150" static="true" returntype="Glade.AtkRelationInfo">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="raw" position="0" attrib="0" type="System.IntPtr" />
|
<parameter name="raw" position="0" attrib="0" type="System.IntPtr" />
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -104,7 +104,7 @@
|
||||||
<interface name="System.Runtime.Serialization.ISerializable" />
|
<interface name="System.Runtime.Serialization.ISerializable" />
|
||||||
</interfaces>
|
</interfaces>
|
||||||
<constructors>
|
<constructors>
|
||||||
<constructor name=".ctor(System.Object, System.IntPtr)" attrib="6278">
|
<constructor name=".ctor(System.Object, System.IntPtr)" attrib="2182">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="object" position="0" attrib="0" type="System.Object" />
|
<parameter name="object" position="0" attrib="0" type="System.Object" />
|
||||||
<parameter name="method" position="1" attrib="0" type="System.IntPtr" />
|
<parameter name="method" position="1" attrib="0" type="System.IntPtr" />
|
||||||
|
@ -112,7 +112,7 @@
|
||||||
</constructor>
|
</constructor>
|
||||||
</constructors>
|
</constructors>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="BeginInvoke(Glade.XML, Gtk.Widget, Glade.WidgetInfo, System.AsyncCallback, System.Object)" attrib="454" returntype="System.IAsyncResult">
|
<method name="BeginInvoke(Glade.XML, Gtk.Widget, Glade.WidgetInfo, System.AsyncCallback, System.Object)" attrib="454" virtual="true" returntype="System.IAsyncResult">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="xml" position="0" attrib="0" type="Glade.XML" />
|
<parameter name="xml" position="0" attrib="0" type="Glade.XML" />
|
||||||
<parameter name="parent" position="1" attrib="0" type="Gtk.Widget" />
|
<parameter name="parent" position="1" attrib="0" type="Gtk.Widget" />
|
||||||
|
@ -121,12 +121,12 @@
|
||||||
<parameter name="object" position="4" attrib="0" type="System.Object" />
|
<parameter name="object" position="4" attrib="0" type="System.Object" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="EndInvoke(System.IAsyncResult)" attrib="454" returntype="System.Void">
|
<method name="EndInvoke(System.IAsyncResult)" attrib="454" virtual="true" returntype="System.Void">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="result" position="0" attrib="0" type="System.IAsyncResult" />
|
<parameter name="result" position="0" attrib="0" type="System.IAsyncResult" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="Invoke(Glade.XML, Gtk.Widget, Glade.WidgetInfo)" attrib="454" returntype="System.Void">
|
<method name="Invoke(Glade.XML, Gtk.Widget, Glade.WidgetInfo)" attrib="454" virtual="true" returntype="System.Void">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="xml" position="0" attrib="0" type="Glade.XML" />
|
<parameter name="xml" position="0" attrib="0" type="Glade.XML" />
|
||||||
<parameter name="parent" position="1" attrib="0" type="Gtk.Widget" />
|
<parameter name="parent" position="1" attrib="0" type="Gtk.Widget" />
|
||||||
|
@ -144,21 +144,21 @@
|
||||||
<properties>
|
<properties>
|
||||||
<property name="child" attrib="0" ptype="Glade.WidgetInfo" params="">
|
<property name="child" attrib="0" ptype="Glade.WidgetInfo" params="">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_child()" returntype="Glade.WidgetInfo">
|
<method name="get_child()" attrib="2182" returntype="Glade.WidgetInfo">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
</property>
|
</property>
|
||||||
<property name="properties" attrib="0" ptype="Glade.Property" params="">
|
<property name="properties" attrib="0" ptype="Glade.Property" params="">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_properties()" returntype="Glade.Property">
|
<method name="get_properties()" attrib="2182" returntype="Glade.Property">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
</property>
|
</property>
|
||||||
</properties>
|
</properties>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="New(System.IntPtr)" attrib="150" returntype="Glade.ChildInfo">
|
<method name="New(System.IntPtr)" attrib="150" static="true" returntype="Glade.ChildInfo">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="raw" position="0" attrib="0" type="System.IntPtr" />
|
<parameter name="raw" position="0" attrib="0" type="System.IntPtr" />
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -171,7 +171,7 @@
|
||||||
<interface name="System.Runtime.Serialization.ISerializable" />
|
<interface name="System.Runtime.Serialization.ISerializable" />
|
||||||
</interfaces>
|
</interfaces>
|
||||||
<constructors>
|
<constructors>
|
||||||
<constructor name=".ctor(System.Object, System.IntPtr)" attrib="6278">
|
<constructor name=".ctor(System.Object, System.IntPtr)" attrib="2182">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="object" position="0" attrib="0" type="System.Object" />
|
<parameter name="object" position="0" attrib="0" type="System.Object" />
|
||||||
<parameter name="method" position="1" attrib="0" type="System.IntPtr" />
|
<parameter name="method" position="1" attrib="0" type="System.IntPtr" />
|
||||||
|
@ -179,7 +179,7 @@
|
||||||
</constructor>
|
</constructor>
|
||||||
</constructors>
|
</constructors>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="BeginInvoke(Glade.XML, Gtk.Widget, System.String, System.AsyncCallback, System.Object)" attrib="454" returntype="System.IAsyncResult">
|
<method name="BeginInvoke(Glade.XML, Gtk.Widget, System.String, System.AsyncCallback, System.Object)" attrib="454" virtual="true" returntype="System.IAsyncResult">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="xml" position="0" attrib="0" type="Glade.XML" />
|
<parameter name="xml" position="0" attrib="0" type="Glade.XML" />
|
||||||
<parameter name="parent" position="1" attrib="0" type="Gtk.Widget" />
|
<parameter name="parent" position="1" attrib="0" type="Gtk.Widget" />
|
||||||
|
@ -188,12 +188,12 @@
|
||||||
<parameter name="object" position="4" attrib="0" type="System.Object" />
|
<parameter name="object" position="4" attrib="0" type="System.Object" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="EndInvoke(System.IAsyncResult)" attrib="454" returntype="Gtk.Widget">
|
<method name="EndInvoke(System.IAsyncResult)" attrib="454" virtual="true" returntype="Gtk.Widget">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="result" position="0" attrib="0" type="System.IAsyncResult" />
|
<parameter name="result" position="0" attrib="0" type="System.IAsyncResult" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="Invoke(Glade.XML, Gtk.Widget, System.String)" attrib="454" returntype="Gtk.Widget">
|
<method name="Invoke(Glade.XML, Gtk.Widget, System.String)" attrib="454" virtual="true" returntype="Gtk.Widget">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="xml" position="0" attrib="0" type="Glade.XML" />
|
<parameter name="xml" position="0" attrib="0" type="Glade.XML" />
|
||||||
<parameter name="parent" position="1" attrib="0" type="Gtk.Widget" />
|
<parameter name="parent" position="1" attrib="0" type="Gtk.Widget" />
|
||||||
|
@ -204,46 +204,46 @@
|
||||||
</class>
|
</class>
|
||||||
<class name="Global" type="class" base="System.Object" charset="Ansi" layout="Auto">
|
<class name="Global" type="class" base="System.Object" charset="Ansi" layout="Auto">
|
||||||
<constructors>
|
<constructors>
|
||||||
<constructor name=".ctor()" attrib="6278">
|
<constructor name=".ctor()" attrib="2182">
|
||||||
<parameters />
|
<parameters />
|
||||||
</constructor>
|
</constructor>
|
||||||
</constructors>
|
</constructors>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="EnumFromString(GLib.GType, System.String)" attrib="150" returntype="System.Int32">
|
<method name="EnumFromString(GLib.GType, System.String)" attrib="150" static="true" returntype="System.Int32">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="type" position="0" attrib="0" type="GLib.GType" />
|
<parameter name="type" position="0" attrib="0" type="GLib.GType" />
|
||||||
<parameter name="str1ng" position="1" attrib="0" type="System.String" />
|
<parameter name="str1ng" position="1" attrib="0" type="System.String" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="FlagsFromString(GLib.GType, System.String)" attrib="150" returntype="System.UInt32">
|
<method name="FlagsFromString(GLib.GType, System.String)" attrib="150" static="true" returntype="System.UInt32">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="type" position="0" attrib="0" type="GLib.GType" />
|
<parameter name="type" position="0" attrib="0" type="GLib.GType" />
|
||||||
<parameter name="str1ng" position="1" attrib="0" type="System.String" />
|
<parameter name="str1ng" position="1" attrib="0" type="System.String" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="GetWidgetName(Gtk.Widget)" attrib="150" returntype="System.String">
|
<method name="GetWidgetName(Gtk.Widget)" attrib="150" static="true" returntype="System.String">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="widget" position="0" attrib="0" type="Gtk.Widget" />
|
<parameter name="widget" position="0" attrib="0" type="Gtk.Widget" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="GetWidgetTree(Gtk.Widget)" attrib="150" returntype="Glade.XML">
|
<method name="GetWidgetTree(Gtk.Widget)" attrib="150" static="true" returntype="Glade.XML">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="widget" position="0" attrib="0" type="Gtk.Widget" />
|
<parameter name="widget" position="0" attrib="0" type="Gtk.Widget" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ModuleCheckVersion(System.Int32)" attrib="150" returntype="System.String">
|
<method name="ModuleCheckVersion(System.Int32)" attrib="150" static="true" returntype="System.String">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="version" position="0" attrib="0" type="System.Int32" />
|
<parameter name="version" position="0" attrib="0" type="System.Int32" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="RegisterCustomProp(GLib.GType, System.String, Glade.ApplyCustomPropFunc)" attrib="150" returntype="System.Void">
|
<method name="RegisterCustomProp(GLib.GType, System.String, Glade.ApplyCustomPropFunc)" attrib="150" static="true" returntype="System.Void">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="type" position="0" attrib="0" type="GLib.GType" />
|
<parameter name="type" position="0" attrib="0" type="GLib.GType" />
|
||||||
<parameter name="prop_name" position="1" attrib="0" type="System.String" />
|
<parameter name="prop_name" position="1" attrib="0" type="System.String" />
|
||||||
<parameter name="apply_prop" position="2" attrib="0" type="Glade.ApplyCustomPropFunc" />
|
<parameter name="apply_prop" position="2" attrib="0" type="Glade.ApplyCustomPropFunc" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="RegisterWidget(GLib.GType, Glade.NewFunc, Glade.BuildChildrenFunc, Glade.FindInternalChildFunc)" attrib="150" returntype="System.Void">
|
<method name="RegisterWidget(GLib.GType, Glade.NewFunc, Glade.BuildChildrenFunc, Glade.FindInternalChildFunc)" attrib="150" static="true" returntype="System.Void">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="type" position="0" attrib="0" type="GLib.GType" />
|
<parameter name="type" position="0" attrib="0" type="GLib.GType" />
|
||||||
<parameter name="new_func" position="1" attrib="0" type="Glade.NewFunc" />
|
<parameter name="new_func" position="1" attrib="0" type="Glade.NewFunc" />
|
||||||
|
@ -251,7 +251,7 @@
|
||||||
<parameter name="find_internal_child" position="3" attrib="0" type="Glade.FindInternalChildFunc" />
|
<parameter name="find_internal_child" position="3" attrib="0" type="Glade.FindInternalChildFunc" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="SetCustomHandler(Glade.XMLCustomWidgetHandler)" attrib="150" returntype="System.Void">
|
<method name="SetCustomHandler(Glade.XMLCustomWidgetHandler)" attrib="150" static="true" returntype="System.Void">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="System.ObsoleteAttribute">
|
<attribute name="System.ObsoleteAttribute">
|
||||||
<properties>
|
<properties>
|
||||||
|
@ -271,7 +271,7 @@
|
||||||
<interface name="System.Runtime.Serialization.ISerializable" />
|
<interface name="System.Runtime.Serialization.ISerializable" />
|
||||||
</interfaces>
|
</interfaces>
|
||||||
<constructors>
|
<constructors>
|
||||||
<constructor name=".ctor(System.String, System.String, System.String, System.Reflection.EventInfo, System.Type)" attrib="6278">
|
<constructor name=".ctor(System.String, System.String, System.String, System.Reflection.EventInfo, System.Type)" attrib="2182">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="message" position="0" attrib="0" type="System.String" />
|
<parameter name="message" position="0" attrib="0" type="System.String" />
|
||||||
<parameter name="handler_name" position="1" attrib="0" type="System.String" />
|
<parameter name="handler_name" position="1" attrib="0" type="System.String" />
|
||||||
|
@ -280,13 +280,13 @@
|
||||||
<parameter name="delegate_type" position="4" attrib="0" type="System.Type" />
|
<parameter name="delegate_type" position="4" attrib="0" type="System.Type" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</constructor>
|
</constructor>
|
||||||
<constructor name=".ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)" attrib="6276">
|
<constructor name=".ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)" attrib="2180">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="info" position="0" attrib="0" type="System.Runtime.Serialization.SerializationInfo" />
|
<parameter name="info" position="0" attrib="0" type="System.Runtime.Serialization.SerializationInfo" />
|
||||||
<parameter name="context" position="1" attrib="0" type="System.Runtime.Serialization.StreamingContext" />
|
<parameter name="context" position="1" attrib="0" type="System.Runtime.Serialization.StreamingContext" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</constructor>
|
</constructor>
|
||||||
<constructor name=".ctor(System.String, System.String, System.Reflection.EventInfo, System.Type)" attrib="6278">
|
<constructor name=".ctor(System.String, System.String, System.Reflection.EventInfo, System.Type)" attrib="2182">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="handler_name" position="0" attrib="0" type="System.String" />
|
<parameter name="handler_name" position="0" attrib="0" type="System.String" />
|
||||||
<parameter name="signal_name" position="1" attrib="0" type="System.String" />
|
<parameter name="signal_name" position="1" attrib="0" type="System.String" />
|
||||||
|
@ -294,7 +294,7 @@
|
||||||
<parameter name="delegate_type" position="3" attrib="0" type="System.Type" />
|
<parameter name="delegate_type" position="3" attrib="0" type="System.Type" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</constructor>
|
</constructor>
|
||||||
<constructor name=".ctor(System.String, System.String, System.Reflection.EventInfo, System.Type, System.Exception)" attrib="6278">
|
<constructor name=".ctor(System.String, System.String, System.Reflection.EventInfo, System.Type, System.Exception)" attrib="2182">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="handler_name" position="0" attrib="0" type="System.String" />
|
<parameter name="handler_name" position="0" attrib="0" type="System.String" />
|
||||||
<parameter name="signal_name" position="1" attrib="0" type="System.String" />
|
<parameter name="signal_name" position="1" attrib="0" type="System.String" />
|
||||||
|
@ -307,35 +307,35 @@
|
||||||
<properties>
|
<properties>
|
||||||
<property name="DelegateType" attrib="0" ptype="System.Type" params="">
|
<property name="DelegateType" attrib="0" ptype="System.Type" params="">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_DelegateType()" returntype="System.Type">
|
<method name="get_DelegateType()" attrib="2182" returntype="System.Type">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
</property>
|
</property>
|
||||||
<property name="Event" attrib="0" ptype="System.Reflection.EventInfo" params="">
|
<property name="Event" attrib="0" ptype="System.Reflection.EventInfo" params="">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_Event()" returntype="System.Reflection.EventInfo">
|
<method name="get_Event()" attrib="2182" returntype="System.Reflection.EventInfo">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
</property>
|
</property>
|
||||||
<property name="HandlerName" attrib="0" ptype="System.String" params="">
|
<property name="HandlerName" attrib="0" ptype="System.String" params="">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_HandlerName()" returntype="System.String">
|
<method name="get_HandlerName()" attrib="2182" returntype="System.String">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
</property>
|
</property>
|
||||||
<property name="SignalName" attrib="0" ptype="System.String" params="">
|
<property name="SignalName" attrib="0" ptype="System.String" params="">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_SignalName()" returntype="System.String">
|
<method name="get_SignalName()" attrib="2182" returntype="System.String">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
</property>
|
</property>
|
||||||
</properties>
|
</properties>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)" attrib="198" returntype="System.Void">
|
<method name="GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)" attrib="198" virtual="true" returntype="System.Void">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="info" position="0" attrib="0" type="System.Runtime.Serialization.SerializationInfo" />
|
<parameter name="info" position="0" attrib="0" type="System.Runtime.Serialization.SerializationInfo" />
|
||||||
<parameter name="context" position="1" attrib="0" type="System.Runtime.Serialization.StreamingContext" />
|
<parameter name="context" position="1" attrib="0" type="System.Runtime.Serialization.StreamingContext" />
|
||||||
|
@ -361,14 +361,14 @@
|
||||||
</attribute>
|
</attribute>
|
||||||
</attributes>
|
</attributes>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_toplevels()" returntype="Glade.WidgetInfo">
|
<method name="get_toplevels()" attrib="2182" returntype="Glade.WidgetInfo">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
</property>
|
</property>
|
||||||
<property name="Toplevels" attrib="0" ptype="Glade.WidgetInfo[]" params="">
|
<property name="Toplevels" attrib="0" ptype="Glade.WidgetInfo[]" params="">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_Toplevels()" returntype="Glade.WidgetInfo[]">
|
<method name="get_Toplevels()" attrib="2182" returntype="Glade.WidgetInfo[]">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
|
@ -383,7 +383,7 @@
|
||||||
<parameter name="filename" position="0" attrib="0" type="System.String" />
|
<parameter name="filename" position="0" attrib="0" type="System.String" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="New(System.IntPtr)" attrib="150" returntype="Glade.Interface">
|
<method name="New(System.IntPtr)" attrib="150" static="true" returntype="Glade.Interface">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="raw" position="0" attrib="0" type="System.IntPtr" />
|
<parameter name="raw" position="0" attrib="0" type="System.IntPtr" />
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -396,7 +396,7 @@
|
||||||
<interface name="System.Runtime.Serialization.ISerializable" />
|
<interface name="System.Runtime.Serialization.ISerializable" />
|
||||||
</interfaces>
|
</interfaces>
|
||||||
<constructors>
|
<constructors>
|
||||||
<constructor name=".ctor(System.Object, System.IntPtr)" attrib="6278">
|
<constructor name=".ctor(System.Object, System.IntPtr)" attrib="2182">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="object" position="0" attrib="0" type="System.Object" />
|
<parameter name="object" position="0" attrib="0" type="System.Object" />
|
||||||
<parameter name="method" position="1" attrib="0" type="System.IntPtr" />
|
<parameter name="method" position="1" attrib="0" type="System.IntPtr" />
|
||||||
|
@ -404,7 +404,7 @@
|
||||||
</constructor>
|
</constructor>
|
||||||
</constructors>
|
</constructors>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="BeginInvoke(Glade.XML, GLib.GType, Glade.WidgetInfo, System.AsyncCallback, System.Object)" attrib="454" returntype="System.IAsyncResult">
|
<method name="BeginInvoke(Glade.XML, GLib.GType, Glade.WidgetInfo, System.AsyncCallback, System.Object)" attrib="454" virtual="true" returntype="System.IAsyncResult">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="xml" position="0" attrib="0" type="Glade.XML" />
|
<parameter name="xml" position="0" attrib="0" type="Glade.XML" />
|
||||||
<parameter name="widget_type" position="1" attrib="0" type="GLib.GType" />
|
<parameter name="widget_type" position="1" attrib="0" type="GLib.GType" />
|
||||||
|
@ -413,12 +413,12 @@
|
||||||
<parameter name="object" position="4" attrib="0" type="System.Object" />
|
<parameter name="object" position="4" attrib="0" type="System.Object" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="EndInvoke(System.IAsyncResult)" attrib="454" returntype="Gtk.Widget">
|
<method name="EndInvoke(System.IAsyncResult)" attrib="454" virtual="true" returntype="Gtk.Widget">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="result" position="0" attrib="0" type="System.IAsyncResult" />
|
<parameter name="result" position="0" attrib="0" type="System.IAsyncResult" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="Invoke(Glade.XML, GLib.GType, Glade.WidgetInfo)" attrib="454" returntype="Gtk.Widget">
|
<method name="Invoke(Glade.XML, GLib.GType, Glade.WidgetInfo)" attrib="454" virtual="true" returntype="Gtk.Widget">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="xml" position="0" attrib="0" type="Glade.XML" />
|
<parameter name="xml" position="0" attrib="0" type="Glade.XML" />
|
||||||
<parameter name="widget_type" position="1" attrib="0" type="GLib.GType" />
|
<parameter name="widget_type" position="1" attrib="0" type="GLib.GType" />
|
||||||
|
@ -429,18 +429,18 @@
|
||||||
</class>
|
</class>
|
||||||
<class name="Parser" type="class" base="System.Object" charset="Ansi" layout="Auto">
|
<class name="Parser" type="class" base="System.Object" charset="Ansi" layout="Auto">
|
||||||
<constructors>
|
<constructors>
|
||||||
<constructor name=".ctor()" attrib="6278">
|
<constructor name=".ctor()" attrib="2182">
|
||||||
<parameters />
|
<parameters />
|
||||||
</constructor>
|
</constructor>
|
||||||
</constructors>
|
</constructors>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="ParseBuffer(System.String, System.String)" attrib="150" returntype="Glade.Interface">
|
<method name="ParseBuffer(System.String, System.String)" attrib="150" static="true" returntype="Glade.Interface">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="buffer" position="0" attrib="0" type="System.String" />
|
<parameter name="buffer" position="0" attrib="0" type="System.String" />
|
||||||
<parameter name="domain" position="1" attrib="0" type="System.String" />
|
<parameter name="domain" position="1" attrib="0" type="System.String" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseFile(System.String, System.String)" attrib="150" returntype="Glade.Interface">
|
<method name="ParseFile(System.String, System.String)" attrib="150" static="true" returntype="Glade.Interface">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="file" position="0" attrib="0" type="System.String" />
|
<parameter name="file" position="0" attrib="0" type="System.String" />
|
||||||
<parameter name="domain" position="1" attrib="0" type="System.String" />
|
<parameter name="domain" position="1" attrib="0" type="System.String" />
|
||||||
|
@ -455,7 +455,7 @@
|
||||||
<field name="Zero" attrib="22" fieldtype="Glade.Property" />
|
<field name="Zero" attrib="22" fieldtype="Glade.Property" />
|
||||||
</fields>
|
</fields>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="New(System.IntPtr)" attrib="150" returntype="Glade.Property">
|
<method name="New(System.IntPtr)" attrib="150" static="true" returntype="Glade.Property">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="raw" position="0" attrib="0" type="System.IntPtr" />
|
<parameter name="raw" position="0" attrib="0" type="System.IntPtr" />
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -472,10 +472,10 @@
|
||||||
<properties>
|
<properties>
|
||||||
<property name="After" attrib="0" ptype="System.Boolean" params="">
|
<property name="After" attrib="0" ptype="System.Boolean" params="">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_After()" returntype="System.Boolean">
|
<method name="get_After()" attrib="2182" returntype="System.Boolean">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
<method name="set_After(System.Boolean)" returntype="System.Void">
|
<method name="set_After(System.Boolean)" attrib="2182" returntype="System.Void">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="value" position="0" attrib="0" type="System.Boolean" />
|
<parameter name="value" position="0" attrib="0" type="System.Boolean" />
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -484,7 +484,7 @@
|
||||||
</property>
|
</property>
|
||||||
</properties>
|
</properties>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="New(System.IntPtr)" attrib="150" returntype="Glade.SignalInfo">
|
<method name="New(System.IntPtr)" attrib="150" static="true" returntype="Glade.SignalInfo">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="raw" position="0" attrib="0" type="System.IntPtr" />
|
<parameter name="raw" position="0" attrib="0" type="System.IntPtr" />
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -493,19 +493,19 @@
|
||||||
</class>
|
</class>
|
||||||
<class name="Standard" type="class" base="System.Object" charset="Ansi" layout="Auto">
|
<class name="Standard" type="class" base="System.Object" charset="Ansi" layout="Auto">
|
||||||
<constructors>
|
<constructors>
|
||||||
<constructor name=".ctor()" attrib="6278">
|
<constructor name=".ctor()" attrib="2182">
|
||||||
<parameters />
|
<parameters />
|
||||||
</constructor>
|
</constructor>
|
||||||
</constructors>
|
</constructors>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="BuildChildren(Glade.XML, Gtk.Widget, Glade.WidgetInfo)" attrib="150" returntype="System.Void">
|
<method name="BuildChildren(Glade.XML, Gtk.Widget, Glade.WidgetInfo)" attrib="150" static="true" returntype="System.Void">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="self" position="0" attrib="0" type="Glade.XML" />
|
<parameter name="self" position="0" attrib="0" type="Glade.XML" />
|
||||||
<parameter name="parent" position="1" attrib="0" type="Gtk.Widget" />
|
<parameter name="parent" position="1" attrib="0" type="Gtk.Widget" />
|
||||||
<parameter name="info" position="2" attrib="0" type="Glade.WidgetInfo" />
|
<parameter name="info" position="2" attrib="0" type="Glade.WidgetInfo" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="BuildWidget(Glade.XML, GLib.GType, Glade.WidgetInfo)" attrib="150" returntype="Gtk.Widget">
|
<method name="BuildWidget(Glade.XML, GLib.GType, Glade.WidgetInfo)" attrib="150" static="true" returntype="Gtk.Widget">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="xml" position="0" attrib="0" type="Glade.XML" />
|
<parameter name="xml" position="0" attrib="0" type="Glade.XML" />
|
||||||
<parameter name="widget_type" position="1" attrib="0" type="GLib.GType" />
|
<parameter name="widget_type" position="1" attrib="0" type="GLib.GType" />
|
||||||
|
@ -528,10 +528,10 @@
|
||||||
<interface name="System.Runtime.InteropServices._Attribute" />
|
<interface name="System.Runtime.InteropServices._Attribute" />
|
||||||
</interfaces>
|
</interfaces>
|
||||||
<constructors>
|
<constructors>
|
||||||
<constructor name=".ctor()" attrib="6278">
|
<constructor name=".ctor()" attrib="2182">
|
||||||
<parameters />
|
<parameters />
|
||||||
</constructor>
|
</constructor>
|
||||||
<constructor name=".ctor(System.String)" attrib="6278">
|
<constructor name=".ctor(System.String)" attrib="2182">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="name" position="0" attrib="0" type="System.String" />
|
<parameter name="name" position="0" attrib="0" type="System.String" />
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -540,14 +540,14 @@
|
||||||
<properties>
|
<properties>
|
||||||
<property name="Name" attrib="0" ptype="System.String" params="">
|
<property name="Name" attrib="0" ptype="System.String" params="">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_Name()" returntype="System.String">
|
<method name="get_Name()" attrib="2182" returntype="System.String">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
</property>
|
</property>
|
||||||
<property name="Specified" attrib="0" ptype="System.Boolean" params="">
|
<property name="Specified" attrib="0" ptype="System.Boolean" params="">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_Specified()" returntype="System.Boolean">
|
<method name="get_Specified()" attrib="2182" returntype="System.Boolean">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
|
@ -570,63 +570,63 @@
|
||||||
<properties>
|
<properties>
|
||||||
<property name="accels" attrib="0" ptype="Glade.AccelInfo" params="">
|
<property name="accels" attrib="0" ptype="Glade.AccelInfo" params="">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_accels()" returntype="Glade.AccelInfo">
|
<method name="get_accels()" attrib="2182" returntype="Glade.AccelInfo">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
</property>
|
</property>
|
||||||
<property name="atk_actions" attrib="0" ptype="Glade.AtkActionInfo" params="">
|
<property name="atk_actions" attrib="0" ptype="Glade.AtkActionInfo" params="">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_atk_actions()" returntype="Glade.AtkActionInfo">
|
<method name="get_atk_actions()" attrib="2182" returntype="Glade.AtkActionInfo">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
</property>
|
</property>
|
||||||
<property name="atk_props" attrib="0" ptype="Glade.Property" params="">
|
<property name="atk_props" attrib="0" ptype="Glade.Property" params="">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_atk_props()" returntype="Glade.Property">
|
<method name="get_atk_props()" attrib="2182" returntype="Glade.Property">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
</property>
|
</property>
|
||||||
<property name="children" attrib="0" ptype="Glade.ChildInfo" params="">
|
<property name="children" attrib="0" ptype="Glade.ChildInfo" params="">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_children()" returntype="Glade.ChildInfo">
|
<method name="get_children()" attrib="2182" returntype="Glade.ChildInfo">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
</property>
|
</property>
|
||||||
<property name="parent" attrib="0" ptype="Glade.WidgetInfo" params="">
|
<property name="parent" attrib="0" ptype="Glade.WidgetInfo" params="">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_parent()" returntype="Glade.WidgetInfo">
|
<method name="get_parent()" attrib="2182" returntype="Glade.WidgetInfo">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
</property>
|
</property>
|
||||||
<property name="properties" attrib="0" ptype="Glade.Property" params="">
|
<property name="properties" attrib="0" ptype="Glade.Property" params="">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_properties()" returntype="Glade.Property">
|
<method name="get_properties()" attrib="2182" returntype="Glade.Property">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
</property>
|
</property>
|
||||||
<property name="relations" attrib="0" ptype="Glade.AtkRelationInfo" params="">
|
<property name="relations" attrib="0" ptype="Glade.AtkRelationInfo" params="">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_relations()" returntype="Glade.AtkRelationInfo">
|
<method name="get_relations()" attrib="2182" returntype="Glade.AtkRelationInfo">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
</property>
|
</property>
|
||||||
<property name="signals" attrib="0" ptype="Glade.SignalInfo" params="">
|
<property name="signals" attrib="0" ptype="Glade.SignalInfo" params="">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_signals()" returntype="Glade.SignalInfo">
|
<method name="get_signals()" attrib="2182" returntype="Glade.SignalInfo">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
</property>
|
</property>
|
||||||
</properties>
|
</properties>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="New(System.IntPtr)" attrib="150" returntype="Glade.WidgetInfo">
|
<method name="New(System.IntPtr)" attrib="150" static="true" returntype="Glade.WidgetInfo">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="raw" position="0" attrib="0" type="System.IntPtr" />
|
<parameter name="raw" position="0" attrib="0" type="System.IntPtr" />
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -646,20 +646,20 @@
|
||||||
<interface name="System.IDisposable" />
|
<interface name="System.IDisposable" />
|
||||||
</interfaces>
|
</interfaces>
|
||||||
<constructors>
|
<constructors>
|
||||||
<constructor name=".ctor(System.IO.Stream, System.String, System.String)" attrib="6278">
|
<constructor name=".ctor(System.IO.Stream, System.String, System.String)" attrib="2182">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="s" position="0" attrib="0" type="System.IO.Stream" />
|
<parameter name="s" position="0" attrib="0" type="System.IO.Stream" />
|
||||||
<parameter name="root" position="1" attrib="0" type="System.String" />
|
<parameter name="root" position="1" attrib="0" type="System.String" />
|
||||||
<parameter name="domain" position="2" attrib="0" type="System.String" />
|
<parameter name="domain" position="2" attrib="0" type="System.String" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</constructor>
|
</constructor>
|
||||||
<constructor name=".ctor(System.String, System.String)" attrib="6278">
|
<constructor name=".ctor(System.String, System.String)" attrib="2182">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="resource_name" position="0" attrib="0" type="System.String" />
|
<parameter name="resource_name" position="0" attrib="0" type="System.String" />
|
||||||
<parameter name="root" position="1" attrib="0" type="System.String" />
|
<parameter name="root" position="1" attrib="0" type="System.String" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</constructor>
|
</constructor>
|
||||||
<constructor name=".ctor(System.Reflection.Assembly, System.String, System.String, System.String)" attrib="6278">
|
<constructor name=".ctor(System.Reflection.Assembly, System.String, System.String, System.String)" attrib="2182">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="assembly" position="0" attrib="0" type="System.Reflection.Assembly" />
|
<parameter name="assembly" position="0" attrib="0" type="System.Reflection.Assembly" />
|
||||||
<parameter name="resource_name" position="1" attrib="0" type="System.String" />
|
<parameter name="resource_name" position="1" attrib="0" type="System.String" />
|
||||||
|
@ -667,7 +667,7 @@
|
||||||
<parameter name="domain" position="3" attrib="0" type="System.String" />
|
<parameter name="domain" position="3" attrib="0" type="System.String" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</constructor>
|
</constructor>
|
||||||
<constructor name=".ctor(System.String, System.Int32, System.String, System.String)" attrib="6278">
|
<constructor name=".ctor(System.String, System.Int32, System.String, System.String)" attrib="2182">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="buffer" position="0" attrib="0" type="System.String" />
|
<parameter name="buffer" position="0" attrib="0" type="System.String" />
|
||||||
<parameter name="size" position="1" attrib="0" type="System.Int32" />
|
<parameter name="size" position="1" attrib="0" type="System.Int32" />
|
||||||
|
@ -675,7 +675,7 @@
|
||||||
<parameter name="domain" position="3" attrib="0" type="System.String" />
|
<parameter name="domain" position="3" attrib="0" type="System.String" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</constructor>
|
</constructor>
|
||||||
<constructor name=".ctor(GLib.GType)" attrib="6276">
|
<constructor name=".ctor(GLib.GType)" attrib="2180">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="System.ObsoleteAttribute">
|
<attribute name="System.ObsoleteAttribute">
|
||||||
<properties>
|
<properties>
|
||||||
|
@ -688,12 +688,12 @@
|
||||||
<parameter name="gtype" position="0" attrib="0" type="GLib.GType" />
|
<parameter name="gtype" position="0" attrib="0" type="GLib.GType" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</constructor>
|
</constructor>
|
||||||
<constructor name=".ctor(System.IntPtr)" attrib="6278">
|
<constructor name=".ctor(System.IntPtr)" attrib="2182">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="raw" position="0" attrib="0" type="System.IntPtr" />
|
<parameter name="raw" position="0" attrib="0" type="System.IntPtr" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</constructor>
|
</constructor>
|
||||||
<constructor name=".ctor(System.String, System.String, System.String)" attrib="6278">
|
<constructor name=".ctor(System.String, System.String, System.String)" attrib="2182">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="fname" position="0" attrib="0" type="System.String" />
|
<parameter name="fname" position="0" attrib="0" type="System.String" />
|
||||||
<parameter name="root" position="1" attrib="0" type="System.String" />
|
<parameter name="root" position="1" attrib="0" type="System.String" />
|
||||||
|
@ -704,7 +704,7 @@
|
||||||
<properties>
|
<properties>
|
||||||
<property name="CustomHandler" attrib="0" ptype="Glade.XMLCustomWidgetHandler" params="Glade.XMLCustomWidgetHandler">
|
<property name="CustomHandler" attrib="0" ptype="Glade.XMLCustomWidgetHandler" params="Glade.XMLCustomWidgetHandler">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="set_CustomHandler(Glade.XMLCustomWidgetHandler)" returntype="System.Void">
|
<method name="set_CustomHandler(Glade.XMLCustomWidgetHandler)" attrib="2198" static="true" returntype="System.Void">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="value" position="0" attrib="0" type="Glade.XMLCustomWidgetHandler" />
|
<parameter name="value" position="0" attrib="0" type="Glade.XMLCustomWidgetHandler" />
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -713,21 +713,21 @@
|
||||||
</property>
|
</property>
|
||||||
<property name="Filename" attrib="0" ptype="System.String" params="">
|
<property name="Filename" attrib="0" ptype="System.String" params="">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_Filename()" returntype="System.String">
|
<method name="get_Filename()" attrib="2182" returntype="System.String">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
</property>
|
</property>
|
||||||
<property name="GType" attrib="0" ptype="GLib.GType" params="">
|
<property name="GType" attrib="0" ptype="GLib.GType" params="">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_GType()" returntype="GLib.GType">
|
<method name="get_GType()" attrib="2198" static="true" returntype="GLib.GType">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
</property>
|
</property>
|
||||||
<property name="Item" attrib="0" ptype="Gtk.Widget" params="System.String">
|
<property name="Item" attrib="0" ptype="Gtk.Widget" params="System.String">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_Item(System.String)" returntype="Gtk.Widget">
|
<method name="get_Item(System.String)" attrib="2182" returntype="Gtk.Widget">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="name" position="0" attrib="0" type="System.String" />
|
<parameter name="name" position="0" attrib="0" type="System.String" />
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -736,7 +736,7 @@
|
||||||
</property>
|
</property>
|
||||||
<property name="Toplevel" attrib="0" ptype="Gtk.Window" params="Gtk.Window">
|
<property name="Toplevel" attrib="0" ptype="Gtk.Window" params="Gtk.Window">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="set_Toplevel(Gtk.Window)" returntype="System.Void">
|
<method name="set_Toplevel(Gtk.Window)" attrib="2182" returntype="System.Void">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="value" position="0" attrib="0" type="Gtk.Window" />
|
<parameter name="value" position="0" attrib="0" type="Gtk.Window" />
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -780,10 +780,10 @@
|
||||||
<method name="EnsureAccel()" attrib="134" returntype="Gtk.AccelGroup">
|
<method name="EnsureAccel()" attrib="134" returntype="Gtk.AccelGroup">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
<method name="Finalize()" attrib="196" returntype="System.Void">
|
<method name="Finalize()" attrib="196" virtual="true" returntype="System.Void">
|
||||||
<parameters />
|
<parameters />
|
||||||
</method>
|
</method>
|
||||||
<method name="FromAssembly(System.Reflection.Assembly, System.String, System.String, System.String)" attrib="150" returntype="Glade.XML">
|
<method name="FromAssembly(System.Reflection.Assembly, System.String, System.String, System.String)" attrib="150" static="true" returntype="Glade.XML">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="assembly" position="0" attrib="0" type="System.Reflection.Assembly" />
|
<parameter name="assembly" position="0" attrib="0" type="System.Reflection.Assembly" />
|
||||||
<parameter name="resource_name" position="1" attrib="0" type="System.String" />
|
<parameter name="resource_name" position="1" attrib="0" type="System.String" />
|
||||||
|
@ -791,14 +791,14 @@
|
||||||
<parameter name="domain" position="3" attrib="0" type="System.String" />
|
<parameter name="domain" position="3" attrib="0" type="System.String" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="FromAssembly(System.String, System.String, System.String)" attrib="150" returntype="Glade.XML">
|
<method name="FromAssembly(System.String, System.String, System.String)" attrib="150" static="true" returntype="Glade.XML">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="resource_name" position="0" attrib="0" type="System.String" />
|
<parameter name="resource_name" position="0" attrib="0" type="System.String" />
|
||||||
<parameter name="root" position="1" attrib="0" type="System.String" />
|
<parameter name="root" position="1" attrib="0" type="System.String" />
|
||||||
<parameter name="domain" position="2" attrib="0" type="System.String" />
|
<parameter name="domain" position="2" attrib="0" type="System.String" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="FromStream(System.IO.Stream, System.String, System.String)" attrib="150" returntype="Glade.XML">
|
<method name="FromStream(System.IO.Stream, System.String, System.String)" attrib="150" static="true" returntype="Glade.XML">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="stream" position="0" attrib="0" type="System.IO.Stream" />
|
<parameter name="stream" position="0" attrib="0" type="System.IO.Stream" />
|
||||||
<parameter name="root" position="1" attrib="0" type="System.String" />
|
<parameter name="root" position="1" attrib="0" type="System.String" />
|
||||||
|
@ -810,7 +810,7 @@
|
||||||
<parameter name="name" position="0" attrib="0" type="System.String" />
|
<parameter name="name" position="0" attrib="0" type="System.String" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="GetWidgetName(Gtk.Widget)" attrib="150" returntype="System.String">
|
<method name="GetWidgetName(Gtk.Widget)" attrib="150" static="true" returntype="System.String">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="w" position="0" attrib="0" type="Gtk.Widget" />
|
<parameter name="w" position="0" attrib="0" type="Gtk.Widget" />
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -820,7 +820,7 @@
|
||||||
<parameter name="name" position="0" attrib="0" type="System.String" />
|
<parameter name="name" position="0" attrib="0" type="System.String" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="GetWidgetTree(Gtk.Widget)" attrib="150" returntype="Glade.XML">
|
<method name="GetWidgetTree(Gtk.Widget)" attrib="150" static="true" returntype="Glade.XML">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="w" position="0" attrib="0" type="Gtk.Widget" />
|
<parameter name="w" position="0" attrib="0" type="Gtk.Widget" />
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -849,7 +849,7 @@
|
||||||
<parameter name="info" position="1" attrib="0" type="Glade.WidgetInfo" />
|
<parameter name="info" position="1" attrib="0" type="Glade.WidgetInfo" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="SetCustomHandler(Glade.XMLCustomWidgetHandler)" attrib="150" returntype="System.Void">
|
<method name="SetCustomHandler(Glade.XMLCustomWidgetHandler)" attrib="150" static="true" returntype="System.Void">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="System.ObsoleteAttribute">
|
<attribute name="System.ObsoleteAttribute">
|
||||||
<properties>
|
<properties>
|
||||||
|
@ -899,7 +899,7 @@
|
||||||
<interface name="System.Runtime.Serialization.ISerializable" />
|
<interface name="System.Runtime.Serialization.ISerializable" />
|
||||||
</interfaces>
|
</interfaces>
|
||||||
<constructors>
|
<constructors>
|
||||||
<constructor name=".ctor(System.Object, System.IntPtr)" attrib="6278">
|
<constructor name=".ctor(System.Object, System.IntPtr)" attrib="2182">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="object" position="0" attrib="0" type="System.Object" />
|
<parameter name="object" position="0" attrib="0" type="System.Object" />
|
||||||
<parameter name="method" position="1" attrib="0" type="System.IntPtr" />
|
<parameter name="method" position="1" attrib="0" type="System.IntPtr" />
|
||||||
|
@ -907,7 +907,7 @@
|
||||||
</constructor>
|
</constructor>
|
||||||
</constructors>
|
</constructors>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="BeginInvoke(System.String, GLib.Object, System.String, System.String, GLib.Object, System.Boolean, System.AsyncCallback, System.Object)" attrib="454" returntype="System.IAsyncResult">
|
<method name="BeginInvoke(System.String, GLib.Object, System.String, System.String, GLib.Object, System.Boolean, System.AsyncCallback, System.Object)" attrib="454" virtual="true" returntype="System.IAsyncResult">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="handler_name" position="0" attrib="0" type="System.String" />
|
<parameter name="handler_name" position="0" attrib="0" type="System.String" />
|
||||||
<parameter name="objekt" position="1" attrib="0" type="GLib.Object" />
|
<parameter name="objekt" position="1" attrib="0" type="GLib.Object" />
|
||||||
|
@ -919,12 +919,12 @@
|
||||||
<parameter name="object" position="7" attrib="0" type="System.Object" />
|
<parameter name="object" position="7" attrib="0" type="System.Object" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="EndInvoke(System.IAsyncResult)" attrib="454" returntype="System.Void">
|
<method name="EndInvoke(System.IAsyncResult)" attrib="454" virtual="true" returntype="System.Void">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="result" position="0" attrib="0" type="System.IAsyncResult" />
|
<parameter name="result" position="0" attrib="0" type="System.IAsyncResult" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="Invoke(System.String, GLib.Object, System.String, System.String, GLib.Object, System.Boolean)" attrib="454" returntype="System.Void">
|
<method name="Invoke(System.String, GLib.Object, System.String, System.String, GLib.Object, System.Boolean)" attrib="454" virtual="true" returntype="System.Void">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="handler_name" position="0" attrib="0" type="System.String" />
|
<parameter name="handler_name" position="0" attrib="0" type="System.String" />
|
||||||
<parameter name="objekt" position="1" attrib="0" type="GLib.Object" />
|
<parameter name="objekt" position="1" attrib="0" type="GLib.Object" />
|
||||||
|
@ -942,7 +942,7 @@
|
||||||
<interface name="System.Runtime.Serialization.ISerializable" />
|
<interface name="System.Runtime.Serialization.ISerializable" />
|
||||||
</interfaces>
|
</interfaces>
|
||||||
<constructors>
|
<constructors>
|
||||||
<constructor name=".ctor(System.Object, System.IntPtr)" attrib="6278">
|
<constructor name=".ctor(System.Object, System.IntPtr)" attrib="2182">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="object" position="0" attrib="0" type="System.Object" />
|
<parameter name="object" position="0" attrib="0" type="System.Object" />
|
||||||
<parameter name="method" position="1" attrib="0" type="System.IntPtr" />
|
<parameter name="method" position="1" attrib="0" type="System.IntPtr" />
|
||||||
|
@ -950,7 +950,7 @@
|
||||||
</constructor>
|
</constructor>
|
||||||
</constructors>
|
</constructors>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="BeginInvoke(Glade.XML, System.String, System.String, System.String, System.String, System.Int32, System.Int32, System.AsyncCallback, System.Object)" attrib="454" returntype="System.IAsyncResult">
|
<method name="BeginInvoke(Glade.XML, System.String, System.String, System.String, System.String, System.Int32, System.Int32, System.AsyncCallback, System.Object)" attrib="454" virtual="true" returntype="System.IAsyncResult">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="xml" position="0" attrib="0" type="Glade.XML" />
|
<parameter name="xml" position="0" attrib="0" type="Glade.XML" />
|
||||||
<parameter name="func_name" position="1" attrib="0" type="System.String" />
|
<parameter name="func_name" position="1" attrib="0" type="System.String" />
|
||||||
|
@ -963,12 +963,12 @@
|
||||||
<parameter name="object" position="8" attrib="0" type="System.Object" />
|
<parameter name="object" position="8" attrib="0" type="System.Object" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="EndInvoke(System.IAsyncResult)" attrib="454" returntype="Gtk.Widget">
|
<method name="EndInvoke(System.IAsyncResult)" attrib="454" virtual="true" returntype="Gtk.Widget">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="result" position="0" attrib="0" type="System.IAsyncResult" />
|
<parameter name="result" position="0" attrib="0" type="System.IAsyncResult" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="Invoke(Glade.XML, System.String, System.String, System.String, System.String, System.Int32, System.Int32)" attrib="454" returntype="Gtk.Widget">
|
<method name="Invoke(Glade.XML, System.String, System.String, System.String, System.String, System.Int32, System.Int32)" attrib="454" virtual="true" returntype="Gtk.Widget">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="xml" position="0" attrib="0" type="Glade.XML" />
|
<parameter name="xml" position="0" attrib="0" type="Glade.XML" />
|
||||||
<parameter name="func_name" position="1" attrib="0" type="System.String" />
|
<parameter name="func_name" position="1" attrib="0" type="System.String" />
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -18,13 +18,13 @@
|
||||||
<classes>
|
<classes>
|
||||||
<class name="Graphics" type="class" base="System.Object" charset="Ansi" layout="Auto">
|
<class name="Graphics" type="class" base="System.Object" charset="Ansi" layout="Auto">
|
||||||
<methods>
|
<methods>
|
||||||
<method name="FromDrawable(Gdk.Drawable, System.Boolean)" attrib="150" returntype="System.Drawing.Graphics">
|
<method name="FromDrawable(Gdk.Drawable, System.Boolean)" attrib="150" static="true" returntype="System.Drawing.Graphics">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="drawable" position="0" attrib="0" type="Gdk.Drawable" />
|
<parameter name="drawable" position="0" attrib="0" type="Gdk.Drawable" />
|
||||||
<parameter name="double_buffered" position="1" attrib="0" type="System.Boolean" />
|
<parameter name="double_buffered" position="1" attrib="0" type="System.Boolean" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="FromDrawable(Gdk.Drawable)" attrib="150" returntype="System.Drawing.Graphics">
|
<method name="FromDrawable(Gdk.Drawable)" attrib="150" static="true" returntype="System.Drawing.Graphics">
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="drawable" position="0" attrib="0" type="Gdk.Drawable" />
|
<parameter name="drawable" position="0" attrib="0" type="Gdk.Drawable" />
|
||||||
</parameters>
|
</parameters>
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -56,7 +56,7 @@ namespace GtkSharp.Auditing {
|
||||||
else if (node.ParentNode.ParentNode.Name == "class")
|
else if (node.ParentNode.ParentNode.Name == "class")
|
||||||
Console.WriteLine ("Missing " + node.Name + " " + (node.ParentNode.ParentNode as XmlElement).GetAttribute ("name") + "." + node.GetAttribute ("name"));
|
Console.WriteLine ("Missing " + node.Name + " " + (node.ParentNode.ParentNode as XmlElement).GetAttribute ("name") + "." + node.GetAttribute ("name"));
|
||||||
else
|
else
|
||||||
Console.WriteLine ("oopsie: " + node.Name);
|
Console.WriteLine ("oopsie: " + node.Name + " " + node.ParentNode.ParentNode.Name);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -292,7 +292,8 @@ namespace Mono.AssemblyCompare
|
||||||
string name = n.Attributes ["name"].Value;
|
string name = n.Attributes ["name"].Value;
|
||||||
if (CheckIfAdd (name, n)) {
|
if (CheckIfAdd (name, n)) {
|
||||||
string key = GetNodeKey (name, n);
|
string key = GetNodeKey (name, n);
|
||||||
keys.Add (key, name);
|
//keys.Add (key, name);
|
||||||
|
keys [key] = name;
|
||||||
LoadExtraData (key, n);
|
LoadExtraData (key, n);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -628,6 +629,7 @@ namespace Mono.AssemblyCompare
|
||||||
string layout;
|
string layout;
|
||||||
XMLAttributes attributes;
|
XMLAttributes attributes;
|
||||||
XMLInterfaces interfaces;
|
XMLInterfaces interfaces;
|
||||||
|
XMLGenericTypeConstraints genericConstraints;
|
||||||
XMLFields fields;
|
XMLFields fields;
|
||||||
XMLConstructors constructors;
|
XMLConstructors constructors;
|
||||||
XMLProperties properties;
|
XMLProperties properties;
|
||||||
|
@ -681,6 +683,12 @@ namespace Mono.AssemblyCompare
|
||||||
child = child.NextSibling;
|
child = child.NextSibling;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (child != null && child.Name == "generic-type-constraints") {
|
||||||
|
genericConstraints = new XMLGenericTypeConstraints ();
|
||||||
|
genericConstraints.LoadData (child);
|
||||||
|
child = child.NextSibling;
|
||||||
|
}
|
||||||
|
|
||||||
if (child != null && child.Name == "fields") {
|
if (child != null && child.Name == "fields") {
|
||||||
fields = new XMLFields ();
|
fields = new XMLFields ();
|
||||||
fields.LoadData (child);
|
fields.LoadData (child);
|
||||||
|
@ -775,6 +783,14 @@ namespace Mono.AssemblyCompare
|
||||||
counters.AddPartialToPartial (interfaces.Counters);
|
counters.AddPartialToPartial (interfaces.Counters);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (genericConstraints != null || oclass.genericConstraints != null) {
|
||||||
|
if (genericConstraints == null)
|
||||||
|
genericConstraints = new XMLGenericTypeConstraints ();
|
||||||
|
|
||||||
|
genericConstraints.CompareTo (doc, parent, oclass.genericConstraints);
|
||||||
|
counters.AddPartialToPartial (genericConstraints.Counters);
|
||||||
|
}
|
||||||
|
|
||||||
if (fields != null || oclass.fields != null) {
|
if (fields != null || oclass.fields != null) {
|
||||||
if (fields == null)
|
if (fields == null)
|
||||||
fields = new XMLFields ();
|
fields = new XMLFields ();
|
||||||
|
@ -1077,15 +1093,45 @@ namespace Mono.AssemblyCompare
|
||||||
|
|
||||||
public override string GetNodeKey (string name, XmlNode node)
|
public override string GetNodeKey (string name, XmlNode node)
|
||||||
{
|
{
|
||||||
string target = string.Empty;
|
string key = null;
|
||||||
if (node.Attributes["target"] != null)
|
|
||||||
target = node.Attributes["target"].Value;
|
// if multiple attributes with the same name (type) exist, then we
|
||||||
int i = 0;
|
// cannot be sure which attributes correspond, so we must use the
|
||||||
while (keys.ContainsKey (name)) {
|
// name of the attribute (type) and the name/value of its properties
|
||||||
name = String.Format ("{0} [{1}]:{1}", name, target, i++);
|
// as key
|
||||||
|
|
||||||
|
XmlNodeList attributes = node.ParentNode.SelectNodes("attribute[@name='" + name + "']");
|
||||||
|
if (attributes.Count > 1) {
|
||||||
|
ArrayList keyParts = new ArrayList ();
|
||||||
|
|
||||||
|
XmlNodeList properties = node.SelectNodes ("properties/property");
|
||||||
|
foreach (XmlNode property in properties) {
|
||||||
|
XmlAttributeCollection attrs = property.Attributes;
|
||||||
|
if (attrs["value"] != null) {
|
||||||
|
keyParts.Add (attrs["name"].Value + "=" + attrs["value"].Value);
|
||||||
|
} else {
|
||||||
|
keyParts.Add (attrs["name"].Value + "=");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// sort properties by name, as order of properties in XML is
|
||||||
|
// undefined
|
||||||
|
keyParts.Sort ();
|
||||||
|
|
||||||
|
// insert name (type) of attribute
|
||||||
|
keyParts.Insert (0, name);
|
||||||
|
|
||||||
|
StringBuilder sb = new StringBuilder ();
|
||||||
|
foreach (string value in keyParts) {
|
||||||
|
sb.Append (value);
|
||||||
|
sb.Append (';');
|
||||||
|
}
|
||||||
|
key = sb.ToString ();
|
||||||
|
} else {
|
||||||
|
key = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
return name;
|
return key;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void LoadExtraData(string name, XmlNode node)
|
protected override void LoadExtraData(string name, XmlNode node)
|
||||||
|
@ -1108,7 +1154,6 @@ namespace Mono.AssemblyCompare
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override string GroupName {
|
public override string GroupName {
|
||||||
get { return "attributes"; }
|
get { return "attributes"; }
|
||||||
}
|
}
|
||||||
|
@ -1137,6 +1182,47 @@ namespace Mono.AssemblyCompare
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
abstract class XMLGenericGroup : XMLNameGroup
|
||||||
|
{
|
||||||
|
string attributes;
|
||||||
|
|
||||||
|
protected override void LoadExtraData (string name, XmlNode node)
|
||||||
|
{
|
||||||
|
attributes = ((XmlElement) node).GetAttribute ("generic-attribute");
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void CompareToInner (string name, XmlNode parent, XMLNameGroup other)
|
||||||
|
{
|
||||||
|
base.CompareToInner (name, parent, other);
|
||||||
|
|
||||||
|
XMLGenericGroup g = (XMLGenericGroup) other;
|
||||||
|
if (attributes != g.attributes)
|
||||||
|
AddWarning (parent, "Incorrect generic attributes: '{0}' != '{1}'", attributes, g.attributes);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class XMLGenericTypeConstraints : XMLGenericGroup
|
||||||
|
{
|
||||||
|
public override string GroupName {
|
||||||
|
get { return "generic-type-constraints"; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Name {
|
||||||
|
get { return "generic-type-constraint"; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class XMLGenericMethodConstraints : XMLGenericGroup
|
||||||
|
{
|
||||||
|
public override string GroupName {
|
||||||
|
get { return "generic-method-constraints"; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Name {
|
||||||
|
get { return "generic-method-constraint"; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
abstract class XMLMember : XMLNameGroup
|
abstract class XMLMember : XMLNameGroup
|
||||||
{
|
{
|
||||||
Hashtable attributeMap;
|
Hashtable attributeMap;
|
||||||
|
@ -1194,9 +1280,6 @@ namespace Mono.AssemblyCompare
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!CheckAttributes)
|
|
||||||
return;
|
|
||||||
|
|
||||||
XMLMember member = (XMLMember) other;
|
XMLMember member = (XMLMember) other;
|
||||||
string acc = access [name] as string;
|
string acc = access [name] as string;
|
||||||
if (acc == null)
|
if (acc == null)
|
||||||
|
@ -1219,12 +1302,6 @@ namespace Mono.AssemblyCompare
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual bool CheckAttributes {
|
|
||||||
get {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class XMLFields : XMLMember
|
class XMLFields : XMLMember
|
||||||
|
@ -1283,14 +1360,6 @@ namespace Mono.AssemblyCompare
|
||||||
return fa.ToString ();
|
return fa.ToString ();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override bool CheckAttributes {
|
|
||||||
get {
|
|
||||||
// FIXME: set this to true once bugs #60086 and
|
|
||||||
// #60090 are fixed
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public override string GroupName {
|
public override string GroupName {
|
||||||
get { return "fields"; }
|
get { return "fields"; }
|
||||||
}
|
}
|
||||||
|
@ -1513,6 +1582,17 @@ namespace Mono.AssemblyCompare
|
||||||
{
|
{
|
||||||
Hashtable returnTypes;
|
Hashtable returnTypes;
|
||||||
Hashtable parameters;
|
Hashtable parameters;
|
||||||
|
Hashtable genericConstraints;
|
||||||
|
Hashtable signatureFlags;
|
||||||
|
|
||||||
|
[Flags]
|
||||||
|
enum SignatureFlags
|
||||||
|
{
|
||||||
|
None = 0,
|
||||||
|
Abstract = 1,
|
||||||
|
Virtual = 2,
|
||||||
|
Static = 4
|
||||||
|
}
|
||||||
|
|
||||||
protected override void LoadExtraData (string name, XmlNode node)
|
protected override void LoadExtraData (string name, XmlNode node)
|
||||||
{
|
{
|
||||||
|
@ -1524,6 +1604,19 @@ namespace Mono.AssemblyCompare
|
||||||
returnTypes [name] = xatt.Value;
|
returnTypes [name] = xatt.Value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SignatureFlags flags = SignatureFlags.None;
|
||||||
|
if (((XmlElement) node).GetAttribute ("abstract") == "true")
|
||||||
|
flags |= SignatureFlags.Abstract;
|
||||||
|
if (((XmlElement) node).GetAttribute ("static") == "true")
|
||||||
|
flags |= SignatureFlags.Static;
|
||||||
|
if (((XmlElement) node).GetAttribute ("virtual") == "true")
|
||||||
|
flags |= SignatureFlags.Virtual;
|
||||||
|
if (flags != SignatureFlags.None) {
|
||||||
|
if (signatureFlags == null)
|
||||||
|
signatureFlags = new Hashtable ();
|
||||||
|
signatureFlags [name] = flags;
|
||||||
|
}
|
||||||
|
|
||||||
XmlNode parametersNode = node.SelectSingleNode ("parameters");
|
XmlNode parametersNode = node.SelectSingleNode ("parameters");
|
||||||
if (parametersNode != null) {
|
if (parametersNode != null) {
|
||||||
if (parameters == null)
|
if (parameters == null)
|
||||||
|
@ -1535,6 +1628,15 @@ namespace Mono.AssemblyCompare
|
||||||
parameters[name] = parms;
|
parameters[name] = parms;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
XmlNode genericNode = node.SelectSingleNode ("generic-method-constraints");
|
||||||
|
if (genericNode != null) {
|
||||||
|
if (genericConstraints == null)
|
||||||
|
genericConstraints = new Hashtable ();
|
||||||
|
XMLGenericMethodConstraints csts = new XMLGenericMethodConstraints ();
|
||||||
|
csts.LoadData (genericNode);
|
||||||
|
genericConstraints [name] = csts;
|
||||||
|
}
|
||||||
|
|
||||||
base.LoadExtraData (name, node);
|
base.LoadExtraData (name, node);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1548,6 +1650,25 @@ namespace Mono.AssemblyCompare
|
||||||
try {
|
try {
|
||||||
base.CompareToInner(name, parent, other);
|
base.CompareToInner(name, parent, other);
|
||||||
XMLMethods methods = (XMLMethods) other;
|
XMLMethods methods = (XMLMethods) other;
|
||||||
|
|
||||||
|
SignatureFlags flags = signatureFlags != null &&
|
||||||
|
signatureFlags.ContainsKey (name) ?
|
||||||
|
(SignatureFlags) signatureFlags [name] :
|
||||||
|
SignatureFlags.None;
|
||||||
|
SignatureFlags oflags = methods.signatureFlags != null &&
|
||||||
|
methods.signatureFlags.ContainsKey (name) ?
|
||||||
|
(SignatureFlags) methods.signatureFlags [name] :
|
||||||
|
SignatureFlags.None;
|
||||||
|
|
||||||
|
if (flags!= oflags) {
|
||||||
|
if (flags == SignatureFlags.None)
|
||||||
|
AddWarning (parent, String.Format ("should not be {0}", oflags));
|
||||||
|
else if (oflags == SignatureFlags.None)
|
||||||
|
AddWarning (parent, String.Format ("should be {0}", flags));
|
||||||
|
else
|
||||||
|
AddWarning (parent, String.Format ("{0} and should be {1}", oflags, flags));
|
||||||
|
}
|
||||||
|
|
||||||
if (returnTypes != null) {
|
if (returnTypes != null) {
|
||||||
string rtype = returnTypes[name] as string;
|
string rtype = returnTypes[name] as string;
|
||||||
string ortype = null;
|
string ortype = null;
|
||||||
|
@ -1577,6 +1698,12 @@ namespace Mono.AssemblyCompare
|
||||||
protected override string ConvertToString (int att)
|
protected override string ConvertToString (int att)
|
||||||
{
|
{
|
||||||
MethodAttributes ma = (MethodAttributes) att;
|
MethodAttributes ma = (MethodAttributes) att;
|
||||||
|
// ignore ReservedMasks
|
||||||
|
ma &= ~ MethodAttributes.ReservedMask;
|
||||||
|
ma &= ~ MethodAttributes.VtableLayoutMask;
|
||||||
|
if ((ma & MethodAttributes.FamORAssem) != 0)
|
||||||
|
ma = (ma & ~ MethodAttributes.FamORAssem) | MethodAttributes.Family;
|
||||||
|
|
||||||
// ignore the HasSecurity attribute for now
|
// ignore the HasSecurity attribute for now
|
||||||
if ((ma & MethodAttributes.HasSecurity) != 0)
|
if ((ma & MethodAttributes.HasSecurity) != 0)
|
||||||
ma = (MethodAttributes) (att - (int) MethodAttributes.HasSecurity);
|
ma = (MethodAttributes) (att - (int) MethodAttributes.HasSecurity);
|
||||||
|
@ -1592,14 +1719,6 @@ namespace Mono.AssemblyCompare
|
||||||
return ma.ToString ();
|
return ma.ToString ();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override bool CheckAttributes {
|
|
||||||
get {
|
|
||||||
// FIXME: set this to true once bugs #60086 and
|
|
||||||
// #60090 are fixed
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public override string GroupName {
|
public override string GroupName {
|
||||||
get { return "methods"; }
|
get { return "methods"; }
|
||||||
}
|
}
|
||||||
|
|
|
@ -265,7 +265,7 @@ namespace Mono.AssemblyInfo
|
||||||
AddAttribute (nclass, "type", classType);
|
AddAttribute (nclass, "type", classType);
|
||||||
|
|
||||||
if (type.BaseType != null)
|
if (type.BaseType != null)
|
||||||
AddAttribute (nclass, "base", type.BaseType.FullName);
|
AddAttribute (nclass, "base", type.BaseType.ToString ());
|
||||||
|
|
||||||
if (type.IsSealed)
|
if (type.IsSealed)
|
||||||
AddAttribute (nclass, "sealed", "true");
|
AddAttribute (nclass, "sealed", "true");
|
||||||
|
@ -297,11 +297,35 @@ namespace Mono.AssemblyInfo
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
XmlNode iface = document.CreateElement ("interface", null);
|
XmlNode iface = document.CreateElement ("interface", null);
|
||||||
AddAttribute (iface, "name", t.FullName);
|
AddAttribute (iface, "name", t.ToString ());
|
||||||
ifaces.AppendChild (iface);
|
ifaces.AppendChild (iface);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if NET_2_0
|
||||||
|
// Generic constraints
|
||||||
|
Type [] gargs = type.GetGenericArguments ();
|
||||||
|
XmlElement ngeneric = (gargs.Length == 0) ? null :
|
||||||
|
document.CreateElement ("generic-type-constraints");
|
||||||
|
foreach (Type garg in gargs) {
|
||||||
|
Type [] csts = garg.GetGenericParameterConstraints ();
|
||||||
|
if (csts.Length == 0 || csts [0] == typeof (object))
|
||||||
|
continue;
|
||||||
|
XmlElement el = document.CreateElement ("generic-type-constraint");
|
||||||
|
el.SetAttribute ("name", garg.ToString ());
|
||||||
|
el.SetAttribute ("generic-attribute",
|
||||||
|
garg.GenericParameterAttributes.ToString ());
|
||||||
|
ngeneric.AppendChild (el);
|
||||||
|
foreach (Type ct in csts) {
|
||||||
|
XmlElement cel = document.CreateElement ("type");
|
||||||
|
cel.AppendChild (document.CreateTextNode (ct.FullName));
|
||||||
|
el.AppendChild (cel);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (ngeneric != null && ngeneric.FirstChild != null)
|
||||||
|
nclass.AppendChild (ngeneric);
|
||||||
|
#endif
|
||||||
|
|
||||||
ArrayList members = new ArrayList ();
|
ArrayList members = new ArrayList ();
|
||||||
|
|
||||||
FieldInfo[] fields = GetFields (type);
|
FieldInfo[] fields = GetFields (type);
|
||||||
|
@ -310,7 +334,7 @@ namespace Mono.AssemblyInfo
|
||||||
FieldData fd = new FieldData (document, nclass, fields);
|
FieldData fd = new FieldData (document, nclass, fields);
|
||||||
// Special case for enum fields
|
// Special case for enum fields
|
||||||
if (classType == "enum") {
|
if (classType == "enum") {
|
||||||
string etype = fields [0].GetType ().FullName;
|
string etype = fields [0].GetType ().ToString ();
|
||||||
AddAttribute (nclass, "enumtype", etype);
|
AddAttribute (nclass, "enumtype", etype);
|
||||||
}
|
}
|
||||||
members.Add (fd);
|
members.Add (fd);
|
||||||
|
@ -541,7 +565,7 @@ namespace Mono.AssemblyInfo
|
||||||
{
|
{
|
||||||
base.AddExtraData (p, member);
|
base.AddExtraData (p, member);
|
||||||
FieldInfo field = (FieldInfo) member;
|
FieldInfo field = (FieldInfo) member;
|
||||||
AddAttribute (p, "fieldtype", field.FieldType.FullName);
|
AddAttribute (p, "fieldtype", field.FieldType.ToString ());
|
||||||
|
|
||||||
if (field.IsLiteral) {
|
if (field.IsLiteral) {
|
||||||
object value = field.GetValue (null);
|
object value = field.GetValue (null);
|
||||||
|
@ -586,7 +610,8 @@ namespace Mono.AssemblyInfo
|
||||||
{
|
{
|
||||||
base.AddExtraData (p, member);
|
base.AddExtraData (p, member);
|
||||||
PropertyInfo prop = (PropertyInfo) member;
|
PropertyInfo prop = (PropertyInfo) member;
|
||||||
AddAttribute (p, "ptype", prop.PropertyType.FullName);
|
Type t = prop.PropertyType;
|
||||||
|
AddAttribute (p, "ptype", prop.PropertyType.ToString ());
|
||||||
MethodInfo _get = prop.GetGetMethod (true);
|
MethodInfo _get = prop.GetGetMethod (true);
|
||||||
MethodInfo _set = prop.GetSetMethod (true);
|
MethodInfo _set = prop.GetSetMethod (true);
|
||||||
bool haveGet = (_get != null && TypeData.MustDocumentMethod(_get));
|
bool haveGet = (_get != null && TypeData.MustDocumentMethod(_get));
|
||||||
|
@ -608,14 +633,14 @@ namespace Mono.AssemblyInfo
|
||||||
AddAttribute (p, "params", parms);
|
AddAttribute (p, "params", parms);
|
||||||
|
|
||||||
MethodData data = new MethodData (document, p, methods);
|
MethodData data = new MethodData (document, p, methods);
|
||||||
data.NoMemberAttributes = true;
|
//data.NoMemberAttributes = true;
|
||||||
data.DoOutput ();
|
data.DoOutput ();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override string GetMemberAttributes (MemberInfo member)
|
protected override string GetMemberAttributes (MemberInfo member)
|
||||||
{
|
{
|
||||||
PropertyInfo prop = (PropertyInfo) member;
|
PropertyInfo prop = (PropertyInfo) member;
|
||||||
return ((int) prop.Attributes).ToString (CultureInfo.InvariantCulture);
|
return ((int) prop.Attributes & (0xFFFFFFFF ^ (int) PropertyAttributes.ReservedMask)).ToString (CultureInfo.InvariantCulture);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override string ParentTag {
|
public override string ParentTag {
|
||||||
|
@ -650,7 +675,7 @@ namespace Mono.AssemblyInfo
|
||||||
{
|
{
|
||||||
base.AddExtraData (p, member);
|
base.AddExtraData (p, member);
|
||||||
EventInfo evt = (EventInfo) member;
|
EventInfo evt = (EventInfo) member;
|
||||||
AddAttribute (p, "eventtype", evt.EventHandlerType.FullName);
|
AddAttribute (p, "eventtype", evt.EventHandlerType.ToString ());
|
||||||
}
|
}
|
||||||
|
|
||||||
public override string ParentTag {
|
public override string ParentTag {
|
||||||
|
@ -676,13 +701,47 @@ namespace Mono.AssemblyInfo
|
||||||
MethodBase method = (MethodBase) member;
|
MethodBase method = (MethodBase) member;
|
||||||
string name = method.Name;
|
string name = method.Name;
|
||||||
string parms = Parameters.GetSignature (method.GetParameters ());
|
string parms = Parameters.GetSignature (method.GetParameters ());
|
||||||
|
#if NET_2_0
|
||||||
|
MethodInfo mi = method as MethodInfo;
|
||||||
|
Type [] genArgs = mi == null ? Type.EmptyTypes :
|
||||||
|
mi.GetGenericArguments ();
|
||||||
|
if (genArgs.Length > 0) {
|
||||||
|
string [] genArgNames = new string [genArgs.Length];
|
||||||
|
for (int i = 0; i < genArgs.Length; i++) {
|
||||||
|
genArgNames [i] = genArgs [i].Name;
|
||||||
|
string genArgCsts = String.Empty;
|
||||||
|
Type [] gcs = genArgs [i].GetGenericParameterConstraints ();
|
||||||
|
if (gcs.Length > 0) {
|
||||||
|
string [] gcNames = new string [gcs.Length];
|
||||||
|
for (int g = 0; g < gcs.Length; g++)
|
||||||
|
gcNames [g] = gcs [g].FullName;
|
||||||
|
genArgCsts = String.Concat (
|
||||||
|
"(",
|
||||||
|
string.Join (", ", gcNames),
|
||||||
|
") ",
|
||||||
|
genArgNames [i]);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
genArgCsts = genArgNames [i];
|
||||||
|
if ((genArgs [i].GenericParameterAttributes & GenericParameterAttributes.ReferenceTypeConstraint) != 0)
|
||||||
|
genArgCsts = "class " + genArgCsts;
|
||||||
|
else if ((genArgs [i].GenericParameterAttributes & GenericParameterAttributes.NotNullableValueTypeConstraint) != 0)
|
||||||
|
genArgCsts = "struct " + genArgCsts;
|
||||||
|
genArgNames [i] = genArgCsts;
|
||||||
|
}
|
||||||
|
return String.Format ("{0}<{2}>({1})",
|
||||||
|
name,
|
||||||
|
parms,
|
||||||
|
string.Join (",", genArgNames));
|
||||||
|
}
|
||||||
|
#endif
|
||||||
return String.Format ("{0}({1})", name, parms);
|
return String.Format ("{0}({1})", name, parms);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override string GetMemberAttributes (MemberInfo member)
|
protected override string GetMemberAttributes (MemberInfo member)
|
||||||
{
|
{
|
||||||
MethodBase method = (MethodBase) member;
|
MethodBase method = (MethodBase) member;
|
||||||
return ((int) method.Attributes).ToString (CultureInfo.InvariantCulture);
|
return ((int)( method.Attributes & ~MethodAttributes.ReservedMask)).ToString (CultureInfo.InvariantCulture);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void AddExtraData (XmlNode p, MemberInfo member)
|
protected override void AddExtraData (XmlNode p, MemberInfo member)
|
||||||
|
@ -693,14 +752,50 @@ namespace Mono.AssemblyInfo
|
||||||
((MethodBase) member).GetParameters ());
|
((MethodBase) member).GetParameters ());
|
||||||
parms.DoOutput ();
|
parms.DoOutput ();
|
||||||
|
|
||||||
|
if (!(member is MethodBase))
|
||||||
|
return;
|
||||||
|
|
||||||
|
MethodBase mbase = (MethodBase) member;
|
||||||
|
|
||||||
|
if (mbase.IsAbstract)
|
||||||
|
AddAttribute (p, "abstract", "true");
|
||||||
|
if (mbase.IsVirtual)
|
||||||
|
AddAttribute (p, "virtual", "true");
|
||||||
|
if (mbase.IsStatic)
|
||||||
|
AddAttribute (p, "static", "true");
|
||||||
|
|
||||||
if (!(member is MethodInfo))
|
if (!(member is MethodInfo))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
MethodInfo method = (MethodInfo) member;
|
MethodInfo method = (MethodInfo) member;
|
||||||
AddAttribute (p, "returntype", method.ReturnType.FullName);
|
AddAttribute (p, "returntype", method.ReturnType.ToString ());
|
||||||
|
|
||||||
AttributeData.OutputAttributes (document, p,
|
AttributeData.OutputAttributes (document, p,
|
||||||
method.ReturnTypeCustomAttributes.GetCustomAttributes (false));
|
method.ReturnTypeCustomAttributes.GetCustomAttributes (false));
|
||||||
|
#if NET_2_0
|
||||||
|
// Generic constraints
|
||||||
|
Type [] gargs = method.GetGenericArguments ();
|
||||||
|
XmlElement ngeneric = (gargs.Length == 0) ? null :
|
||||||
|
document.CreateElement ("generic-method-constraints");
|
||||||
|
foreach (Type garg in gargs) {
|
||||||
|
Type [] csts = garg.GetGenericParameterConstraints ();
|
||||||
|
if (csts.Length == 0 || csts [0] == typeof (object))
|
||||||
|
continue;
|
||||||
|
XmlElement el = document.CreateElement ("generic-method-constraint");
|
||||||
|
el.SetAttribute ("name", garg.ToString ());
|
||||||
|
el.SetAttribute ("generic-attribute",
|
||||||
|
garg.GenericParameterAttributes.ToString ());
|
||||||
|
ngeneric.AppendChild (el);
|
||||||
|
foreach (Type ct in csts) {
|
||||||
|
XmlElement cel = document.CreateElement ("type");
|
||||||
|
cel.AppendChild (document.CreateTextNode (ct.FullName));
|
||||||
|
el.AppendChild (cel);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (ngeneric != null && ngeneric.FirstChild != null)
|
||||||
|
p.AppendChild (ngeneric);
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool NoMemberAttributes {
|
public override bool NoMemberAttributes {
|
||||||
|
@ -762,7 +857,7 @@ namespace Mono.AssemblyInfo
|
||||||
}
|
}
|
||||||
|
|
||||||
Type t = parameter.ParameterType;
|
Type t = parameter.ParameterType;
|
||||||
AddAttribute (paramNode, "type", t.FullName);
|
AddAttribute (paramNode, "type", t.ToString ());
|
||||||
|
|
||||||
if (parameter.IsOptional) {
|
if (parameter.IsOptional) {
|
||||||
AddAttribute (paramNode, "optional", "true");
|
AddAttribute (paramNode, "optional", "true");
|
||||||
|
@ -781,18 +876,11 @@ namespace Mono.AssemblyInfo
|
||||||
class AttributeData : BaseData
|
class AttributeData : BaseData
|
||||||
{
|
{
|
||||||
object [] atts;
|
object [] atts;
|
||||||
string target;
|
|
||||||
|
|
||||||
AttributeData (XmlDocument doc, XmlNode parent, object[] attributes, string target)
|
AttributeData (XmlDocument doc, XmlNode parent, object[] attributes)
|
||||||
: base (doc, parent)
|
: base (doc, parent)
|
||||||
{
|
{
|
||||||
atts = attributes;
|
atts = attributes;
|
||||||
this.target = target;
|
|
||||||
}
|
|
||||||
|
|
||||||
AttributeData (XmlDocument doc, XmlNode parent, object [] attributes)
|
|
||||||
: this (doc, parent, attributes, null)
|
|
||||||
{
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void DoOutput ()
|
public override void DoOutput ()
|
||||||
|
@ -822,7 +910,7 @@ namespace Mono.AssemblyInfo
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
XmlNode node = document.CreateElement ("attribute");
|
XmlNode node = document.CreateElement ("attribute");
|
||||||
AddAttribute (node, "name", t.FullName);
|
AddAttribute (node, "name", t.ToString ());
|
||||||
|
|
||||||
XmlNode properties = null;
|
XmlNode properties = null;
|
||||||
foreach (PropertyInfo pi in TypeData.GetProperties (t)) {
|
foreach (PropertyInfo pi in TypeData.GetProperties (t)) {
|
||||||
|
@ -855,23 +943,13 @@ namespace Mono.AssemblyInfo
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (target != null) {
|
|
||||||
AddAttribute (node, "target", target);
|
|
||||||
}
|
|
||||||
|
|
||||||
natts.AppendChild (node);
|
natts.AppendChild (node);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void OutputAttributes (XmlDocument doc, XmlNode parent, object[] attributes)
|
public static void OutputAttributes (XmlDocument doc, XmlNode parent, object[] attributes)
|
||||||
{
|
{
|
||||||
AttributeData ad = new AttributeData (doc, parent, attributes, null);
|
AttributeData ad = new AttributeData (doc, parent, attributes);
|
||||||
ad.DoOutput ();
|
|
||||||
}
|
|
||||||
|
|
||||||
public static void OutputAttributes (XmlDocument doc, XmlNode parent, object [] attributes, string target)
|
|
||||||
{
|
|
||||||
AttributeData ad = new AttributeData (doc, parent, attributes, target);
|
|
||||||
ad.DoOutput ();
|
ad.DoOutput ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -903,7 +981,7 @@ namespace Mono.AssemblyInfo
|
||||||
else
|
else
|
||||||
modifier = "";
|
modifier = "";
|
||||||
|
|
||||||
string type_name = info.ParameterType.ToString ();
|
string type_name = info.ParameterType.ToString ().Replace ('<', '[').Replace ('>', ']');
|
||||||
sb.AppendFormat ("{0}{1}, ", modifier, type_name);
|
sb.AppendFormat ("{0}{1}, ", modifier, type_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue