~/f/at-spi-sharp/RPMS.2017 ~/f/at-spi-sharp ~/f/at-spi-sharp RPMS.2017/at-spi-sharp-1.1.1-0.0.noarch.rpm RPMS/at-spi-sharp-1.1.1-0.0.noarch.rpm differ: byte 225, line 1 Comparing at-spi-sharp-1.1.1-0.0.noarch.rpm to at-spi-sharp-1.1.1-0.0.noarch.rpm comparing the rpm tags of at-spi-sharp --- old-rpm-tags +++ new-rpm-tags @@ -92,9 +92,9 @@ /usr/lib/mono/accessibility/at-spi-sharp.dll 0 /usr/lib/mono/gac/at-spi-sharp 0 /usr/lib/mono/gac/at-spi-sharp/1.0.0.0__f4ceacb585d99812 0 -/usr/lib/mono/gac/at-spi-sharp/1.0.0.0__f4ceacb585d99812/at-spi-sharp.dll 58ca2dea11ccdd4a7351c41ba3c41fc7a3b169b7d6a16eb2242f71e87bdf85b4 0 +/usr/lib/mono/gac/at-spi-sharp/1.0.0.0__f4ceacb585d99812/at-spi-sharp.dll e1bfe2453217a1e6f02f7158be285755678f4654fb6d44b2eca0cb821e239b89 0 /usr/lib/mono/gac/at-spi-sharp/1.0.0.0__f4ceacb585d99812/at-spi-sharp.dll.config 154df1ad595148b4a8fd740241bd2c1158a338af08cb36cc04309ac01da7cac5 0 -/usr/lib/mono/gac/at-spi-sharp/1.0.0.0__f4ceacb585d99812/at-spi-sharp.dll.mdb 219ddc1a0875676c6142997793c9893193377d7fc85651f8d912935c53541276 0 +/usr/lib/mono/gac/at-spi-sharp/1.0.0.0__f4ceacb585d99812/at-spi-sharp.dll.mdb a8efd02e7bcc4a93c0963382e9d33f2584148c18e27d8929fc2bc57818960f96 0 ___QF_CHECKSUM___ comparing rpmtags comparing RELEASE comparing PROVIDES comparing scripts comparing filelist comparing file checksum creating rename script RPM file checksum differs. Extracting packages PE32 Mono/.Net assembly: /usr/lib/mono/gac/at-spi-sharp/1.0.0.0__f4ceacb585d99812/at-spi-sharp.dll /usr/lib/mono/gac/at-spi-sharp/1.0.0.0__f4ceacb585d99812/at-spi-sharp.dll differs (PE32 executable (DLL) (console) Intel 80386, Mono/.Net assembly, for MS Windows) --- old /usr/lib/mono/gac/at-spi-sharp/1.0.0.0__f4ceacb585d99812/at-spi-sharp.dll (monodis) +++ new /usr/lib/mono/gac/at-spi-sharp/1.0.0.0__f4ceacb585d99812/at-spi-sharp.dll (monodis) @@ -8,12 +8,12 @@ .ver 4:0:0:0 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. } -.assembly extern System.Xml +.assembly extern System.Core { .ver 4:0:0:0 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. } -.assembly extern System.Core +.assembly extern System.Xml { .ver 4:0:0:0 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. @@ -15115,5535 +15115,4220 @@ .namespace NDesk.DBus { - .class private sequential ansi sealed beforefieldinit Signature - extends [mscorlib]System.ValueType + .class private auto ansi beforefieldinit MatchRule + extends [mscorlib]System.Object { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + .field public valuetype [mscorlib]System.Nullable`1 MessageType + .field public initonly class [System]System.Collections.Generic.SortedList`2 Fields + .field public initonly class [System.Core]System.Collections.Generic.HashSet`1 Args + .field private static class [System]System.Text.RegularExpressions.Regex argNRegex + .field private static class [System]System.Text.RegularExpressions.Regex matchRuleRegex + .field private static class [mscorlib]System.Comparison`1 '<>f__am$cache0' + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .field private static class [mscorlib]System.Comparison`1 '<>f__am$cache1' + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... - .field public static initonly valuetype NDesk.DBus.Signature Empty - .field public static initonly valuetype NDesk.DBus.Signature ByteSig - .field public static initonly valuetype NDesk.DBus.Signature UInt16Sig - .field public static initonly valuetype NDesk.DBus.Signature UInt32Sig - .field public static initonly valuetype NDesk.DBus.Signature StringSig - .field public static initonly valuetype NDesk.DBus.Signature ObjectPathSig - .field public static initonly valuetype NDesk.DBus.Signature SignatureSig - .field public static initonly valuetype NDesk.DBus.Signature VariantSig - .field private unsigned int8[] data // method line 709 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string 'value') cil managed + instance default void '.ctor' () cil managed { // Method begins at RVA 0x6dac - // Code size 81 (0x51) - .maxstack 3 - .locals init ( - valuetype NDesk.DBus.Signature V_0) - IL_0000: ldarg.1 - IL_0001: callvirt instance int32 string::get_Length() - IL_0006: brtrue IL_001f - + // Code size 29 (0x1d) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: newobj instance void class [System]System.Collections.Generic.SortedList`2::'.ctor'() + IL_0006: stfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields IL_000b: ldarg.0 - IL_000c: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty - IL_0011: stloc.0 - IL_0012: ldloca.s 0 - IL_0014: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0019: stfld unsigned int8[] NDesk.DBus.Signature::data - IL_001e: ret - IL_001f: ldarg.1 - IL_0020: callvirt instance int32 string::get_Length() - IL_0025: ldc.i4.1 - IL_0026: bne.un IL_003f - - IL_002b: ldarg.0 - IL_002c: ldarg.1 - IL_002d: ldc.i4.0 - IL_002e: callvirt instance char string::get_Chars(int32) - IL_0033: conv.u1 - IL_0034: call unsigned int8[] valuetype NDesk.DBus.Signature::DataForDType(valuetype NDesk.DBus.DType) - IL_0039: stfld unsigned int8[] NDesk.DBus.Signature::data - IL_003e: ret - IL_003f: ldarg.0 - IL_0040: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_ASCII() - IL_0045: ldarg.1 - IL_0046: callvirt instance unsigned int8[] class [mscorlib]System.Text.Encoding::GetBytes(string) - IL_004b: stfld unsigned int8[] NDesk.DBus.Signature::data - IL_0050: ret - } // end of method Signature::.ctor + IL_000c: newobj instance void class [System.Core]System.Collections.Generic.HashSet`1::'.ctor'() + IL_0011: stfld class [System.Core]System.Collections.Generic.HashSet`1 NDesk.DBus.MatchRule::Args + IL_0016: ldarg.0 + IL_0017: call instance void object::'.ctor'() + IL_001c: ret + } // end of method MatchRule::.ctor // method line 710 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (valuetype NDesk.DBus.DType 'value') cil managed + .method private static hidebysig + default void Append (class [mscorlib]System.Text.StringBuilder sb, string key, object 'value') cil managed { - // Method begins at RVA 0x6e09 - // Code size 13 (0xd) + // Method begins at RVA 0x6dca + // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 IL_0001: ldarg.1 - IL_0002: call unsigned int8[] valuetype NDesk.DBus.Signature::DataForDType(valuetype NDesk.DBus.DType) - IL_0007: stfld unsigned int8[] NDesk.DBus.Signature::data - IL_000c: ret - } // end of method Signature::.ctor + IL_0002: ldarg.2 + IL_0003: callvirt instance string object::ToString() + IL_0008: call void class NDesk.DBus.MatchRule::Append(class [mscorlib]System.Text.StringBuilder, string, string) + IL_000d: ret + } // end of method MatchRule::Append // method line 711 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (valuetype NDesk.DBus.DType[] 'value') cil managed + .method private static hidebysig + default void Append (class [mscorlib]System.Text.StringBuilder sb, string key, string 'value') cil managed { - // Method begins at RVA 0x6e18 - // Code size 98 (0x62) + // Method begins at RVA 0x6ddc + // Code size 88 (0x58) .maxstack 4 - .locals init ( - valuetype NDesk.DBus.Signature V_0, - int32 V_1) - IL_0000: ldarg.1 - IL_0001: ldlen - IL_0002: conv.i4 - IL_0003: brtrue IL_001c - - IL_0008: ldarg.0 - IL_0009: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty - IL_000e: stloc.0 - IL_000f: ldloca.s 0 - IL_0011: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0016: stfld unsigned int8[] NDesk.DBus.Signature::data - IL_001b: ret - IL_001c: ldarg.1 - IL_001d: ldlen - IL_001e: conv.i4 - IL_001f: ldc.i4.1 - IL_0020: bne.un IL_0034 - - IL_0025: ldarg.0 - IL_0026: ldarg.1 - IL_0027: ldc.i4.0 - IL_0028: ldelem.u1 - IL_0029: call unsigned int8[] valuetype NDesk.DBus.Signature::DataForDType(valuetype NDesk.DBus.DType) - IL_002e: stfld unsigned int8[] NDesk.DBus.Signature::data - IL_0033: ret - IL_0034: ldarg.0 - IL_0035: ldarg.1 - IL_0036: ldlen - IL_0037: conv.i4 - IL_0038: newarr [mscorlib]System.Byte - IL_003d: stfld unsigned int8[] NDesk.DBus.Signature::data - IL_0042: ldc.i4.0 - IL_0043: stloc.1 - IL_0044: br IL_0058 - - IL_0049: ldarg.0 - IL_004a: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_004f: ldloc.1 - IL_0050: ldarg.1 - IL_0051: ldloc.1 - IL_0052: ldelem.u1 - IL_0053: stelem.i1 - IL_0054: ldloc.1 - IL_0055: ldc.i4.1 - IL_0056: add - IL_0057: stloc.1 - IL_0058: ldloc.1 - IL_0059: ldarg.1 - IL_005a: ldlen - IL_005b: conv.i4 - IL_005c: bne.un IL_0049 + IL_0000: ldarg.0 + IL_0001: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_0006: brfalse IL_0014 - IL_0061: ret - } // end of method Signature::.ctor + IL_000b: ldarg.0 + IL_000c: ldc.i4.s 0x2c + IL_000e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_0013: pop + IL_0014: ldarg.0 + IL_0015: ldarg.1 + IL_0016: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_001b: pop + IL_001c: ldarg.0 + IL_001d: ldstr "='" + IL_0022: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0027: pop + IL_0028: ldarg.0 + IL_0029: ldarg.2 + IL_002a: ldstr "\\" + IL_002f: ldstr "\\\\" + IL_0034: callvirt instance string string::Replace(string, string) + IL_0039: ldstr "'" + IL_003e: ldstr "\\'" + IL_0043: callvirt instance string string::Replace(string, string) + IL_0048: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_004d: pop + IL_004e: ldarg.0 + IL_004f: ldc.i4.s 0x27 + IL_0051: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_0056: pop + IL_0057: ret + } // end of method MatchRule::Append // method line 712 - .method public static hidebysig specialname - default bool op_Equality (valuetype NDesk.DBus.Signature a, valuetype NDesk.DBus.Signature b) cil managed + .method private static hidebysig + default void AppendArg (class [mscorlib]System.Text.StringBuilder sb, int32 index, string 'value') cil managed { - // Method begins at RVA 0x6e88 - // Code size 127 (0x7f) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: ldarga.s 0 - IL_0002: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0007: ldarga.s 1 - IL_0009: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_000e: bne.un IL_0015 - - IL_0013: ldc.i4.1 - IL_0014: ret - IL_0015: ldarga.s 0 - IL_0017: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_001c: brtrue IL_0023 - - IL_0021: ldc.i4.0 - IL_0022: ret - IL_0023: ldarga.s 1 - IL_0025: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_002a: brtrue IL_0031 - - IL_002f: ldc.i4.0 - IL_0030: ret - IL_0031: ldarga.s 0 - IL_0033: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0038: ldlen - IL_0039: conv.i4 - IL_003a: ldarga.s 1 - IL_003c: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0041: ldlen - IL_0042: conv.i4 - IL_0043: beq IL_004a - - IL_0048: ldc.i4.0 - IL_0049: ret - IL_004a: ldc.i4.0 - IL_004b: stloc.0 - IL_004c: br IL_006e - - IL_0051: ldarga.s 0 - IL_0053: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0058: ldloc.0 - IL_0059: ldelem.u1 - IL_005a: ldarga.s 1 - IL_005c: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0061: ldloc.0 - IL_0062: ldelem.u1 - IL_0063: beq IL_006a - - IL_0068: ldc.i4.0 - IL_0069: ret - IL_006a: ldloc.0 - IL_006b: ldc.i4.1 - IL_006c: add - IL_006d: stloc.0 - IL_006e: ldloc.0 - IL_006f: ldarga.s 0 - IL_0071: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0076: ldlen - IL_0077: conv.i4 - IL_0078: bne.un IL_0051 - - IL_007d: ldc.i4.1 - IL_007e: ret - } // end of method Signature::op_Equality + // Method begins at RVA 0x6e40 + // Code size 24 (0x18) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldstr "arg" + IL_0006: ldarg.1 + IL_0007: box [mscorlib]System.Int32 + IL_000c: call string string::Concat(object, object) + IL_0011: ldarg.2 + IL_0012: call void class NDesk.DBus.MatchRule::Append(class [mscorlib]System.Text.StringBuilder, string, string) + IL_0017: ret + } // end of method MatchRule::AppendArg // method line 713 - .method public static hidebysig specialname - default bool op_Inequality (valuetype NDesk.DBus.Signature a, valuetype NDesk.DBus.Signature b) cil managed + .method private static hidebysig + default void AppendPathArg (class [mscorlib]System.Text.StringBuilder sb, int32 index, class NDesk.DBus.ObjectPath 'value') cil managed { - // Method begins at RVA 0x6f13 - // Code size 11 (0xb) + // Method begins at RVA 0x6e59 + // Code size 34 (0x22) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0007: ldc.i4.0 - IL_0008: ceq - IL_000a: ret - } // end of method Signature::op_Inequality + IL_0001: ldstr "arg" + IL_0006: ldarg.1 + IL_0007: box [mscorlib]System.Int32 + IL_000c: ldstr "path" + IL_0011: call string string::Concat(object, object, object) + IL_0016: ldarg.2 + IL_0017: callvirt instance string object::ToString() + IL_001c: call void class NDesk.DBus.MatchRule::Append(class [mscorlib]System.Text.StringBuilder, string, string) + IL_0021: ret + } // end of method MatchRule::AppendPathArg // method line 714 .method public virtual hidebysig instance default bool Equals (object o) cil managed { - // Method begins at RVA 0x6f1f - // Code size 39 (0x27) - .maxstack 8 + // Method begins at RVA 0x6e7c + // Code size 33 (0x21) + .maxstack 2 + .locals init ( + class NDesk.DBus.MatchRule V_0) IL_0000: ldarg.1 - IL_0001: brtrue IL_0008 - - IL_0006: ldc.i4.0 - IL_0007: ret - IL_0008: ldarg.1 - IL_0009: isinst NDesk.DBus.Signature - IL_000e: brtrue IL_0015 + IL_0001: isinst NDesk.DBus.MatchRule + IL_0006: stloc.0 + IL_0007: ldarg.1 + IL_0008: brtrue IL_000f - IL_0013: ldc.i4.0 - IL_0014: ret - IL_0015: ldarg.0 - IL_0016: ldobj NDesk.DBus.Signature - IL_001b: ldarg.1 - IL_001c: unbox.any NDesk.DBus.Signature - IL_0021: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0026: ret - } // end of method Signature::Equals + IL_000d: ldc.i4.0 + IL_000e: ret + IL_000f: ldarg.0 + IL_0010: callvirt instance string object::ToString() + IL_0015: ldloc.0 + IL_0016: callvirt instance string object::ToString() + IL_001b: call bool string::op_Equality(string, string) + IL_0020: ret + } // end of method MatchRule::Equals // method line 715 .method public virtual hidebysig instance default int32 GetHashCode () cil managed { - // Method begins at RVA 0x6f47 + // Method begins at RVA 0x6ea9 // Code size 12 (0xc) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance string valuetype NDesk.DBus.Signature::get_Value() + IL_0001: callvirt instance string object::ToString() IL_0006: callvirt instance int32 object::GetHashCode() IL_000b: ret - } // end of method Signature::GetHashCode + } // end of method MatchRule::GetHashCode // method line 716 - .method public static hidebysig specialname - default valuetype NDesk.DBus.Signature op_Addition (valuetype NDesk.DBus.Signature s1, valuetype NDesk.DBus.Signature s2) cil managed - { - // Method begins at RVA 0x6f54 - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::Concat(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0007: ret - } // end of method Signature::op_Addition - - // method line 717 - .method public static hidebysig - default valuetype NDesk.DBus.Signature Concat (valuetype NDesk.DBus.Signature s1, valuetype NDesk.DBus.Signature s2) cil managed - { - // Method begins at RVA 0x6f60 - // Code size 152 (0x98) - .maxstack 3 - .locals init ( - unsigned int8[] V_0) - IL_0000: ldarga.s 0 - IL_0002: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0007: brtrue IL_001e - - IL_000c: ldarga.s 1 - IL_000e: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0013: brtrue IL_001e - - IL_0018: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty - IL_001d: ret - IL_001e: ldarga.s 0 - IL_0020: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0025: brtrue IL_002c - - IL_002a: ldarg.1 - IL_002b: ret - IL_002c: ldarga.s 1 - IL_002e: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0033: brtrue IL_003a - - IL_0038: ldarg.0 - IL_0039: ret - IL_003a: ldarga.s 0 - IL_003c: call instance int32 valuetype NDesk.DBus.Signature::get_Length() - IL_0041: ldarga.s 1 - IL_0043: call instance int32 valuetype NDesk.DBus.Signature::get_Length() - IL_0048: add - IL_0049: brtrue IL_0054 - - IL_004e: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty - IL_0053: ret - IL_0054: ldarga.s 0 - IL_0056: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_005b: ldlen - IL_005c: conv.i4 - IL_005d: ldarga.s 1 - IL_005f: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0064: ldlen - IL_0065: conv.i4 - IL_0066: add - IL_0067: newarr [mscorlib]System.Byte - IL_006c: stloc.0 - IL_006d: ldarga.s 0 - IL_006f: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0074: ldloc.0 - IL_0075: ldc.i4.0 - IL_0076: callvirt instance void class [mscorlib]System.Array::CopyTo(class [mscorlib]System.Array, int32) - IL_007b: ldarga.s 1 - IL_007d: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0082: ldloc.0 - IL_0083: ldarga.s 0 - IL_0085: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_008a: ldlen - IL_008b: conv.i4 - IL_008c: callvirt instance void class [mscorlib]System.Array::CopyTo(class [mscorlib]System.Array, int32) - IL_0091: ldloc.0 - IL_0092: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::Take(unsigned int8[]) - IL_0097: ret - } // end of method Signature::Concat - - // method line 718 - .method assembly static hidebysig - default valuetype NDesk.DBus.Signature Take (unsigned int8[] 'value') cil managed + .method public virtual hidebysig + instance default string ToString () cil managed { - // Method begins at RVA 0x7004 - // Code size 66 (0x42) + // Method begins at RVA 0x6eb8 + // Code size 378 (0x17a) .maxstack 3 .locals init ( - valuetype NDesk.DBus.Signature V_0, - valuetype NDesk.DBus.Signature V_1) - IL_0000: ldarg.0 - IL_0001: ldlen - IL_0002: conv.i4 - IL_0003: brtrue IL_001e + class [mscorlib]System.Text.StringBuilder V_0, + valuetype [mscorlib]System.Nullable`1 V_1, + valuetype [mscorlib]System.Nullable`1 V_2, + valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2 V_3, + class [mscorlib]System.Collections.Generic.IEnumerator`1> V_4, + valuetype NDesk.DBus.FieldCode V_5, + class [mscorlib]System.Collections.Generic.List`1 V_6, + valuetype NDesk.DBus.ArgMatchTest V_7, + valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator V_8) + IL_0000: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0005: stloc.0 + IL_0006: ldarg.0 + IL_0007: ldfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.MatchRule::MessageType + IL_000c: stloc.1 + IL_000d: ldloca.s 1 + IL_000f: call instance bool valuetype [mscorlib]System.Nullable`1::get_HasValue() + IL_0014: brfalse IL_0037 - IL_0008: ldloca.s 0 - IL_000a: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty - IL_000f: stloc.1 - IL_0010: ldloca.s 1 - IL_0012: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0017: stfld unsigned int8[] NDesk.DBus.Signature::data - IL_001c: ldloc.0 - IL_001d: ret - IL_001e: ldarg.0 - IL_001f: ldlen - IL_0020: conv.i4 - IL_0021: ldc.i4.1 - IL_0022: bne.un IL_0038 + IL_0019: ldloc.0 + IL_001a: ldstr "type" + IL_001f: ldarg.0 + IL_0020: ldfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.MatchRule::MessageType + IL_0025: stloc.2 + IL_0026: ldloca.s 2 + IL_0028: call instance !0 valuetype [mscorlib]System.Nullable`1::get_Value() + IL_002d: call string class NDesk.DBus.MessageFilter::MessageTypeToString(valuetype NDesk.DBus.MessageType) + IL_0032: call void class NDesk.DBus.MatchRule::Append(class [mscorlib]System.Text.StringBuilder, string, string) + IL_0037: ldarg.0 + IL_0038: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields + IL_003d: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1> class [System]System.Collections.Generic.SortedList`2::GetEnumerator() + IL_0042: stloc.s 4 + .try { // 0 + IL_0044: br IL_007e - IL_0027: ldloca.s 0 - IL_0029: ldarg.0 - IL_002a: ldc.i4.0 - IL_002b: ldelem.u1 - IL_002c: call unsigned int8[] valuetype NDesk.DBus.Signature::DataForDType(valuetype NDesk.DBus.DType) - IL_0031: stfld unsigned int8[] NDesk.DBus.Signature::data - IL_0036: ldloc.0 - IL_0037: ret - IL_0038: ldloca.s 0 - IL_003a: ldarg.0 - IL_003b: stfld unsigned int8[] NDesk.DBus.Signature::data - IL_0040: ldloc.0 - IL_0041: ret - } // end of method Signature::Take + IL_0049: ldloc.s 4 + IL_004b: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1>::get_Current() + IL_0050: stloc.3 + IL_0051: ldloc.0 + IL_0052: ldloca.s 3 + IL_0054: call instance !0 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Key() + IL_0059: stloc.s 5 + IL_005b: ldloca.s 5 + IL_005d: constrained. NDesk.DBus.FieldCode + IL_0063: callvirt instance string object::ToString() + IL_0068: callvirt instance string string::ToLower() + IL_006d: ldloca.s 3 + IL_006f: call instance !1 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Value() + IL_0074: ldfld object NDesk.DBus.MatchTest::Value + IL_0079: call void class NDesk.DBus.MatchRule::Append(class [mscorlib]System.Text.StringBuilder, string, object) + IL_007e: ldloc.s 4 + IL_0080: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0085: brtrue IL_0049 - // method line 719 - .method private static hidebysig - default unsigned int8[] DataForDType (valuetype NDesk.DBus.DType 'value') cil managed - { - // Method begins at RVA 0x7054 - // Code size 178 (0xb2) - .maxstack 4 - .locals init ( - valuetype NDesk.DBus.Signature V_0, - valuetype NDesk.DBus.Signature V_1, - valuetype NDesk.DBus.Signature V_2, - valuetype NDesk.DBus.Signature V_3, - valuetype NDesk.DBus.Signature V_4, - valuetype NDesk.DBus.Signature V_5, - valuetype NDesk.DBus.Signature V_6) - IL_0000: ldarg.0 - IL_0001: ldc.i4.s 0x6f - IL_0003: sub - IL_0004: switch ( - IL_007a, - IL_0035, - IL_0050, - IL_0035, - IL_006c, - IL_0035, - IL_005e, - IL_0098, - IL_0035, - IL_0035, - IL_0042) - IL_0035: ldarg.0 - IL_0036: ldc.i4.s 0x67 - IL_0038: beq IL_0089 + IL_008a: leave IL_009e - IL_003d: br IL_00a7 + } // end .try 0 + finally { // 0 + IL_008f: ldloc.s 4 + IL_0091: brfalse IL_009d - IL_0042: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::ByteSig - IL_0047: stloc.0 - IL_0048: ldloca.s 0 - IL_004a: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_004f: ret - IL_0050: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::UInt16Sig - IL_0055: stloc.1 - IL_0056: ldloca.s 1 - IL_0058: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_005d: ret - IL_005e: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::UInt32Sig - IL_0063: stloc.2 - IL_0064: ldloca.s 2 - IL_0066: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_006b: ret - IL_006c: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::StringSig - IL_0071: stloc.3 - IL_0072: ldloca.s 3 - IL_0074: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0079: ret - IL_007a: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::ObjectPathSig - IL_007f: stloc.s 4 - IL_0081: ldloca.s 4 - IL_0083: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0088: ret - IL_0089: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::SignatureSig - IL_008e: stloc.s 5 - IL_0090: ldloca.s 5 - IL_0092: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0097: ret - IL_0098: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::VariantSig - IL_009d: stloc.s 6 - IL_009f: ldloca.s 6 - IL_00a1: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_00a6: ret - IL_00a7: ldc.i4.1 - IL_00a8: newarr [mscorlib]System.Byte - IL_00ad: dup - IL_00ae: ldc.i4.0 - IL_00af: ldarg.0 - IL_00b0: stelem.i1 - IL_00b1: ret - } // end of method Signature::DataForDType + IL_0096: ldloc.s 4 + IL_0098: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_009d: endfinally + } // end handler 0 + IL_009e: ldarg.0 + IL_009f: ldfld class [System.Core]System.Collections.Generic.HashSet`1 NDesk.DBus.MatchRule::Args + IL_00a4: newobj instance void class [mscorlib]System.Collections.Generic.List`1::'.ctor'(class [mscorlib]System.Collections.Generic.IEnumerable`1) + IL_00a9: stloc.s 6 + IL_00ab: ldloc.s 6 + IL_00ad: ldsfld class [mscorlib]System.Comparison`1 NDesk.DBus.MatchRule::'<>f__am$cache0' + IL_00b2: brtrue.s IL_00c5 - // method line 720 - .method private static hidebysig - default valuetype NDesk.DBus.Signature Allocate (valuetype NDesk.DBus.DType 'value') cil managed - { - // Method begins at RVA 0x7114 - // Code size 19 (0x13) - .maxstack 5 - .locals init ( - valuetype NDesk.DBus.Signature V_0) - IL_0000: ldloca.s 0 - IL_0002: ldc.i4.1 - IL_0003: newarr [mscorlib]System.Byte - IL_0008: dup - IL_0009: ldc.i4.0 - IL_000a: ldarg.0 - IL_000b: stelem.i1 - IL_000c: stfld unsigned int8[] NDesk.DBus.Signature::data - IL_0011: ldloc.0 - IL_0012: ret - } // end of method Signature::Allocate + IL_00b4: ldnull + IL_00b5: ldftn int32 class NDesk.DBus.MatchRule::'m__0'(valuetype NDesk.DBus.ArgMatchTest, valuetype NDesk.DBus.ArgMatchTest) + IL_00bb: newobj instance void class [mscorlib]System.Comparison`1::'.ctor'(object, native int) + IL_00c0: stsfld class [mscorlib]System.Comparison`1 NDesk.DBus.MatchRule::'<>f__am$cache0' + IL_00c5: ldsfld class [mscorlib]System.Comparison`1 NDesk.DBus.MatchRule::'<>f__am$cache0' + IL_00ca: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Sort(class [mscorlib]System.Comparison`1) + IL_00cf: ldarg.0 + IL_00d0: ldfld class [System.Core]System.Collections.Generic.HashSet`1 NDesk.DBus.MatchRule::Args + IL_00d5: brfalse IL_0173 - // method line 721 - .method public hidebysig - instance default unsigned int8[] GetBuffer () cil managed - { - // Method begins at RVA 0x7133 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0006: ret - } // end of method Signature::GetBuffer + IL_00da: ldloc.s 6 + IL_00dc: callvirt instance valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator class [mscorlib]System.Collections.Generic.List`1::GetEnumerator() + IL_00e1: stloc.s 8 + .try { // 1 + IL_00e3: br IL_0154 - // method line 722 - .method assembly hidebysig specialname - instance default valuetype NDesk.DBus.DType get_Item (int32 index) cil managed - { - // Method begins at RVA 0x713b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0006: ldarg.1 - IL_0007: ldelem.u1 - IL_0008: ret - } // end of method Signature::get_Item + IL_00e8: ldloca.s 8 + IL_00ea: call instance !0 valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator::get_Current() + IL_00ef: stloc.s 7 + IL_00f1: ldloca.s 7 + IL_00f3: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.ArgMatchTest::Signature + IL_00f8: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::StringSig + IL_00fd: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0102: brfalse IL_0125 - // method line 723 - .method public hidebysig specialname - instance default int32 get_Length () cil managed - { - // Method begins at RVA 0x7145 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0006: ldlen - IL_0007: conv.i4 - IL_0008: ret - } // end of method Signature::get_Length + IL_0107: ldloc.0 + IL_0108: ldloca.s 7 + IL_010a: ldfld int32 NDesk.DBus.ArgMatchTest::ArgNum + IL_010f: ldloca.s 7 + IL_0111: ldfld object NDesk.DBus.ArgMatchTest::Value + IL_0116: castclass [mscorlib]System.String + IL_011b: call void class NDesk.DBus.MatchRule::AppendArg(class [mscorlib]System.Text.StringBuilder, int32, string) + IL_0120: br IL_0154 - // method line 724 - .method public hidebysig specialname - instance default string get_Value () cil managed - { - // Method begins at RVA 0x714f - // Code size 34 (0x22) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0006: brtrue IL_0011 + IL_0125: ldloca.s 7 + IL_0127: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.ArgMatchTest::Signature + IL_012c: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::ObjectPathSig + IL_0131: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0136: brfalse IL_0154 - IL_000b: ldsfld string [mscorlib]System.String::Empty - IL_0010: ret - IL_0011: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_ASCII() - IL_0016: ldarg.0 - IL_0017: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_001c: callvirt instance string class [mscorlib]System.Text.Encoding::GetString(unsigned int8[]) - IL_0021: ret - } // end of method Signature::get_Value + IL_013b: ldloc.0 + IL_013c: ldloca.s 7 + IL_013e: ldfld int32 NDesk.DBus.ArgMatchTest::ArgNum + IL_0143: ldloca.s 7 + IL_0145: ldfld object NDesk.DBus.ArgMatchTest::Value + IL_014a: castclass NDesk.DBus.ObjectPath + IL_014f: call void class NDesk.DBus.MatchRule::AppendPathArg(class [mscorlib]System.Text.StringBuilder, int32, class NDesk.DBus.ObjectPath) + IL_0154: ldloca.s 8 + IL_0156: call instance bool valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator::MoveNext() + IL_015b: brtrue IL_00e8 - // method line 725 - .method public virtual hidebysig - instance default string ToString () cil managed - { - // Method begins at RVA 0x7172 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance string valuetype NDesk.DBus.Signature::get_Value() - IL_0006: ret - } // end of method Signature::ToString + IL_0160: leave IL_0173 - // method line 726 - .method public hidebysig - instance default valuetype NDesk.DBus.Signature MakeArraySignature () cil managed - { - // Method begins at RVA 0x717a - // Code size 19 (0x13) - .maxstack 8 - IL_0000: ldc.i4.s 0x61 - IL_0002: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) - IL_0007: ldarg.0 - IL_0008: ldobj NDesk.DBus.Signature - IL_000d: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0012: ret - } // end of method Signature::MakeArraySignature + } // end .try 1 + finally { // 1 + IL_0165: ldloca.s 8 + IL_0167: constrained. valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator + IL_016d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0172: endfinally + } // end handler 1 + IL_0173: ldloc.0 + IL_0174: callvirt instance string object::ToString() + IL_0179: ret + } // end of method MatchRule::ToString - // method line 727 + // method line 717 .method public static hidebysig - default valuetype NDesk.DBus.Signature MakeStruct (valuetype NDesk.DBus.Signature[] elems) cil managed + default void Test (class [System.Core]System.Collections.Generic.HashSet`1 a, class NDesk.DBus.Message msg) cil managed { - .param [1] - .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x7190 - // Code size 79 (0x4f) - .maxstack 2 + // Method begins at RVA 0x705c + // Code size 367 (0x16f) + .maxstack 3 .locals init ( - valuetype NDesk.DBus.Signature V_0, + class NDesk.DBus.MatchRule/'c__AnonStorey0' V_0, valuetype NDesk.DBus.Signature V_1, - valuetype NDesk.DBus.Signature[] V_2, - int32 V_3) - IL_0000: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + class [mscorlib]System.Collections.Generic.List`1 V_2, + class NDesk.DBus.MessageReader V_3, + int32 V_4, + valuetype NDesk.DBus.ArgMatchTest V_5, + valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator V_6, + valuetype NDesk.DBus.Signature V_7, + int32 V_8) + IL_0000: newobj instance void class NDesk.DBus.MatchRule/'c__AnonStorey0'::'.ctor'() IL_0005: stloc.0 IL_0006: ldloc.0 - IL_0007: ldc.i4.s 0x28 - IL_0009: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) - IL_000e: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0013: stloc.0 - IL_0014: ldarg.0 - IL_0015: stloc.2 - IL_0016: ldc.i4.0 - IL_0017: stloc.3 - IL_0018: br IL_0036 - - IL_001d: ldloc.2 - IL_001e: ldloc.3 - IL_001f: ldelema NDesk.DBus.Signature - IL_0024: ldobj NDesk.DBus.Signature - IL_0029: stloc.1 + IL_0007: newobj instance void class [mscorlib]System.Collections.Generic.List`1::'.ctor'() + IL_000c: stfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.MatchRule/'c__AnonStorey0'::sigs + IL_0011: ldloc.0 + IL_0012: ldfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.MatchRule/'c__AnonStorey0'::sigs + IL_0017: ldarg.1 + IL_0018: callvirt instance valuetype NDesk.DBus.Signature class NDesk.DBus.Message::get_Signature() + IL_001d: stloc.1 + IL_001e: ldloca.s 1 + IL_0020: call instance class [mscorlib]System.Collections.Generic.IEnumerable`1 valuetype NDesk.DBus.Signature::GetParts() + IL_0025: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::AddRange(class [mscorlib]System.Collections.Generic.IEnumerable`1) IL_002a: ldloc.0 - IL_002b: ldloc.1 - IL_002c: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0031: stloc.0 - IL_0032: ldloc.3 - IL_0033: ldc.i4.1 - IL_0034: add - IL_0035: stloc.3 - IL_0036: ldloc.3 - IL_0037: ldloc.2 - IL_0038: ldlen - IL_0039: conv.i4 - IL_003a: blt IL_001d + IL_002b: ldfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.MatchRule/'c__AnonStorey0'::sigs + IL_0030: callvirt instance int32 class [mscorlib]System.Collections.Generic.List`1::get_Count() + IL_0035: brtrue IL_0041 - IL_003f: ldloc.0 - IL_0040: ldc.i4.s 0x29 - IL_0042: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) - IL_0047: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_004c: stloc.0 - IL_004d: ldloc.0 - IL_004e: ret - } // end of method Signature::MakeStruct + IL_003a: ldarg.0 + IL_003b: callvirt instance void class [System.Core]System.Collections.Generic.HashSet`1::Clear() + IL_0040: ret + IL_0041: ldarg.0 + IL_0042: ldloc.0 + IL_0043: ldftn instance bool class NDesk.DBus.MatchRule/'c__AnonStorey0'::'<>m__0'(valuetype NDesk.DBus.ArgMatchTest) + IL_0049: newobj instance void class [mscorlib]System.Predicate`1::'.ctor'(object, native int) + IL_004e: callvirt instance int32 class [System.Core]System.Collections.Generic.HashSet`1::RemoveWhere(class [mscorlib]System.Predicate`1) + IL_0053: pop + IL_0054: ldarg.0 + IL_0055: newobj instance void class [mscorlib]System.Collections.Generic.List`1::'.ctor'(class [mscorlib]System.Collections.Generic.IEnumerable`1) + IL_005a: stloc.2 + IL_005b: ldloc.2 + IL_005c: ldsfld class [mscorlib]System.Comparison`1 NDesk.DBus.MatchRule::'<>f__am$cache1' + IL_0061: brtrue.s IL_0074 - // method line 728 - .method public static hidebysig - default valuetype NDesk.DBus.Signature MakeDictEntry (valuetype NDesk.DBus.Signature keyType, valuetype NDesk.DBus.Signature valueType) cil managed - { - // Method begins at RVA 0x71ec - // Code size 52 (0x34) - .maxstack 2 - .locals init ( - valuetype NDesk.DBus.Signature V_0) - IL_0000: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty - IL_0005: stloc.0 - IL_0006: ldloc.0 - IL_0007: ldc.i4.s 0x7b - IL_0009: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) - IL_000e: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0013: stloc.0 - IL_0014: ldloc.0 - IL_0015: ldarg.0 - IL_0016: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0023: stloc.0 - IL_0024: ldloc.0 - IL_0025: ldc.i4.s 0x7d - IL_0027: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) - IL_002c: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0031: stloc.0 - IL_0032: ldloc.0 - IL_0033: ret - } // end of method Signature::MakeDictEntry + IL_0063: ldnull + IL_0064: ldftn int32 class NDesk.DBus.MatchRule::'m__1'(valuetype NDesk.DBus.ArgMatchTest, valuetype NDesk.DBus.ArgMatchTest) + IL_006a: newobj instance void class [mscorlib]System.Comparison`1::'.ctor'(object, native int) + IL_006f: stsfld class [mscorlib]System.Comparison`1 NDesk.DBus.MatchRule::'<>f__am$cache1' + IL_0074: ldsfld class [mscorlib]System.Comparison`1 NDesk.DBus.MatchRule::'<>f__am$cache1' + IL_0079: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Sort(class [mscorlib]System.Comparison`1) + IL_007e: ldloc.2 + IL_007f: callvirt instance int32 class [mscorlib]System.Collections.Generic.List`1::get_Count() + IL_0084: brtrue IL_0090 - // method line 729 - .method public static hidebysig - default valuetype NDesk.DBus.Signature MakeDict (valuetype NDesk.DBus.Signature keyType, valuetype NDesk.DBus.Signature valueType) cil managed - { - // Method begins at RVA 0x722c - // Code size 16 (0x10) - .maxstack 2 - .locals init ( - valuetype NDesk.DBus.Signature V_0) - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::MakeDictEntry(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0007: stloc.0 - IL_0008: ldloca.s 0 - IL_000a: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::MakeArraySignature() - IL_000f: ret - } // end of method Signature::MakeDict + IL_0089: ldarg.0 + IL_008a: callvirt instance void class [System.Core]System.Collections.Generic.HashSet`1::Clear() + IL_008f: ret + IL_0090: ldarg.1 + IL_0091: newobj instance void class NDesk.DBus.MessageReader::'.ctor'(class NDesk.DBus.Message) + IL_0096: stloc.3 + IL_0097: ldc.i4.0 + IL_0098: stloc.s 4 + IL_009a: ldloc.2 + IL_009b: callvirt instance valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator class [mscorlib]System.Collections.Generic.List`1::GetEnumerator() + IL_00a0: stloc.s 6 + .try { // 0 + IL_00a2: br IL_014f - // method line 730 - .method public hidebysig specialname - instance default int32 get_Alignment () cil managed - { - // Method begins at RVA 0x7248 - // Code size 28 (0x1c) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0006: ldlen - IL_0007: conv.i4 - IL_0008: brtrue IL_000f + IL_00a7: ldloca.s 6 + IL_00a9: call instance !0 valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator::get_Current() + IL_00ae: stloc.s 5 + IL_00b0: ldloc.s 4 + IL_00b2: ldloca.s 5 + IL_00b4: ldfld int32 NDesk.DBus.ArgMatchTest::ArgNum + IL_00b9: ble IL_00cc - IL_000d: ldc.i4.0 - IL_000e: ret - IL_000f: ldarg.0 - IL_0010: ldc.i4.0 - IL_0011: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) - IL_0016: call int32 class NDesk.DBus.Protocol::GetAlignment(valuetype NDesk.DBus.DType) - IL_001b: ret - } // end of method Signature::get_Alignment + IL_00be: ldarg.0 + IL_00bf: ldloc.s 5 + IL_00c1: callvirt instance bool class [System.Core]System.Collections.Generic.HashSet`1::Remove(!0) + IL_00c6: pop + IL_00c7: leave IL_014f - // method line 731 - .method private static hidebysig - default int32 GetSize (valuetype NDesk.DBus.DType dtype) cil managed - { - // Method begins at RVA 0x7268 - // Code size 174 (0xae) - .maxstack 2 - IL_0000: ldarg.0 - IL_0001: ldc.i4.s 0x61 - IL_0003: sub - IL_0004: switch ( - IL_0096, - IL_008a, - IL_0075, - IL_0094, - IL_0075, - IL_0092, - IL_0096, - IL_0075, - IL_008e, - IL_0075, - IL_0075, - IL_0075, - IL_0075, - IL_008c, - IL_0096, - IL_0075, - IL_008c, - IL_0075, - IL_0096, - IL_0090, - IL_008e, - IL_0096, - IL_0075, - IL_0090, - IL_0088, - IL_0075, - IL_0096) - IL_0075: ldarg.0 - IL_0076: brfalse IL_0098 + IL_00cc: br IL_00f9 - IL_007b: ldarg.0 - IL_007c: ldc.i4.s 0x28 - IL_007e: beq IL_0096 + IL_00d1: ldloc.0 + IL_00d2: ldfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.MatchRule/'c__AnonStorey0'::sigs + IL_00d7: ldloc.s 4 + IL_00d9: callvirt instance !0 class [mscorlib]System.Collections.Generic.List`1::get_Item(int32) + IL_00de: stloc.s 7 + IL_00e0: ldloc.3 + IL_00e1: ldloc.s 7 + IL_00e3: callvirt instance bool class NDesk.DBus.MessageReader::StepOver(valuetype NDesk.DBus.Signature) + IL_00e8: brtrue IL_00f3 - IL_0083: br IL_0098 + IL_00ed: newobj instance void class [mscorlib]System.Exception::'.ctor'() + IL_00f2: throw + IL_00f3: ldloc.s 4 + IL_00f5: ldc.i4.1 + IL_00f6: add + IL_00f7: stloc.s 4 + IL_00f9: ldloc.s 4 + IL_00fb: ldloca.s 5 + IL_00fd: ldfld int32 NDesk.DBus.ArgMatchTest::ArgNum + IL_0102: bne.un IL_00d1 - IL_0088: ldc.i4.1 - IL_0089: ret - IL_008a: ldc.i4.4 - IL_008b: ret - IL_008c: ldc.i4.2 - IL_008d: ret - IL_008e: ldc.i4.4 - IL_008f: ret - IL_0090: ldc.i4.8 - IL_0091: ret - IL_0092: ldc.i4.4 - IL_0093: ret - IL_0094: ldc.i4.8 - IL_0095: ret - IL_0096: ldc.i4.m1 - IL_0097: ret - IL_0098: ldstr "Cannot determine size of " - IL_009d: ldarg.0 - IL_009e: box NDesk.DBus.DType - IL_00a3: call string string::Concat(object, object) - IL_00a8: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_00ad: throw - } // end of method Signature::GetSize + IL_0107: ldloc.3 + IL_0108: ldfld int32 NDesk.DBus.MessageReader::pos + IL_010d: stloc.s 8 + IL_010f: ldloc.3 + IL_0110: ldloca.s 5 + IL_0112: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.ArgMatchTest::Signature + IL_0117: ldc.i4.0 + IL_0118: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) + IL_011d: callvirt instance object class NDesk.DBus.MessageReader::ReadValue(valuetype NDesk.DBus.DType) + IL_0122: ldloca.s 5 + IL_0124: ldfld object NDesk.DBus.ArgMatchTest::Value + IL_0129: callvirt instance bool object::Equals(object) + IL_012e: brtrue IL_0149 - // method line 732 + IL_0133: ldarg.0 + IL_0134: ldloc.s 5 + IL_0136: callvirt instance bool class [System.Core]System.Collections.Generic.HashSet`1::Remove(!0) + IL_013b: pop + IL_013c: ldloc.3 + IL_013d: ldloc.s 8 + IL_013f: stfld int32 NDesk.DBus.MessageReader::pos + IL_0144: leave IL_014f + + IL_0149: ldloc.s 4 + IL_014b: ldc.i4.1 + IL_014c: add + IL_014d: stloc.s 4 + IL_014f: ldloca.s 6 + IL_0151: call instance bool valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator::MoveNext() + IL_0156: brtrue IL_00a7 + + IL_015b: leave IL_016e + + } // end .try 0 + finally { // 0 + IL_0160: ldloca.s 6 + IL_0162: constrained. valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator + IL_0168: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_016d: endfinally + } // end handler 0 + IL_016e: ret + } // end of method MatchRule::Test + + // method line 718 .method public hidebysig - instance default bool GetFixedSize (int32& size) cil managed + instance default bool MatchesHeader (class NDesk.DBus.Message msg) cil managed { - // Method begins at RVA 0x7324 - // Code size 294 (0x126) + // Method begins at RVA 0x71e8 + // Code size 194 (0xc2) .maxstack 3 .locals init ( - int32 V_0, - valuetype NDesk.DBus.Signature V_1, - class [mscorlib]System.Collections.Generic.IEnumerator`1 V_2, - bool V_3, - valuetype NDesk.DBus.Signature V_4, - class [mscorlib]System.Collections.Generic.IEnumerator`1 V_5) - IL_0000: ldarg.1 - IL_0001: ldind.i4 - IL_0002: ldc.i4.0 - IL_0003: bge IL_000a - - IL_0008: ldc.i4.0 - IL_0009: ret - IL_000a: ldarg.0 - IL_000b: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0010: ldlen - IL_0011: conv.i4 - IL_0012: brtrue IL_0019 + valuetype [mscorlib]System.Nullable`1 V_0, + valuetype [mscorlib]System.Nullable`1 V_1, + valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2 V_2, + class [mscorlib]System.Collections.Generic.IEnumerator`1> V_3, + object V_4, + bool V_5) + IL_0000: ldarg.0 + IL_0001: ldfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.MatchRule::MessageType + IL_0006: stloc.0 + IL_0007: ldloca.s 0 + IL_0009: call instance bool valuetype [mscorlib]System.Nullable`1::get_HasValue() + IL_000e: brfalse IL_0042 - IL_0017: ldc.i4.1 - IL_0018: ret - IL_0019: ldarg.1 - IL_001a: ldarg.1 - IL_001b: ldind.i4 - IL_001c: ldarg.0 - IL_001d: call instance int32 valuetype NDesk.DBus.Signature::get_Alignment() - IL_0022: call int32 class NDesk.DBus.Protocol::Padded(int32, int32) - IL_0027: stind.i4 - IL_0028: ldarg.0 - IL_0029: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_002e: ldlen - IL_002f: conv.i4 - IL_0030: ldc.i4.1 - IL_0031: bne.un IL_0054 + IL_0013: ldarg.1 + IL_0014: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0019: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType + IL_001e: ldarg.0 + IL_001f: ldfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.MatchRule::MessageType + IL_0024: stloc.1 + IL_0025: ldloca.s 1 + IL_0027: call instance !0 valuetype [mscorlib]System.Nullable`1::GetValueOrDefault() + IL_002c: bne.un.s IL_003a - IL_0036: ldarg.0 - IL_0037: ldc.i4.0 - IL_0038: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) - IL_003d: call int32 valuetype NDesk.DBus.Signature::GetSize(valuetype NDesk.DBus.DType) - IL_0042: stloc.0 - IL_0043: ldloc.0 - IL_0044: ldc.i4.m1 - IL_0045: bne.un IL_004c + IL_002e: ldloca.s 1 + IL_0030: call instance bool valuetype [mscorlib]System.Nullable`1::get_HasValue() + IL_0035: ldc.i4.0 + IL_0036: ceq + IL_0038: br.s IL_003b - IL_004a: ldc.i4.0 - IL_004b: ret - IL_004c: ldarg.1 - IL_004d: ldarg.1 - IL_004e: ldind.i4 - IL_004f: ldloc.0 - IL_0050: add - IL_0051: stind.i4 - IL_0052: ldc.i4.1 - IL_0053: ret - IL_0054: ldarg.0 - IL_0055: call instance bool valuetype NDesk.DBus.Signature::get_IsStructlike() - IL_005a: brfalse IL_00aa + IL_003a: ldc.i4.1 + IL_003b: brfalse IL_0042 - IL_005f: ldarg.0 - IL_0060: call instance class [mscorlib]System.Collections.Generic.IEnumerable`1 valuetype NDesk.DBus.Signature::GetParts() - IL_0065: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() - IL_006a: stloc.2 + IL_0040: ldc.i4.0 + IL_0041: ret + IL_0042: ldarg.0 + IL_0043: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields + IL_0048: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1> class [System]System.Collections.Generic.SortedList`2::GetEnumerator() + IL_004d: stloc.3 .try { // 0 - IL_006b: br IL_008b + IL_004e: br IL_00a0 - IL_0070: ldloc.2 - IL_0071: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_0076: stloc.1 - IL_0077: ldloca.s 1 - IL_0079: ldarg.1 - IL_007a: call instance bool valuetype NDesk.DBus.Signature::GetFixedSize([out] int32&) - IL_007f: brtrue IL_008b + IL_0053: ldloc.3 + IL_0054: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1>::get_Current() + IL_0059: stloc.2 + IL_005a: ldarg.1 + IL_005b: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0060: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Header::Fields + IL_0065: ldloca.s 2 + IL_0067: call instance !0 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Key() + IL_006c: ldloca.s 4 + IL_006e: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) + IL_0073: brtrue IL_0080 - IL_0084: ldc.i4.0 - IL_0085: stloc.3 - IL_0086: leave IL_0124 + IL_0078: ldc.i4.0 + IL_0079: stloc.s 5 + IL_007b: leave IL_00bf - IL_008b: ldloc.2 - IL_008c: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0091: brtrue IL_0070 + IL_0080: ldloca.s 2 + IL_0082: call instance !1 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Value() + IL_0087: ldfld object NDesk.DBus.MatchTest::Value + IL_008c: ldloc.s 4 + IL_008e: callvirt instance bool object::Equals(object) + IL_0093: brtrue IL_00a0 - IL_0096: leave IL_00a8 + IL_0098: ldc.i4.0 + IL_0099: stloc.s 5 + IL_009b: leave IL_00bf + + IL_00a0: ldloc.3 + IL_00a1: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00a6: brtrue IL_0053 + + IL_00ab: leave IL_00bd } // end .try 0 finally { // 0 - IL_009b: ldloc.2 - IL_009c: brfalse IL_00a7 + IL_00b0: ldloc.3 + IL_00b1: brfalse IL_00bc - IL_00a1: ldloc.2 - IL_00a2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00a7: endfinally + IL_00b6: ldloc.3 + IL_00b7: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00bc: endfinally } // end handler 0 - IL_00a8: ldc.i4.1 - IL_00a9: ret - IL_00aa: ldarg.0 - IL_00ab: call instance bool valuetype NDesk.DBus.Signature::get_IsArray() - IL_00b0: brtrue IL_00c0 + IL_00bd: ldc.i4.1 + IL_00be: ret + IL_00bf: ldloc.s 5 + IL_00c1: ret + } // end of method MatchRule::MatchesHeader - IL_00b5: ldarg.0 - IL_00b6: call instance bool valuetype NDesk.DBus.Signature::get_IsDict() - IL_00bb: brfalse IL_00c2 + // method line 719 + .method public static hidebysig + default class NDesk.DBus.MatchRule Parse (string text) cil managed + { + // Method begins at RVA 0x72c8 + // Code size 676 (0x2a4) + .maxstack 3 + .locals init ( + class NDesk.DBus.MatchRule V_0, + class [System]System.Text.RegularExpressions.Match V_1, + string V_2, + string V_3, + class [System]System.Text.RegularExpressions.Match V_4, + int32 V_5, + string V_6, + valuetype [mscorlib]System.Nullable`1 V_7) + IL_0000: ldarg.0 + IL_0001: callvirt instance int32 string::get_Length() + IL_0006: conv.i8 + IL_0007: ldc.i4 1024 + IL_000c: conv.i8 + IL_000d: ble IL_0031 - IL_00c0: ldc.i4.0 - IL_00c1: ret - IL_00c2: ldarg.0 - IL_00c3: call instance bool valuetype NDesk.DBus.Signature::get_IsStruct() - IL_00c8: brfalse IL_011e + IL_0012: ldstr "Match rule length exceeds maximum " + IL_0017: ldc.i4 1024 + IL_001c: box [mscorlib]System.UInt32 + IL_0021: ldstr " characters" + IL_0026: call string string::Concat(object, object, object) + IL_002b: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0030: throw + IL_0031: newobj instance void class NDesk.DBus.MatchRule::'.ctor'() + IL_0036: stloc.0 + IL_0037: ldsfld class [System]System.Text.RegularExpressions.Regex NDesk.DBus.MatchRule::matchRuleRegex + IL_003c: ldarg.0 + IL_003d: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) + IL_0042: stloc.1 + IL_0043: br IL_0297 - IL_00cd: ldarg.0 - IL_00ce: call instance class [mscorlib]System.Collections.Generic.IEnumerable`1 valuetype NDesk.DBus.Signature::GetFieldSignatures() - IL_00d3: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() - IL_00d8: stloc.s 5 - .try { // 1 - IL_00da: br IL_00fc + IL_0048: ldloc.1 + IL_0049: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_004e: ldc.i4.1 + IL_004f: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(int32) + IL_0054: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_0059: stloc.2 + IL_005a: ldloc.1 + IL_005b: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_0060: ldc.i4.2 + IL_0061: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(int32) + IL_0066: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_006b: stloc.3 + IL_006c: ldloc.3 + IL_006d: ldstr "\\\\" + IL_0072: ldstr "\\" + IL_0077: callvirt instance string string::Replace(string, string) + IL_007c: stloc.3 + IL_007d: ldloc.3 + IL_007e: ldstr "\\'" + IL_0083: ldstr "'" + IL_0088: callvirt instance string string::Replace(string, string) + IL_008d: stloc.3 + IL_008e: ldloc.2 + IL_008f: ldstr "arg" + IL_0094: callvirt instance bool string::StartsWith(string) + IL_0099: brfalse IL_015d - IL_00df: ldloc.s 5 - IL_00e1: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_00e6: stloc.s 4 - IL_00e8: ldloca.s 4 - IL_00ea: ldarg.1 - IL_00eb: call instance bool valuetype NDesk.DBus.Signature::GetFixedSize([out] int32&) - IL_00f0: brtrue IL_00fc + IL_009e: ldsfld class [System]System.Text.RegularExpressions.Regex NDesk.DBus.MatchRule::argNRegex + IL_00a3: ldloc.2 + IL_00a4: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) + IL_00a9: stloc.s 4 + IL_00ab: ldloc.s 4 + IL_00ad: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() + IL_00b2: brtrue IL_00b9 - IL_00f5: ldc.i4.0 - IL_00f6: stloc.3 - IL_00f7: leave IL_0124 + IL_00b7: ldnull + IL_00b8: ret + IL_00b9: ldloc.s 4 + IL_00bb: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_00c0: ldc.i4.1 + IL_00c1: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(int32) + IL_00c6: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_00cb: call unsigned int32 unsigned int32::Parse(string) + IL_00d0: stloc.s 5 + IL_00d2: ldloc.s 5 + IL_00d4: ldc.i4.0 + IL_00d5: blt IL_00e5 - IL_00fc: ldloc.s 5 - IL_00fe: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0103: brtrue IL_00df + IL_00da: ldloc.s 5 + IL_00dc: conv.i8 + IL_00dd: ldc.i4.s 0x40 + IL_00df: conv.i8 + IL_00e0: blt IL_0101 - IL_0108: leave IL_011c + IL_00e5: ldstr "arg match must be between 0 and " + IL_00ea: ldc.i4.s 0x3f + IL_00ec: box [mscorlib]System.UInt32 + IL_00f1: ldstr " inclusive" + IL_00f6: call string string::Concat(object, object, object) + IL_00fb: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0100: throw + IL_0101: ldloc.s 4 + IL_0103: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_0108: ldc.i4.2 + IL_0109: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(int32) + IL_010e: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_0113: stloc.s 6 + IL_0115: ldloc.s 6 + IL_0117: ldstr "path" + IL_011c: call bool string::op_Equality(string, string) + IL_0121: brfalse IL_0144 - } // end .try 1 - finally { // 1 - IL_010d: ldloc.s 5 - IL_010f: brfalse IL_011b + IL_0126: ldloc.0 + IL_0127: ldfld class [System.Core]System.Collections.Generic.HashSet`1 NDesk.DBus.MatchRule::Args + IL_012c: ldloc.s 5 + IL_012e: ldloc.3 + IL_012f: newobj instance void class NDesk.DBus.ObjectPath::'.ctor'(string) + IL_0134: newobj instance void valuetype NDesk.DBus.ArgMatchTest::'.ctor'(int32, class NDesk.DBus.ObjectPath) + IL_0139: callvirt instance bool class [System.Core]System.Collections.Generic.HashSet`1::Add(!0) + IL_013e: pop + IL_013f: br IL_0158 - IL_0114: ldloc.s 5 - IL_0116: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_011b: endfinally - } // end handler 1 - IL_011c: ldc.i4.1 - IL_011d: ret - IL_011e: newobj instance void class [mscorlib]System.Exception::'.ctor'() - IL_0123: throw - IL_0124: ldloc.3 - IL_0125: ret - } // end of method Signature::GetFixedSize + IL_0144: ldloc.0 + IL_0145: ldfld class [System.Core]System.Collections.Generic.HashSet`1 NDesk.DBus.MatchRule::Args + IL_014a: ldloc.s 5 + IL_014c: ldloc.3 + IL_014d: newobj instance void valuetype NDesk.DBus.ArgMatchTest::'.ctor'(int32, string) + IL_0152: callvirt instance bool class [System.Core]System.Collections.Generic.HashSet`1::Add(!0) + IL_0157: pop + IL_0158: br IL_0290 - // method line 733 - .method public hidebysig specialname - instance default bool get_IsFixedSize () cil managed - { - // Method begins at RVA 0x7474 - // Code size 258 (0x102) - .maxstack 2 - .locals init ( - int32 V_0, - valuetype NDesk.DBus.Signature V_1, - class [mscorlib]System.Collections.Generic.IEnumerator`1 V_2, - bool V_3, - valuetype NDesk.DBus.Signature V_4, - class [mscorlib]System.Collections.Generic.IEnumerator`1 V_5) - IL_0000: ldarg.0 - IL_0001: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0006: ldlen - IL_0007: conv.i4 - IL_0008: brtrue IL_000f + IL_015d: ldloc.2 + IL_015e: brfalse IL_026c - IL_000d: ldc.i4.1 - IL_000e: ret - IL_000f: ldarg.0 - IL_0010: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0015: ldlen - IL_0016: conv.i4 - IL_0017: ldc.i4.1 - IL_0018: bne.un IL_0032 + IL_0163: ldloc.2 + IL_0164: ldstr "type" + IL_0169: call bool string::op_Equality(string, string) + IL_016e: brtrue IL_01c8 - IL_001d: ldarg.0 - IL_001e: ldc.i4.0 - IL_001f: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) - IL_0024: call int32 valuetype NDesk.DBus.Signature::GetSize(valuetype NDesk.DBus.DType) - IL_0029: stloc.0 - IL_002a: ldloc.0 - IL_002b: ldc.i4.m1 - IL_002c: ceq - IL_002e: ldc.i4.0 - IL_002f: ceq - IL_0031: ret - IL_0032: ldarg.0 - IL_0033: call instance bool valuetype NDesk.DBus.Signature::get_IsStructlike() - IL_0038: brfalse IL_0087 + IL_0173: ldloc.2 + IL_0174: ldstr "interface" + IL_0179: call bool string::op_Equality(string, string) + IL_017e: brtrue IL_01f4 - IL_003d: ldarg.0 - IL_003e: call instance class [mscorlib]System.Collections.Generic.IEnumerable`1 valuetype NDesk.DBus.Signature::GetParts() - IL_0043: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() - IL_0048: stloc.2 - .try { // 0 - IL_0049: br IL_0068 + IL_0183: ldloc.2 + IL_0184: ldstr "member" + IL_0189: call bool string::op_Equality(string, string) + IL_018e: brtrue IL_020b - IL_004e: ldloc.2 - IL_004f: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_0054: stloc.1 - IL_0055: ldloca.s 1 - IL_0057: call instance bool valuetype NDesk.DBus.Signature::get_IsFixedSize() - IL_005c: brtrue IL_0068 + IL_0193: ldloc.2 + IL_0194: ldstr "path" + IL_0199: call bool string::op_Equality(string, string) + IL_019e: brtrue IL_0222 - IL_0061: ldc.i4.0 - IL_0062: stloc.3 - IL_0063: leave IL_0100 + IL_01a3: ldloc.2 + IL_01a4: ldstr "sender" + IL_01a9: call bool string::op_Equality(string, string) + IL_01ae: brtrue IL_023e - IL_0068: ldloc.2 - IL_0069: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_006e: brtrue IL_004e + IL_01b3: ldloc.2 + IL_01b4: ldstr "destination" + IL_01b9: call bool string::op_Equality(string, string) + IL_01be: brtrue IL_0255 - IL_0073: leave IL_0085 + IL_01c3: br IL_026c - } // end .try 0 - finally { // 0 - IL_0078: ldloc.2 - IL_0079: brfalse IL_0084 + IL_01c8: ldloc.0 + IL_01c9: ldfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.MatchRule::MessageType + IL_01ce: stloc.s 7 + IL_01d0: ldloca.s 7 + IL_01d2: call instance bool valuetype [mscorlib]System.Nullable`1::get_HasValue() + IL_01d7: brfalse IL_01de - IL_007e: ldloc.2 - IL_007f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0084: endfinally - } // end handler 0 - IL_0085: ldc.i4.1 - IL_0086: ret - IL_0087: ldarg.0 - IL_0088: call instance bool valuetype NDesk.DBus.Signature::get_IsArray() - IL_008d: brtrue IL_009d + IL_01dc: ldnull + IL_01dd: ret + IL_01de: ldloc.0 + IL_01df: ldloc.3 + IL_01e0: call valuetype NDesk.DBus.MessageType class NDesk.DBus.MessageFilter::StringToMessageType(string) + IL_01e5: newobj instance void valuetype [mscorlib]System.Nullable`1::'.ctor'(!0) + IL_01ea: stfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.MatchRule::MessageType + IL_01ef: br IL_0290 - IL_0092: ldarg.0 - IL_0093: call instance bool valuetype NDesk.DBus.Signature::get_IsDict() - IL_0098: brfalse IL_009f + IL_01f4: ldloc.0 + IL_01f5: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields + IL_01fa: ldc.i4.2 + IL_01fb: ldloc.3 + IL_01fc: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(string) + IL_0201: callvirt instance void class [System]System.Collections.Generic.SortedList`2::set_Item(!0, !1) + IL_0206: br IL_0290 - IL_009d: ldc.i4.0 - IL_009e: ret - IL_009f: ldarg.0 - IL_00a0: call instance bool valuetype NDesk.DBus.Signature::get_IsStruct() - IL_00a5: brfalse IL_00fa + IL_020b: ldloc.0 + IL_020c: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields + IL_0211: ldc.i4.3 + IL_0212: ldloc.3 + IL_0213: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(string) + IL_0218: callvirt instance void class [System]System.Collections.Generic.SortedList`2::set_Item(!0, !1) + IL_021d: br IL_0290 - IL_00aa: ldarg.0 - IL_00ab: call instance class [mscorlib]System.Collections.Generic.IEnumerable`1 valuetype NDesk.DBus.Signature::GetFieldSignatures() - IL_00b0: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() - IL_00b5: stloc.s 5 - .try { // 1 - IL_00b7: br IL_00d8 + IL_0222: ldloc.0 + IL_0223: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields + IL_0228: ldc.i4.1 + IL_0229: ldloc.3 + IL_022a: newobj instance void class NDesk.DBus.ObjectPath::'.ctor'(string) + IL_022f: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(class NDesk.DBus.ObjectPath) + IL_0234: callvirt instance void class [System]System.Collections.Generic.SortedList`2::set_Item(!0, !1) + IL_0239: br IL_0290 - IL_00bc: ldloc.s 5 - IL_00be: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_00c3: stloc.s 4 - IL_00c5: ldloca.s 4 - IL_00c7: call instance bool valuetype NDesk.DBus.Signature::get_IsFixedSize() - IL_00cc: brtrue IL_00d8 + IL_023e: ldloc.0 + IL_023f: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields + IL_0244: ldc.i4.7 + IL_0245: ldloc.3 + IL_0246: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(string) + IL_024b: callvirt instance void class [System]System.Collections.Generic.SortedList`2::set_Item(!0, !1) + IL_0250: br IL_0290 - IL_00d1: ldc.i4.0 - IL_00d2: stloc.3 - IL_00d3: leave IL_0100 + IL_0255: ldloc.0 + IL_0256: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields + IL_025b: ldc.i4.6 + IL_025c: ldloc.3 + IL_025d: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(string) + IL_0262: callvirt instance void class [System]System.Collections.Generic.SortedList`2::set_Item(!0, !1) + IL_0267: br IL_0290 - IL_00d8: ldloc.s 5 - IL_00da: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00df: brtrue IL_00bc + IL_026c: ldsfld bool NDesk.DBus.Protocol::Verbose + IL_0271: brfalse IL_028b - IL_00e4: leave IL_00f8 + IL_0276: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_027b: ldstr "Warning: Unrecognized match rule key: " + IL_0280: ldloc.2 + IL_0281: call string string::Concat(string, string) + IL_0286: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_028b: br IL_0290 - } // end .try 1 - finally { // 1 - IL_00e9: ldloc.s 5 - IL_00eb: brfalse IL_00f7 + IL_0290: ldloc.1 + IL_0291: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Match::NextMatch() + IL_0296: stloc.1 + IL_0297: ldloc.1 + IL_0298: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() + IL_029d: brtrue IL_0048 - IL_00f0: ldloc.s 5 - IL_00f2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00f7: endfinally - } // end handler 1 - IL_00f8: ldc.i4.1 - IL_00f9: ret - IL_00fa: newobj instance void class [mscorlib]System.Exception::'.ctor'() - IL_00ff: throw - IL_0100: ldloc.3 - IL_0101: ret - } // end of method Signature::get_IsFixedSize + IL_02a2: ldloc.0 + IL_02a3: ret + } // end of method MatchRule::Parse - // method line 734 - .method public hidebysig specialname - instance default bool get_IsPrimitive () cil managed + // method line 720 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed { - // Method begins at RVA 0x75a0 - // Code size 48 (0x30) + // Method begins at RVA 0x7578 + // Code size 32 (0x20) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0006: ldlen - IL_0007: conv.i4 - IL_0008: ldc.i4.1 - IL_0009: beq IL_0010 - - IL_000e: ldc.i4.0 - IL_000f: ret - IL_0010: ldarg.0 - IL_0011: ldc.i4.0 - IL_0012: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) - IL_0017: ldc.i4.s 0x76 - IL_0019: bne.un IL_0020 - - IL_001e: ldc.i4.0 + IL_0000: ldstr "^arg(\\d+)(path)?$" + IL_0005: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) + IL_000a: stsfld class [System]System.Text.RegularExpressions.Regex NDesk.DBus.MatchRule::argNRegex + IL_000f: ldstr "(\\w+)\\s*=\\s*'((\\\\\\\\|\\\\'|[^'\\\\])*)'" + IL_0014: ldc.i4.8 + IL_0015: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) + IL_001a: stsfld class [System]System.Text.RegularExpressions.Regex NDesk.DBus.MatchRule::matchRuleRegex IL_001f: ret - IL_0020: ldarg.0 - IL_0021: ldc.i4.0 - IL_0022: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) - IL_0027: brtrue IL_002e - - IL_002c: ldc.i4.0 - IL_002d: ret - IL_002e: ldc.i4.1 - IL_002f: ret - } // end of method Signature::get_IsPrimitive + } // end of method MatchRule::.cctor - // method line 735 - .method public hidebysig specialname - instance default bool get_IsStruct () cil managed + // method line 721 + .method private static hidebysig + default int32 'm__0' (valuetype NDesk.DBus.ArgMatchTest aa, valuetype NDesk.DBus.ArgMatchTest bb) cil managed { - // Method begins at RVA 0x75d1 - // Code size 55 (0x37) + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x7599 + // Code size 16 (0x10) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance int32 valuetype NDesk.DBus.Signature::get_Length() - IL_0006: ldc.i4.2 - IL_0007: bge IL_000e + IL_0000: ldarga.s 0 + IL_0002: ldfld int32 NDesk.DBus.ArgMatchTest::ArgNum + IL_0007: ldarga.s 1 + IL_0009: ldfld int32 NDesk.DBus.ArgMatchTest::ArgNum + IL_000e: sub + IL_000f: ret + } // end of method MatchRule::m__0 - IL_000c: ldc.i4.0 - IL_000d: ret - IL_000e: ldarg.0 - IL_000f: ldc.i4.0 - IL_0010: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) - IL_0015: ldc.i4.s 0x28 - IL_0017: beq IL_001e + // method line 722 + .method private static hidebysig + default int32 'm__1' (valuetype NDesk.DBus.ArgMatchTest aa, valuetype NDesk.DBus.ArgMatchTest bb) cil managed + { + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_001c: ldc.i4.0 - IL_001d: ret - IL_001e: ldarg.0 - IL_001f: ldarg.0 - IL_0020: call instance int32 valuetype NDesk.DBus.Signature::get_Length() - IL_0025: ldc.i4.1 - IL_0026: sub - IL_0027: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) - IL_002c: ldc.i4.s 0x29 - IL_002e: beq IL_0035 + // Method begins at RVA 0x75aa + // Code size 16 (0x10) + .maxstack 8 + IL_0000: ldarga.s 0 + IL_0002: ldfld int32 NDesk.DBus.ArgMatchTest::ArgNum + IL_0007: ldarga.s 1 + IL_0009: ldfld int32 NDesk.DBus.ArgMatchTest::ArgNum + IL_000e: sub + IL_000f: ret + } // end of method MatchRule::m__1 - IL_0033: ldc.i4.0 - IL_0034: ret - IL_0035: ldc.i4.1 - IL_0036: ret - } // end of method Signature::get_IsStruct + .class nested private auto ansi sealed beforefieldinit 'c__AnonStorey0' + extends [mscorlib]System.Object + { + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 736 - .method public hidebysig specialname - instance default bool get_IsDictEntry () cil managed + .field assembly class [mscorlib]System.Collections.Generic.List`1 sigs + + // method line 1320 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x7609 - // Code size 55 (0x37) + // Method begins at RVA 0x75bb + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance int32 valuetype NDesk.DBus.Signature::get_Length() - IL_0006: ldc.i4.2 - IL_0007: bge IL_000e - - IL_000c: ldc.i4.0 - IL_000d: ret - IL_000e: ldarg.0 - IL_000f: ldc.i4.0 - IL_0010: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) - IL_0015: ldc.i4.s 0x7b - IL_0017: beq IL_001e - - IL_001c: ldc.i4.0 - IL_001d: ret - IL_001e: ldarg.0 - IL_001f: ldarg.0 - IL_0020: call instance int32 valuetype NDesk.DBus.Signature::get_Length() - IL_0025: ldc.i4.1 - IL_0026: sub - IL_0027: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) - IL_002c: ldc.i4.s 0x7d - IL_002e: beq IL_0035 - - IL_0033: ldc.i4.0 - IL_0034: ret - IL_0035: ldc.i4.1 - IL_0036: ret - } // end of method Signature::get_IsDictEntry + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method c__AnonStorey0::.ctor - // method line 737 - .method public hidebysig specialname - instance default bool get_IsStructlike () cil managed + // method line 1321 + .method assembly hidebysig + instance default bool '<>m__0' (valuetype NDesk.DBus.ArgMatchTest t) cil managed { - // Method begins at RVA 0x7641 - // Code size 55 (0x37) + // Method begins at RVA 0x75c3 + // Code size 57 (0x39) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance int32 valuetype NDesk.DBus.Signature::get_Length() - IL_0006: ldc.i4.2 - IL_0007: bge IL_000e + IL_0000: ldarga.s 1 + IL_0002: ldfld int32 NDesk.DBus.ArgMatchTest::ArgNum + IL_0007: ldarg.0 + IL_0008: ldfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.MatchRule/'c__AnonStorey0'::sigs + IL_000d: callvirt instance int32 class [mscorlib]System.Collections.Generic.List`1::get_Count() + IL_0012: bge IL_0037 - IL_000c: ldc.i4.0 - IL_000d: ret - IL_000e: ldarg.0 - IL_000f: call instance bool valuetype NDesk.DBus.Signature::get_IsArray() - IL_0014: brfalse IL_001b + IL_0017: ldarga.s 1 + IL_0019: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.ArgMatchTest::Signature + IL_001e: ldarg.0 + IL_001f: ldfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.MatchRule/'c__AnonStorey0'::sigs + IL_0024: ldarga.s 1 + IL_0026: ldfld int32 NDesk.DBus.ArgMatchTest::ArgNum + IL_002b: callvirt instance !0 class [mscorlib]System.Collections.Generic.List`1::get_Item(int32) + IL_0030: call bool valuetype NDesk.DBus.Signature::op_Inequality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0035: br.s IL_0038 - IL_0019: ldc.i4.0 - IL_001a: ret - IL_001b: ldarg.0 - IL_001c: call instance bool valuetype NDesk.DBus.Signature::get_IsDict() - IL_0021: brfalse IL_0028 + IL_0037: ldc.i4.1 + IL_0038: ret + } // end of method c__AnonStorey0::<>m__0 - IL_0026: ldc.i4.0 - IL_0027: ret - IL_0028: ldarg.0 - IL_0029: call instance bool valuetype NDesk.DBus.Signature::get_IsStruct() - IL_002e: brfalse IL_0035 + } // end of class c__AnonStorey0 - IL_0033: ldc.i4.0 - IL_0034: ret - IL_0035: ldc.i4.1 - IL_0036: ret - } // end of method Signature::get_IsStructlike + } // end of class NDesk.DBus.MatchRule +} - // method line 738 - .method public hidebysig specialname - instance default bool get_IsDict () cil managed +.namespace NDesk.DBus +{ + .class private auto ansi beforefieldinit HeaderTest + extends NDesk.DBus.MatchTest + { + .field public valuetype NDesk.DBus.FieldCode Field + + // method line 723 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (valuetype NDesk.DBus.FieldCode 'field', object 'value') cil managed { - // Method begins at RVA 0x7679 - // Code size 45 (0x2d) + // Method begins at RVA 0x7658 + // Code size 38 (0x26) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance int32 valuetype NDesk.DBus.Signature::get_Length() - IL_0006: ldc.i4.3 - IL_0007: bge IL_000e - - IL_000c: ldc.i4.0 - IL_000d: ret - IL_000e: ldarg.0 - IL_000f: call instance bool valuetype NDesk.DBus.Signature::get_IsArray() - IL_0014: brtrue IL_001b + IL_0001: call instance void class NDesk.DBus.MatchTest::'.ctor'() + IL_0006: ldarg.0 + IL_0007: ldarg.1 + IL_0008: stfld valuetype NDesk.DBus.FieldCode NDesk.DBus.HeaderTest::Field + IL_000d: ldarg.0 + IL_000e: ldarg.2 + IL_000f: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0014: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) + IL_0019: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MatchTest::Signature + IL_001e: ldarg.0 + IL_001f: ldarg.2 + IL_0020: stfld object NDesk.DBus.MatchTest::Value + IL_0025: ret + } // end of method HeaderTest::.ctor - IL_0019: ldc.i4.0 - IL_001a: ret - IL_001b: ldarg.0 - IL_001c: ldc.i4.1 - IL_001d: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) - IL_0022: ldc.i4.s 0x7b - IL_0024: beq IL_002b + } // end of class NDesk.DBus.HeaderTest +} - IL_0029: ldc.i4.0 - IL_002a: ret - IL_002b: ldc.i4.1 - IL_002c: ret - } // end of method Signature::get_IsDict +.namespace NDesk.DBus +{ + .class private sequential ansi sealed beforefieldinit ArgMatchTest + extends [mscorlib]System.ValueType + { + .field public int32 ArgNum + .field public valuetype NDesk.DBus.Signature Signature + .field public object Value - // method line 739 - .method public hidebysig specialname - instance default bool get_IsArray () cil managed + // method line 724 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (int32 argNum, string 'value') cil managed { - // Method begins at RVA 0x76a7 - // Code size 32 (0x20) + // Method begins at RVA 0x767f + // Code size 26 (0x1a) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance int32 valuetype NDesk.DBus.Signature::get_Length() - IL_0006: ldc.i4.2 - IL_0007: bge IL_000e - - IL_000c: ldc.i4.0 - IL_000d: ret - IL_000e: ldarg.0 - IL_000f: ldc.i4.0 - IL_0010: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) - IL_0015: ldc.i4.s 0x61 - IL_0017: beq IL_001e - - IL_001c: ldc.i4.0 - IL_001d: ret - IL_001e: ldc.i4.1 - IL_001f: ret - } // end of method Signature::get_IsArray + IL_0001: ldarg.1 + IL_0002: stfld int32 NDesk.DBus.ArgMatchTest::ArgNum + IL_0007: ldarg.0 + IL_0008: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::StringSig + IL_000d: stfld valuetype NDesk.DBus.Signature NDesk.DBus.ArgMatchTest::Signature + IL_0012: ldarg.0 + IL_0013: ldarg.2 + IL_0014: stfld object NDesk.DBus.ArgMatchTest::Value + IL_0019: ret + } // end of method ArgMatchTest::.ctor - // method line 740 - .method public hidebysig - instance default valuetype NDesk.DBus.Signature GetElementSignature () cil managed + // method line 725 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (int32 argNum, class NDesk.DBus.ObjectPath 'value') cil managed { - // Method begins at RVA 0x76c8 - // Code size 54 (0x36) - .maxstack 3 - .locals init ( - int32 V_0) + // Method begins at RVA 0x769a + // Code size 26 (0x1a) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance bool valuetype NDesk.DBus.Signature::get_IsArray() - IL_0006: brtrue IL_002b - - IL_000b: ldstr "Cannot get the element signature of a non-array (signature was '" - IL_0010: ldarg.0 - IL_0011: ldobj NDesk.DBus.Signature - IL_0016: box NDesk.DBus.Signature - IL_001b: ldstr "')" - IL_0020: call string string::Concat(object, object, object) - IL_0025: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_002a: throw - IL_002b: ldc.i4.1 - IL_002c: stloc.0 - IL_002d: ldarg.0 - IL_002e: ldloca.s 0 - IL_0030: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetNextSignature([out] int32&) - IL_0035: ret - } // end of method Signature::GetElementSignature + IL_0001: ldarg.1 + IL_0002: stfld int32 NDesk.DBus.ArgMatchTest::ArgNum + IL_0007: ldarg.0 + IL_0008: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::ObjectPathSig + IL_000d: stfld valuetype NDesk.DBus.Signature NDesk.DBus.ArgMatchTest::Signature + IL_0012: ldarg.0 + IL_0013: ldarg.2 + IL_0014: stfld object NDesk.DBus.ArgMatchTest::Value + IL_0019: ret + } // end of method ArgMatchTest::.ctor - // method line 741 - .method public hidebysig - instance default class [mscorlib]System.Type[] ToTypes () cil managed + // method line 726 + .method public virtual hidebysig + instance default int32 GetHashCode () cil managed { - // Method begins at RVA 0x770c - // Code size 65 (0x41) - .maxstack 3 - .locals init ( - class [mscorlib]System.Collections.Generic.List`1 V_0, - int32 V_1) + // Method begins at RVA 0x76b5 + // Code size 37 (0x25) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0006: brtrue IL_0011 - - IL_000b: ldsfld class [mscorlib]System.Type[] [mscorlib]System.Type::EmptyTypes - IL_0010: ret - IL_0011: newobj instance void class [mscorlib]System.Collections.Generic.List`1::'.ctor'() - IL_0016: stloc.0 - IL_0017: ldc.i4.0 - IL_0018: stloc.1 - IL_0019: br IL_002c - - IL_001e: ldloc.0 - IL_001f: ldarg.0 - IL_0020: ldloca.s 1 - IL_0022: call instance class [mscorlib]System.Type valuetype NDesk.DBus.Signature::ToType([out] int32&) - IL_0027: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Add(!0) - IL_002c: ldloc.1 - IL_002d: ldarg.0 - IL_002e: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0033: ldlen - IL_0034: conv.i4 - IL_0035: bne.un IL_001e - - IL_003a: ldloc.0 - IL_003b: callvirt instance !0[] class [mscorlib]System.Collections.Generic.List`1::ToArray() - IL_0040: ret - } // end of method Signature::ToTypes + IL_0001: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.ArgMatchTest::Signature + IL_0006: constrained. NDesk.DBus.Signature + IL_000c: callvirt instance int32 object::GetHashCode() + IL_0011: ldarg.0 + IL_0012: ldfld object NDesk.DBus.ArgMatchTest::Value + IL_0017: callvirt instance int32 object::GetHashCode() + IL_001c: xor + IL_001d: ldarg.0 + IL_001e: ldfld int32 NDesk.DBus.ArgMatchTest::ArgNum + IL_0023: xor + IL_0024: ret + } // end of method ArgMatchTest::GetHashCode - // method line 742 - .method public hidebysig - instance default class [mscorlib]System.Type ToType () cil managed - { - // Method begins at RVA 0x775c - // Code size 54 (0x36) - .maxstack 3 - .locals init ( - int32 V_0, - class [mscorlib]System.Type V_1) - IL_0000: ldc.i4.0 - IL_0001: stloc.0 - IL_0002: ldarg.0 - IL_0003: ldloca.s 0 - IL_0005: call instance class [mscorlib]System.Type valuetype NDesk.DBus.Signature::ToType([out] int32&) - IL_000a: stloc.1 - IL_000b: ldloc.0 - IL_000c: ldarg.0 - IL_000d: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0012: ldlen - IL_0013: conv.i4 - IL_0014: beq IL_0034 + } // end of class NDesk.DBus.ArgMatchTest +} - IL_0019: ldstr "Signature '" - IL_001e: ldarg.0 - IL_001f: call instance string valuetype NDesk.DBus.Signature::get_Value() - IL_0024: ldstr "' is not a single complete type" - IL_0029: call string string::Concat(string, string, string) - IL_002e: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0033: throw - IL_0034: ldloc.1 - IL_0035: ret - } // end of method Signature::ToType +.namespace NDesk.DBus +{ + .class private auto ansi beforefieldinit MatchTest + extends [mscorlib]System.Object + { + .field public valuetype NDesk.DBus.Signature Signature + .field public object Value - // method line 743 - .method assembly static hidebysig - default valuetype NDesk.DBus.DType TypeCodeToDType (valuetype [mscorlib]System.TypeCode typeCode) cil managed + // method line 727 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x77a0 - // Code size 138 (0x8a) - .maxstack 1 + // Method begins at RVA 0x75fd + // Code size 7 (0x7) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: switch ( - IL_0057, - IL_0059, - IL_005b, - IL_005d, - IL_0060, - IL_0063, - IL_0066, - IL_0069, - IL_006c, - IL_006f, - IL_0072, - IL_0075, - IL_0078, - IL_007b, - IL_007e, - IL_0081, - IL_0083, - IL_0088, - IL_0085) - IL_0052: br IL_0088 - - IL_0057: ldc.i4.0 - IL_0058: ret - IL_0059: ldc.i4.0 - IL_005a: ret - IL_005b: ldc.i4.0 - IL_005c: ret - IL_005d: ldc.i4.s 0x62 - IL_005f: ret - IL_0060: ldc.i4.s 0x71 - IL_0062: ret - IL_0063: ldc.i4.s 0x79 - IL_0065: ret - IL_0066: ldc.i4.s 0x79 - IL_0068: ret - IL_0069: ldc.i4.s 0x6e - IL_006b: ret - IL_006c: ldc.i4.s 0x71 - IL_006e: ret - IL_006f: ldc.i4.s 0x69 - IL_0071: ret - IL_0072: ldc.i4.s 0x75 - IL_0074: ret - IL_0075: ldc.i4.s 0x78 - IL_0077: ret - IL_0078: ldc.i4.s 0x74 - IL_007a: ret - IL_007b: ldc.i4.s 0x66 - IL_007d: ret - IL_007e: ldc.i4.s 0x64 - IL_0080: ret - IL_0081: ldc.i4.0 - IL_0082: ret - IL_0083: ldc.i4.0 - IL_0084: ret - IL_0085: ldc.i4.s 0x73 - IL_0087: ret - IL_0088: ldc.i4.0 - IL_0089: ret - } // end of method Signature::TypeCodeToDType + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method MatchTest::.ctor - // method line 744 - .method assembly static hidebysig - default valuetype NDesk.DBus.DType TypeToDType (class [mscorlib]System.Type 'type') cil managed + // method line 728 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string 'value') cil managed { - // Method begins at RVA 0x7838 - // Code size 220 (0xdc) - .maxstack 2 + // Method begins at RVA 0x7605 + // Code size 25 (0x19) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldtoken [mscorlib]System.Void - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0010: brfalse IL_0017 - - IL_0015: ldc.i4.0 - IL_0016: ret - IL_0017: ldarg.0 - IL_0018: ldtoken [mscorlib]System.String - IL_001d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0022: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0027: brfalse IL_002f - - IL_002c: ldc.i4.s 0x73 - IL_002e: ret - IL_002f: ldarg.0 - IL_0030: ldtoken NDesk.DBus.ObjectPath - IL_0035: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_003a: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_003f: brfalse IL_0047 - - IL_0044: ldc.i4.s 0x6f - IL_0046: ret - IL_0047: ldarg.0 - IL_0048: ldtoken NDesk.DBus.Signature - IL_004d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0052: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0057: brfalse IL_005f - - IL_005c: ldc.i4.s 0x67 - IL_005e: ret - IL_005f: ldarg.0 - IL_0060: ldtoken [mscorlib]System.Object - IL_0065: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_006a: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_006f: brfalse IL_0077 - - IL_0074: ldc.i4.s 0x76 - IL_0076: ret - IL_0077: ldarg.0 - IL_0078: callvirt instance bool class [mscorlib]System.Type::get_IsPrimitive() - IL_007d: brfalse IL_008e - - IL_0082: ldarg.0 - IL_0083: call valuetype [mscorlib]System.TypeCode class [mscorlib]System.Type::GetTypeCode(class [mscorlib]System.Type) - IL_0088: call valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::TypeCodeToDType(valuetype [mscorlib]System.TypeCode) - IL_008d: ret - IL_008e: ldarg.0 - IL_008f: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() - IL_0094: brfalse IL_00a5 - - IL_0099: ldarg.0 - IL_009a: call class [mscorlib]System.Type class [mscorlib]System.Enum::GetUnderlyingType(class [mscorlib]System.Type) - IL_009f: call valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::TypeToDType(class [mscorlib]System.Type) - IL_00a4: ret - IL_00a5: ldarg.0 - IL_00a6: callvirt instance bool class [mscorlib]System.Type::get_IsArray() - IL_00ab: brfalse IL_00b3 - - IL_00b0: ldc.i4.s 0x61 - IL_00b2: ret - IL_00b3: ldarg.0 - IL_00b4: call bool class NDesk.DBus.Mapper::IsPublic(class [mscorlib]System.Type) - IL_00b9: brfalse IL_00c1 - - IL_00be: ldc.i4.s 0x6f - IL_00c0: ret - IL_00c1: ldarg.0 - IL_00c2: callvirt instance bool class [mscorlib]System.Type::get_IsPrimitive() - IL_00c7: brtrue IL_00da - - IL_00cc: ldarg.0 - IL_00cd: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() - IL_00d2: brtrue IL_00da - - IL_00d7: ldc.i4.s 0x72 - IL_00d9: ret - IL_00da: ldc.i4.0 - IL_00db: ret - } // end of method Signature::TypeToDType + IL_0001: call instance void object::'.ctor'() + IL_0006: ldarg.0 + IL_0007: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::StringSig + IL_000c: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MatchTest::Signature + IL_0011: ldarg.0 + IL_0012: ldarg.1 + IL_0013: stfld object NDesk.DBus.MatchTest::Value + IL_0018: ret + } // end of method MatchTest::.ctor - // method line 745 - .method public hidebysig - instance default class [mscorlib]System.Collections.Generic.IEnumerable`1 GetFieldSignatures () cil managed + // method line 729 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NDesk.DBus.ObjectPath 'value') cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x7920 - // Code size 28 (0x1c) - .maxstack 3 - .locals init ( - class NDesk.DBus.Signature/'c__Iterator0' V_0) - IL_0000: newobj instance void class NDesk.DBus.Signature/'c__Iterator0'::'.ctor'() - IL_0005: stloc.0 - IL_0006: ldloc.0 - IL_0007: ldarg.0 - IL_0008: ldobj NDesk.DBus.Signature - IL_000d: stfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator0'::$this - IL_0012: ldloc.0 - IL_0013: dup - IL_0014: ldc.i4.s 0xfffffffe - IL_0016: stfld int32 NDesk.DBus.Signature/'c__Iterator0'::$PC - IL_001b: ret - } // end of method Signature::GetFieldSignatures + // Method begins at RVA 0x761f + // Code size 25 (0x19) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ldarg.0 + IL_0007: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::ObjectPathSig + IL_000c: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MatchTest::Signature + IL_0011: ldarg.0 + IL_0012: ldarg.1 + IL_0013: stfld object NDesk.DBus.MatchTest::Value + IL_0018: ret + } // end of method MatchTest::.ctor - // method line 746 - .method public hidebysig - instance default void GetDictEntrySignatures ([out] valuetype NDesk.DBus.Signature& sigKey, [out] valuetype NDesk.DBus.Signature& sigValue) cil managed + // method line 730 + .method public virtual hidebysig + instance default int32 GetHashCode () cil managed { - // Method begins at RVA 0x7948 - // Code size 77 (0x4d) - .maxstack 3 - .locals init ( - int32 V_0) + // Method begins at RVA 0x7639 + // Code size 30 (0x1e) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldobj NDesk.DBus.Signature - IL_0006: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty - IL_000b: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0010: brtrue IL_0023 + IL_0001: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MatchTest::Signature + IL_0006: constrained. NDesk.DBus.Signature + IL_000c: callvirt instance int32 object::GetHashCode() + IL_0011: ldarg.0 + IL_0012: ldfld object NDesk.DBus.MatchTest::Value + IL_0017: callvirt instance int32 object::GetHashCode() + IL_001c: xor + IL_001d: ret + } // end of method MatchTest::GetHashCode - IL_0015: ldarg.0 - IL_0016: ldc.i4.0 - IL_0017: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) - IL_001c: ldc.i4.s 0x7b - IL_001e: beq IL_002e + } // end of class NDesk.DBus.MatchTest +} - IL_0023: ldstr "Not a DictEntry" - IL_0028: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_002d: throw - IL_002e: ldc.i4.1 - IL_002f: stloc.0 - IL_0030: ldarg.1 - IL_0031: ldarg.0 - IL_0032: ldloca.s 0 - IL_0034: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetNextSignature([out] int32&) - IL_0039: stobj NDesk.DBus.Signature - IL_003e: ldarg.2 - IL_003f: ldarg.0 - IL_0040: ldloca.s 0 - IL_0042: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetNextSignature([out] int32&) - IL_0047: stobj NDesk.DBus.Signature - IL_004c: ret - } // end of method Signature::GetDictEntrySignatures +.namespace NDesk.DBus +{ + .class private auto ansi beforefieldinit Message + extends [mscorlib]System.Object + { + .field public class NDesk.DBus.Header Header + .field public class NDesk.DBus.Connection Connection + .field public unsigned int8[] Body + .field private static class [mscorlib]System.Reflection.MethodInfo hHandler - // method line 747 - .method public hidebysig - instance default class [mscorlib]System.Collections.Generic.IEnumerable`1 GetParts () cil managed + // method line 731 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x79a4 - // Code size 28 (0x1c) - .maxstack 3 - .locals init ( - class NDesk.DBus.Signature/'c__Iterator1' V_0) - IL_0000: newobj instance void class NDesk.DBus.Signature/'c__Iterator1'::'.ctor'() - IL_0005: stloc.0 - IL_0006: ldloc.0 - IL_0007: ldarg.0 - IL_0008: ldobj NDesk.DBus.Signature - IL_000d: stfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator1'::$this - IL_0012: ldloc.0 - IL_0013: dup - IL_0014: ldc.i4.s 0xfffffffe - IL_0016: stfld int32 NDesk.DBus.Signature/'c__Iterator1'::$PC - IL_001b: ret - } // end of method Signature::GetParts + // Method begins at RVA 0x76dc + // Code size 86 (0x56) + .maxstack 2 + IL_0000: ldarg.0 + IL_0001: newobj instance void class NDesk.DBus.Header::'.ctor'() + IL_0006: stfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_000b: ldarg.0 + IL_000c: call instance void object::'.ctor'() + IL_0011: ldarg.0 + IL_0012: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0017: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness + IL_001c: stfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Header::Endianness + IL_0021: ldarg.0 + IL_0022: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0027: ldc.i4.1 + IL_0028: stfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType + IL_002d: ldarg.0 + IL_002e: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0033: ldc.i4.1 + IL_0034: stfld valuetype NDesk.DBus.HeaderFlag NDesk.DBus.Header::Flags + IL_0039: ldarg.0 + IL_003a: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_003f: ldc.i4.1 + IL_0040: stfld unsigned int8 NDesk.DBus.Header::MajorVersion + IL_0045: ldarg.0 + IL_0046: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_004b: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() + IL_0050: stfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Header::Fields + IL_0055: ret + } // end of method Message::.ctor - // method line 748 - .method public hidebysig - instance default valuetype NDesk.DBus.Signature GetNextSignature (int32& pos) cil managed + // method line 732 + .method public hidebysig specialname + instance default valuetype NDesk.DBus.Signature get_Signature () cil managed { - // Method begins at RVA 0x79cc - // Code size 249 (0xf9) - .maxstack 4 + // Method begins at RVA 0x7740 + // Code size 32 (0x20) + .maxstack 2 .locals init ( - valuetype NDesk.DBus.DType V_0, - int32 V_1, - valuetype NDesk.DBus.Signature V_2, - valuetype NDesk.DBus.Signature V_3, - valuetype NDesk.DBus.Signature V_4, - valuetype NDesk.DBus.Signature V_5, - valuetype NDesk.DBus.Signature V_6, - valuetype NDesk.DBus.Signature V_7) + object V_0) IL_0000: ldarg.0 - IL_0001: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0006: brtrue IL_0011 - - IL_000b: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty - IL_0010: ret - IL_0011: ldarg.0 - IL_0012: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0017: ldarg.1 - IL_0018: ldarg.1 - IL_0019: ldind.i4 - IL_001a: dup - IL_001b: stloc.1 - IL_001c: ldc.i4.1 - IL_001d: add - IL_001e: stind.i4 - IL_001f: ldloc.1 - IL_0020: ldelem.u1 - IL_0021: stloc.0 - IL_0022: ldloc.0 - IL_0023: ldc.i4.s 0x28 - IL_0025: beq IL_0084 - - IL_002a: ldloc.0 - IL_002b: ldc.i4.s 0x61 - IL_002d: beq IL_003f - - IL_0032: ldloc.0 - IL_0033: ldc.i4.s 0x7b - IL_0035: beq IL_00d0 - - IL_003a: br IL_00f2 + IL_0001: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0006: ldc.i4.8 + IL_0007: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: brtrue IL_0019 - IL_003f: ldarg.0 - IL_0040: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0045: ldarg.1 - IL_0046: ldind.i4 - IL_0047: ldelem.u1 - IL_0048: ldc.i4.s 0x7b - IL_004a: bne.un IL_0073 + IL_0013: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + IL_0018: ret + IL_0019: ldloc.0 + IL_001a: unbox.any NDesk.DBus.Signature + IL_001f: ret + } // end of method Message::get_Signature - IL_004f: ldarg.1 - IL_0050: ldarg.1 - IL_0051: ldind.i4 - IL_0052: ldc.i4.1 - IL_0053: add - IL_0054: stind.i4 - IL_0055: ldarg.0 - IL_0056: ldarg.1 - IL_0057: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetNextSignature([out] int32&) - IL_005c: stloc.2 - IL_005d: ldarg.0 - IL_005e: ldarg.1 - IL_005f: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetNextSignature([out] int32&) - IL_0064: stloc.3 - IL_0065: ldarg.1 - IL_0066: ldarg.1 - IL_0067: ldind.i4 - IL_0068: ldc.i4.1 - IL_0069: add - IL_006a: stind.i4 - IL_006b: ldloc.2 - IL_006c: ldloc.3 - IL_006d: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::MakeDict(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0072: ret - IL_0073: ldarg.0 - IL_0074: ldarg.1 - IL_0075: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetNextSignature([out] int32&) - IL_007a: stloc.s 4 - IL_007c: ldloca.s 4 - IL_007e: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::MakeArraySignature() - IL_0083: ret - IL_0084: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty - IL_0089: stloc.s 5 - IL_008b: br IL_00a0 + // method line 733 + .method public hidebysig specialname + instance default void set_Signature (valuetype NDesk.DBus.Signature 'value') cil managed + { + // Method begins at RVA 0x776c + // Code size 53 (0x35) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + IL_0006: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_000b: brfalse IL_0022 - IL_0090: ldloc.s 5 - IL_0092: ldarg.0 - IL_0093: ldarg.1 - IL_0094: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetNextSignature([out] int32&) - IL_0099: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_009e: stloc.s 5 - IL_00a0: ldarg.0 - IL_00a1: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_00a6: ldarg.1 - IL_00a7: ldind.i4 - IL_00a8: ldelem.u1 - IL_00a9: ldc.i4.s 0x29 - IL_00ab: bne.un IL_0090 + IL_0010: ldarg.0 + IL_0011: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0016: ldc.i4.8 + IL_0017: ldnull + IL_0018: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) + IL_001d: br IL_0034 - IL_00b0: ldarg.1 - IL_00b1: ldarg.1 - IL_00b2: ldind.i4 - IL_00b3: ldc.i4.1 - IL_00b4: add - IL_00b5: stind.i4 - IL_00b6: ldc.i4.1 - IL_00b7: newarr NDesk.DBus.Signature - IL_00bc: dup - IL_00bd: ldc.i4.0 - IL_00be: ldelema NDesk.DBus.Signature - IL_00c3: ldloc.s 5 - IL_00c5: stobj NDesk.DBus.Signature - IL_00ca: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::MakeStruct(valuetype NDesk.DBus.Signature[]) - IL_00cf: ret - IL_00d0: ldarg.0 - IL_00d1: ldarg.1 - IL_00d2: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetNextSignature([out] int32&) - IL_00d7: stloc.s 6 - IL_00d9: ldarg.0 - IL_00da: ldarg.1 - IL_00db: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetNextSignature([out] int32&) - IL_00e0: stloc.s 7 - IL_00e2: ldarg.1 - IL_00e3: ldarg.1 - IL_00e4: ldind.i4 - IL_00e5: ldc.i4.1 - IL_00e6: add - IL_00e7: stind.i4 - IL_00e8: ldloc.s 6 - IL_00ea: ldloc.s 7 - IL_00ec: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::MakeDictEntry(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_00f1: ret - IL_00f2: ldloc.0 - IL_00f3: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) - IL_00f8: ret - } // end of method Signature::GetNextSignature + IL_0022: ldarg.0 + IL_0023: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0028: ldc.i4.8 + IL_0029: ldarg.1 + IL_002a: box NDesk.DBus.Signature + IL_002f: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) + IL_0034: ret + } // end of method Message::set_Signature - // method line 749 - .method public hidebysig - instance default class [mscorlib]System.Type ToType (int32& pos) cil managed + // method line 734 + .method public hidebysig specialname + instance default bool get_ReplyExpected () cil managed { - // Method begins at RVA 0x7ad4 - // Code size 489 (0x1e9) - .maxstack 5 - .locals init ( - valuetype NDesk.DBus.DType V_0, - int32 V_1, - class [mscorlib]System.Type V_2, - class [mscorlib]System.Type V_3) + // Method begins at RVA 0x77a2 + // Code size 18 (0x12) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_0006: brtrue IL_0016 - - IL_000b: ldtoken [mscorlib]System.Void - IL_0010: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0015: ret - IL_0016: ldarg.0 - IL_0017: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_001c: ldarg.1 - IL_001d: ldarg.1 - IL_001e: ldind.i4 - IL_001f: dup - IL_0020: stloc.1 - IL_0021: ldc.i4.1 - IL_0022: add - IL_0023: stind.i4 - IL_0024: ldloc.1 - IL_0025: ldelem.u1 - IL_0026: stloc.0 - IL_0027: ldloc.0 - IL_0028: ldc.i4.s 0x61 - IL_002a: sub - IL_002b: switch ( - IL_0139, - IL_00b5, - IL_0094, - IL_010d, - IL_019b, - IL_0102, - IL_012e, - IL_0094, - IL_00d6, - IL_0094, - IL_0094, - IL_0094, - IL_0094, - IL_00c0, - IL_0123, - IL_0094, - IL_00cb, - IL_0190, - IL_0118, - IL_00f7, - IL_00e1, - IL_01a6, - IL_0094, - IL_00ec, - IL_00aa) - IL_0094: ldloc.0 - IL_0095: brfalse IL_009f + IL_0001: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0006: ldfld valuetype NDesk.DBus.HeaderFlag NDesk.DBus.Header::Flags + IL_000b: ldc.i4.1 + IL_000c: and + IL_000d: conv.u1 + IL_000e: ldc.i4.0 + IL_000f: ceq + IL_0011: ret + } // end of method Message::get_ReplyExpected - IL_009a: br IL_01b1 + // method line 735 + .method public hidebysig specialname + instance default void set_ReplyExpected (bool 'value') cil managed + { + // Method begins at RVA 0x77b5 + // Code size 56 (0x38) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: brfalse IL_0023 - IL_009f: ldtoken [mscorlib]System.Void - IL_00a4: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00a9: ret - IL_00aa: ldtoken [mscorlib]System.Byte - IL_00af: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00b4: ret - IL_00b5: ldtoken [mscorlib]System.Boolean - IL_00ba: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00bf: ret - IL_00c0: ldtoken [mscorlib]System.Int16 - IL_00c5: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00ca: ret - IL_00cb: ldtoken [mscorlib]System.UInt16 - IL_00d0: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00d5: ret - IL_00d6: ldtoken [mscorlib]System.Int32 - IL_00db: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00e0: ret - IL_00e1: ldtoken [mscorlib]System.UInt32 - IL_00e6: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00eb: ret - IL_00ec: ldtoken [mscorlib]System.Int64 - IL_00f1: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00f6: ret - IL_00f7: ldtoken [mscorlib]System.UInt64 - IL_00fc: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0101: ret - IL_0102: ldtoken [mscorlib]System.Single - IL_0107: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_010c: ret - IL_010d: ldtoken [mscorlib]System.Double - IL_0112: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0117: ret - IL_0118: ldtoken [mscorlib]System.String - IL_011d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0122: ret - IL_0123: ldtoken NDesk.DBus.ObjectPath - IL_0128: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_012d: ret - IL_012e: ldtoken NDesk.DBus.Signature - IL_0133: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0138: ret - IL_0139: ldarg.0 - IL_013a: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_013f: ldarg.1 - IL_0140: ldind.i4 - IL_0141: ldelem.u1 - IL_0142: ldc.i4.s 0x7b - IL_0144: bne.un IL_0183 + IL_0006: ldarg.0 + IL_0007: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_000c: dup + IL_000d: ldfld valuetype NDesk.DBus.HeaderFlag NDesk.DBus.Header::Flags + IL_0012: ldc.i4 254 + IL_0017: and + IL_0018: conv.u1 + IL_0019: stfld valuetype NDesk.DBus.HeaderFlag NDesk.DBus.Header::Flags + IL_001e: br IL_0037 - IL_0149: ldarg.1 - IL_014a: ldarg.1 - IL_014b: ldind.i4 - IL_014c: ldc.i4.1 - IL_014d: add - IL_014e: stind.i4 - IL_014f: ldarg.0 - IL_0150: ldarg.1 - IL_0151: call instance class [mscorlib]System.Type valuetype NDesk.DBus.Signature::ToType([out] int32&) - IL_0156: stloc.2 - IL_0157: ldarg.0 - IL_0158: ldarg.1 - IL_0159: call instance class [mscorlib]System.Type valuetype NDesk.DBus.Signature::ToType([out] int32&) - IL_015e: stloc.3 - IL_015f: ldarg.1 - IL_0160: ldarg.1 - IL_0161: ldind.i4 - IL_0162: ldc.i4.1 - IL_0163: add - IL_0164: stind.i4 - IL_0165: ldtoken [mscorlib]System.Collections.Generic.IDictionary`2 - IL_016a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_016f: ldc.i4.2 - IL_0170: newarr [mscorlib]System.Type - IL_0175: dup - IL_0176: ldc.i4.0 - IL_0177: ldloc.2 - IL_0178: stelem.ref - IL_0179: dup - IL_017a: ldc.i4.1 - IL_017b: ldloc.3 - IL_017c: stelem.ref - IL_017d: call class [mscorlib]System.Type class NDesk.DBus.Mapper::GetGenericType(class [mscorlib]System.Type, class [mscorlib]System.Type[]) - IL_0182: ret - IL_0183: ldarg.0 - IL_0184: ldarg.1 - IL_0185: call instance class [mscorlib]System.Type valuetype NDesk.DBus.Signature::ToType([out] int32&) - IL_018a: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::MakeArrayType() - IL_018f: ret - IL_0190: ldtoken [mscorlib]System.ValueType - IL_0195: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_019a: ret - IL_019b: ldtoken [mscorlib]System.Collections.Generic.KeyValuePair`2 - IL_01a0: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_01a5: ret - IL_01a6: ldtoken [mscorlib]System.Object - IL_01ab: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_01b0: ret - IL_01b1: ldc.i4.4 - IL_01b2: newarr [mscorlib]System.Object - IL_01b7: dup - IL_01b8: ldc.i4.0 - IL_01b9: ldstr "Parsing or converting this signature is not yet supported (signature was '" - IL_01be: stelem.ref - IL_01bf: dup - IL_01c0: ldc.i4.1 - IL_01c1: ldarg.0 - IL_01c2: ldobj NDesk.DBus.Signature - IL_01c7: box NDesk.DBus.Signature - IL_01cc: stelem.ref - IL_01cd: dup - IL_01ce: ldc.i4.2 - IL_01cf: ldstr "'), at DType." - IL_01d4: stelem.ref - IL_01d5: dup - IL_01d6: ldc.i4.3 - IL_01d7: ldloc.0 - IL_01d8: box NDesk.DBus.DType - IL_01dd: stelem.ref - IL_01de: call string string::Concat(object[]) - IL_01e3: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) - IL_01e8: throw - } // end of method Signature::ToType + IL_0023: ldarg.0 + IL_0024: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0029: dup + IL_002a: ldfld valuetype NDesk.DBus.HeaderFlag NDesk.DBus.Header::Flags + IL_002f: ldc.i4.1 + IL_0030: or + IL_0031: conv.u1 + IL_0032: stfld valuetype NDesk.DBus.HeaderFlag NDesk.DBus.Header::Flags + IL_0037: ret + } // end of method Message::set_ReplyExpected - // method line 750 - .method public static hidebysig - default valuetype NDesk.DBus.Signature GetSig (object[] objs) cil managed + // method line 736 + .method public hidebysig + instance default void HandleHeader (class NDesk.DBus.Header headerIn) cil managed { - // Method begins at RVA 0x7cc9 - // Code size 12 (0xc) + // Method begins at RVA 0x77ee + // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call class [mscorlib]System.Type[] class [mscorlib]System.Type::GetTypeArray(object[]) - IL_0006: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type[]) - IL_000b: ret - } // end of method Signature::GetSig + IL_0001: ldarg.1 + IL_0002: stfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0007: ret + } // end of method Message::HandleHeader - // method line 751 - .method public static hidebysig - default valuetype NDesk.DBus.Signature GetSig (class [mscorlib]System.Type[] types) cil managed + // method line 737 + .method public hidebysig + instance default void SetHeaderData (unsigned int8[] data) cil managed { - // Method begins at RVA 0x7cd8 - // Code size 64 (0x40) + // Method begins at RVA 0x77f8 + // Code size 38 (0x26) + .maxstack 5 + .locals init ( + valuetype NDesk.DBus.EndianFlag V_0, + class NDesk.DBus.MessageReader V_1, + class NDesk.DBus.MethodCaller2 V_2) + IL_0000: ldarg.1 + IL_0001: ldc.i4.0 + IL_0002: ldelem.u1 + IL_0003: stloc.0 + IL_0004: ldloc.0 + IL_0005: ldarg.1 + IL_0006: newobj instance void class NDesk.DBus.MessageReader::'.ctor'(valuetype NDesk.DBus.EndianFlag, unsigned int8[]) + IL_000b: stloc.1 + IL_000c: ldsfld class [mscorlib]System.Reflection.MethodInfo NDesk.DBus.Message::hHandler + IL_0011: call class NDesk.DBus.MethodCaller2 class NDesk.DBus.ExportObject::GetMCaller(class [mscorlib]System.Reflection.MethodInfo) + IL_0016: stloc.2 + IL_0017: ldloc.2 + IL_0018: ldarg.0 + IL_0019: ldloc.1 + IL_001a: ldnull + IL_001b: newobj instance void class NDesk.DBus.MessageWriter::'.ctor'() + IL_0020: callvirt instance void class NDesk.DBus.MethodCaller2::Invoke(object, class NDesk.DBus.MessageReader, class NDesk.DBus.Message, class NDesk.DBus.MessageWriter) + IL_0025: ret + } // end of method Message::SetHeaderData + + // method line 738 + .method public hidebysig + instance default unsigned int8[] GetHeaderData () cil managed + { + // Method begins at RVA 0x782c + // Code size 179 (0xb3) .maxstack 2 .locals init ( - valuetype NDesk.DBus.Signature V_0, - class [mscorlib]System.Type V_1, - class [mscorlib]System.Type[] V_2, - int32 V_3) + class NDesk.DBus.MessageWriter V_0) IL_0000: ldarg.0 - IL_0001: brtrue IL_0011 - - IL_0006: ldstr "types" - IL_000b: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0010: throw - IL_0011: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty - IL_0016: stloc.0 - IL_0017: ldarg.0 - IL_0018: stloc.2 - IL_0019: ldc.i4.0 - IL_001a: stloc.3 - IL_001b: br IL_0035 - - IL_0020: ldloc.2 - IL_0021: ldloc.3 - IL_0022: ldelem.ref - IL_0023: stloc.1 - IL_0024: ldloc.0 - IL_0025: ldloc.1 - IL_0026: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) - IL_002b: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0030: stloc.0 - IL_0031: ldloc.3 - IL_0032: ldc.i4.1 - IL_0033: add - IL_0034: stloc.3 - IL_0035: ldloc.3 - IL_0036: ldloc.2 - IL_0037: ldlen - IL_0038: conv.i4 - IL_0039: blt IL_0020 + IL_0001: ldfld unsigned int8[] NDesk.DBus.Message::Body + IL_0006: brfalse IL_001e - IL_003e: ldloc.0 - IL_003f: ret - } // end of method Signature::GetSig + IL_000b: ldarg.0 + IL_000c: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0011: ldarg.0 + IL_0012: ldfld unsigned int8[] NDesk.DBus.Message::Body + IL_0017: ldlen + IL_0018: conv.i4 + IL_0019: stfld unsigned int32 NDesk.DBus.Header::Length + IL_001e: ldarg.0 + IL_001f: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0024: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Header::Endianness + IL_0029: newobj instance void class NDesk.DBus.MessageWriter::'.ctor'(valuetype NDesk.DBus.EndianFlag) + IL_002e: stloc.0 + IL_002f: ldloc.0 + IL_0030: ldarg.0 + IL_0031: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0036: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Header::Endianness + IL_003b: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int8) + IL_0040: ldloc.0 + IL_0041: ldarg.0 + IL_0042: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0047: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType + IL_004c: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int8) + IL_0051: ldloc.0 + IL_0052: ldarg.0 + IL_0053: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0058: ldfld valuetype NDesk.DBus.HeaderFlag NDesk.DBus.Header::Flags + IL_005d: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int8) + IL_0062: ldloc.0 + IL_0063: ldarg.0 + IL_0064: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0069: ldfld unsigned int8 NDesk.DBus.Header::MajorVersion + IL_006e: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int8) + IL_0073: ldloc.0 + IL_0074: ldarg.0 + IL_0075: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_007a: ldfld unsigned int32 NDesk.DBus.Header::Length + IL_007f: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) + IL_0084: ldloc.0 + IL_0085: ldarg.0 + IL_0086: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_008b: ldfld unsigned int32 NDesk.DBus.Header::Serial + IL_0090: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) + IL_0095: ldloc.0 + IL_0096: ldarg.0 + IL_0097: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_009c: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Header::Fields + IL_00a1: callvirt instance void class NDesk.DBus.MessageWriter::WriteHeaderFields(class [mscorlib]System.Collections.Generic.Dictionary`2) + IL_00a6: ldloc.0 + IL_00a7: callvirt instance void class NDesk.DBus.MessageWriter::CloseWrite() + IL_00ac: ldloc.0 + IL_00ad: callvirt instance unsigned int8[] class NDesk.DBus.MessageWriter::ToArray() + IL_00b2: ret + } // end of method Message::GetHeaderData - // method line 752 - .method public static hidebysig - default valuetype NDesk.DBus.Signature GetSig (class [mscorlib]System.Type 'type') cil managed + // method line 739 + .method public hidebysig + instance default void GetHeaderDataToStream (class [mscorlib]System.IO.Stream 'stream') cil managed { - // Method begins at RVA 0x7d24 - // Code size 436 (0x1b4) - .maxstack 3 + // Method begins at RVA 0x78ec + // Code size 180 (0xb4) + .maxstack 2 .locals init ( - valuetype NDesk.DBus.Signature V_0, - class [mscorlib]System.Type[] V_1, - valuetype NDesk.DBus.Signature V_2, - class [mscorlib]System.Reflection.FieldInfo V_3, - class [mscorlib]System.Reflection.FieldInfo[] V_4, - int32 V_5, - valuetype NDesk.DBus.DType V_6) + class NDesk.DBus.MessageWriter V_0) IL_0000: ldarg.0 - IL_0001: ldnull - IL_0002: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0007: brfalse IL_0017 - - IL_000c: ldstr "type" - IL_0011: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0016: throw - IL_0017: ldarg.0 - IL_0018: ldtoken NDesk.DBus.Signature - IL_001d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0022: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0027: brfalse IL_0034 - - IL_002c: ldc.i4.s 0x67 - IL_002e: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) - IL_0033: ret - IL_0034: ldarg.0 - IL_0035: ldtoken NDesk.DBus.ObjectPath - IL_003a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_003f: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0044: brfalse IL_0051 - - IL_0049: ldc.i4.s 0x6f - IL_004b: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) - IL_0050: ret - IL_0051: ldarg.0 - IL_0052: ldtoken [mscorlib]System.Void - IL_0057: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_005c: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0061: brfalse IL_006c - - IL_0066: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty - IL_006b: ret - IL_006c: ldarg.0 - IL_006d: ldtoken [mscorlib]System.String - IL_0072: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0077: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_007c: brfalse IL_0089 - - IL_0081: ldc.i4.s 0x73 - IL_0083: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) - IL_0088: ret - IL_0089: ldarg.0 - IL_008a: ldtoken [mscorlib]System.Object - IL_008f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0094: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0099: brfalse IL_00a6 - - IL_009e: ldc.i4.s 0x76 - IL_00a0: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) - IL_00a5: ret - IL_00a6: ldarg.0 - IL_00a7: callvirt instance bool class [mscorlib]System.Type::get_IsArray() - IL_00ac: brfalse IL_00c5 - - IL_00b1: ldarg.0 - IL_00b2: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() - IL_00b7: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) - IL_00bc: stloc.0 - IL_00bd: ldloca.s 0 - IL_00bf: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::MakeArraySignature() - IL_00c4: ret - IL_00c5: ldarg.0 - IL_00c6: callvirt instance bool class [mscorlib]System.Type::get_IsGenericType() - IL_00cb: brfalse IL_0121 - - IL_00d0: ldarg.0 - IL_00d1: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetGenericTypeDefinition() - IL_00d6: ldtoken [mscorlib]System.Collections.Generic.IDictionary`2 - IL_00db: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00e0: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_00e5: brtrue IL_0104 - - IL_00ea: ldarg.0 - IL_00eb: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetGenericTypeDefinition() - IL_00f0: ldtoken [mscorlib]System.Collections.Generic.Dictionary`2 - IL_00f5: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00fa: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_00ff: brfalse IL_0121 - - IL_0104: ldarg.0 - IL_0105: callvirt instance class [mscorlib]System.Type[] class [mscorlib]System.Type::GetGenericArguments() - IL_010a: stloc.1 - IL_010b: ldloc.1 - IL_010c: ldc.i4.0 - IL_010d: ldelem.ref - IL_010e: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) - IL_0113: ldloc.1 - IL_0114: ldc.i4.1 - IL_0115: ldelem.ref - IL_0116: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) - IL_011b: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::MakeDict(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0120: ret - IL_0121: ldarg.0 - IL_0122: call bool class NDesk.DBus.Mapper::IsPublic(class [mscorlib]System.Type) - IL_0127: brfalse IL_0134 - - IL_012c: ldc.i4.s 0x6f - IL_012e: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) - IL_0133: ret - IL_0134: ldarg.0 - IL_0135: callvirt instance bool class [mscorlib]System.Type::get_IsPrimitive() - IL_013a: brtrue IL_01a4 - - IL_013f: ldarg.0 - IL_0140: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() - IL_0145: brtrue IL_01a4 - - IL_014a: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty - IL_014f: stloc.2 - IL_0150: ldarg.0 - IL_0151: ldc.i4.s 0x34 - IL_0153: callvirt instance class [mscorlib]System.Reflection.FieldInfo[] class [mscorlib]System.Type::GetFields(valuetype [mscorlib]System.Reflection.BindingFlags) - IL_0158: stloc.s 4 - IL_015a: ldc.i4.0 - IL_015b: stloc.s 5 - IL_015d: br IL_0180 - - IL_0162: ldloc.s 4 - IL_0164: ldloc.s 5 - IL_0166: ldelem.ref - IL_0167: stloc.3 - IL_0168: ldloc.2 - IL_0169: ldloc.3 - IL_016a: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.FieldInfo::get_FieldType() - IL_016f: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) - IL_0174: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0179: stloc.2 - IL_017a: ldloc.s 5 - IL_017c: ldc.i4.1 - IL_017d: add - IL_017e: stloc.s 5 - IL_0180: ldloc.s 5 - IL_0182: ldloc.s 4 - IL_0184: ldlen - IL_0185: conv.i4 - IL_0186: blt IL_0162 + IL_0001: ldfld unsigned int8[] NDesk.DBus.Message::Body + IL_0006: brfalse IL_001e - IL_018b: ldc.i4.1 - IL_018c: newarr NDesk.DBus.Signature - IL_0191: dup - IL_0192: ldc.i4.0 - IL_0193: ldelema NDesk.DBus.Signature - IL_0198: ldloc.2 - IL_0199: stobj NDesk.DBus.Signature - IL_019e: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::MakeStruct(valuetype NDesk.DBus.Signature[]) - IL_01a3: ret - IL_01a4: ldarg.0 - IL_01a5: call valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::TypeToDType(class [mscorlib]System.Type) - IL_01aa: stloc.s 6 - IL_01ac: ldloc.s 6 - IL_01ae: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) - IL_01b3: ret - } // end of method Signature::GetSig + IL_000b: ldarg.0 + IL_000c: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0011: ldarg.0 + IL_0012: ldfld unsigned int8[] NDesk.DBus.Message::Body + IL_0017: ldlen + IL_0018: conv.i4 + IL_0019: stfld unsigned int32 NDesk.DBus.Header::Length + IL_001e: ldarg.0 + IL_001f: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0024: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Header::Endianness + IL_0029: newobj instance void class NDesk.DBus.MessageWriter::'.ctor'(valuetype NDesk.DBus.EndianFlag) + IL_002e: stloc.0 + IL_002f: ldloc.0 + IL_0030: ldarg.0 + IL_0031: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0036: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Header::Endianness + IL_003b: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int8) + IL_0040: ldloc.0 + IL_0041: ldarg.0 + IL_0042: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0047: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType + IL_004c: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int8) + IL_0051: ldloc.0 + IL_0052: ldarg.0 + IL_0053: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0058: ldfld valuetype NDesk.DBus.HeaderFlag NDesk.DBus.Header::Flags + IL_005d: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int8) + IL_0062: ldloc.0 + IL_0063: ldarg.0 + IL_0064: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0069: ldfld unsigned int8 NDesk.DBus.Header::MajorVersion + IL_006e: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int8) + IL_0073: ldloc.0 + IL_0074: ldarg.0 + IL_0075: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_007a: ldfld unsigned int32 NDesk.DBus.Header::Length + IL_007f: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) + IL_0084: ldloc.0 + IL_0085: ldarg.0 + IL_0086: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_008b: ldfld unsigned int32 NDesk.DBus.Header::Serial + IL_0090: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) + IL_0095: ldloc.0 + IL_0096: ldarg.0 + IL_0097: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_009c: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Header::Fields + IL_00a1: callvirt instance void class NDesk.DBus.MessageWriter::WriteHeaderFields(class [mscorlib]System.Collections.Generic.Dictionary`2) + IL_00a6: ldloc.0 + IL_00a7: callvirt instance void class NDesk.DBus.MessageWriter::CloseWrite() + IL_00ac: ldloc.0 + IL_00ad: ldarg.1 + IL_00ae: callvirt instance void class NDesk.DBus.MessageWriter::ToStream(class [mscorlib]System.IO.Stream) + IL_00b3: ret + } // end of method Message::GetHeaderDataToStream - // method line 753 + // method line 740 .method private static hidebysig specialname rtspecialname default void '.cctor' () cil managed { - // Method begins at RVA 0x7ee4 - // Code size 100 (0x64) - .maxstack 1 - IL_0000: ldsfld string [mscorlib]System.String::Empty - IL_0005: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(string) - IL_000a: stsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty - IL_000f: ldc.i4.s 0x79 - IL_0011: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::Allocate(valuetype NDesk.DBus.DType) - IL_0016: stsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::ByteSig - IL_001b: ldc.i4.s 0x71 - IL_001d: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::Allocate(valuetype NDesk.DBus.DType) - IL_0022: stsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::UInt16Sig - IL_0027: ldc.i4.s 0x75 - IL_0029: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::Allocate(valuetype NDesk.DBus.DType) - IL_002e: stsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::UInt32Sig - IL_0033: ldc.i4.s 0x73 - IL_0035: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::Allocate(valuetype NDesk.DBus.DType) - IL_003a: stsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::StringSig - IL_003f: ldc.i4.s 0x6f - IL_0041: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::Allocate(valuetype NDesk.DBus.DType) - IL_0046: stsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::ObjectPathSig - IL_004b: ldc.i4.s 0x67 - IL_004d: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::Allocate(valuetype NDesk.DBus.DType) - IL_0052: stsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::SignatureSig - IL_0057: ldc.i4.s 0x76 - IL_0059: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::Allocate(valuetype NDesk.DBus.DType) - IL_005e: stsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::VariantSig - IL_0063: ret - } // end of method Signature::.cctor + // Method begins at RVA 0x79ac + // Code size 26 (0x1a) + .maxstack 8 + IL_0000: ldtoken NDesk.DBus.Message + IL_0005: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000a: ldstr "HandleHeader" + IL_000f: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) + IL_0014: stsfld class [mscorlib]System.Reflection.MethodInfo NDesk.DBus.Message::hHandler + IL_0019: ret + } // end of method Message::.cctor - .property instance valuetype NDesk.DBus.DType Item (int32) - { - .get instance default valuetype NDesk.DBus.DType NDesk.DBus.Signature::get_Item (int32 index) - } - .property instance int32 Length () - { - .get instance default int32 NDesk.DBus.Signature::get_Length () - } - .property instance string Value () - { - .get instance default string NDesk.DBus.Signature::get_Value () - } - .property instance int32 Alignment () - { - .get instance default int32 NDesk.DBus.Signature::get_Alignment () - } - .property instance bool IsFixedSize () - { - .get instance default bool NDesk.DBus.Signature::get_IsFixedSize () - } - .property instance bool IsPrimitive () - { - .get instance default bool NDesk.DBus.Signature::get_IsPrimitive () - } - .property instance bool IsStruct () - { - .get instance default bool NDesk.DBus.Signature::get_IsStruct () - } - .property instance bool IsDictEntry () - { - .get instance default bool NDesk.DBus.Signature::get_IsDictEntry () - } - .property instance bool IsStructlike () - { - .get instance default bool NDesk.DBus.Signature::get_IsStructlike () - } - .property instance bool IsDict () + .property instance valuetype NDesk.DBus.Signature Signature () { - .get instance default bool NDesk.DBus.Signature::get_IsDict () + .get instance default valuetype NDesk.DBus.Signature NDesk.DBus.Message::get_Signature () + .set instance default void NDesk.DBus.Message::set_Signature (valuetype NDesk.DBus.Signature 'value') } - .property instance bool IsArray () + .property instance bool ReplyExpected () { - .get instance default bool NDesk.DBus.Signature::get_IsArray () + .get instance default bool NDesk.DBus.Message::get_ReplyExpected () + .set instance default void NDesk.DBus.Message::set_ReplyExpected (bool 'value') } - .class nested private auto ansi sealed beforefieldinit 'c__Iterator0' - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerable, class [mscorlib]System.Collections.Generic.IEnumerable`1, [mscorlib]System.Collections.IEnumerator, [mscorlib]System.IDisposable, class [mscorlib]System.Collections.Generic.IEnumerator`1 { - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + } // end of class NDesk.DBus.Message +} - .field assembly int32 '__1' - .field assembly valuetype NDesk.DBus.Signature $this - .field assembly valuetype NDesk.DBus.Signature $current - .field assembly bool $disposing - .field assembly int32 $PC +.namespace NDesk.DBus +{ + .class private auto ansi beforefieldinit DValue + extends [mscorlib]System.Object + implements [mscorlib]System.IConvertible { + .field assembly valuetype NDesk.DBus.EndianFlag endianness + .field assembly valuetype NDesk.DBus.Signature signature + .field assembly unsigned int8[] data - // method line 1320 + // method line 741 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x7f54 + // Method begins at RVA 0x79c7 // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 IL_0001: call instance void object::'.ctor'() IL_0006: ret - } // end of method c__Iterator0::.ctor + } // end of method DValue::.ctor - // method line 1321 - .method public final virtual hidebysig newslot - instance default bool MoveNext () cil managed + // method line 742 + .method public hidebysig + instance default bool CanConvertTo (class [mscorlib]System.Type conversionType) cil managed { - // Method begins at RVA 0x7f5c - // Code size 176 (0xb0) - .maxstack 3 + // Method begins at RVA 0x79d0 + // Code size 20 (0x14) + .maxstack 2 .locals init ( - unsigned int32 V_0) - IL_0000: ldarg.0 - IL_0001: ldfld int32 NDesk.DBus.Signature/'c__Iterator0'::$PC + valuetype NDesk.DBus.Signature V_0) + IL_0000: ldarg.1 + IL_0001: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) IL_0006: stloc.0 IL_0007: ldarg.0 - IL_0008: ldc.i4.m1 - IL_0009: stfld int32 NDesk.DBus.Signature/'c__Iterator0'::$PC - IL_000e: ldloc.0 - IL_000f: switch ( - IL_0021, - IL_008b) - IL_001c: br IL_00ac - - IL_0021: ldarg.0 - IL_0022: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator0'::$this - IL_0027: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty - IL_002c: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0031: brtrue IL_0049 - - IL_0036: ldarg.0 - IL_0037: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator0'::$this - IL_003c: ldc.i4.0 - IL_003d: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) - IL_0042: ldc.i4.s 0x28 - IL_0044: beq IL_0054 - - IL_0049: ldstr "Not a struct" - IL_004e: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0053: throw - IL_0054: ldarg.0 - IL_0055: ldc.i4.1 - IL_0056: stfld int32 NDesk.DBus.Signature/'c__Iterator0'::'__1' - IL_005b: br IL_008b - - IL_0060: ldarg.0 - IL_0061: ldarg.0 - IL_0062: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator0'::$this - IL_0067: ldarg.0 - IL_0068: ldflda int32 NDesk.DBus.Signature/'c__Iterator0'::'__1' - IL_006d: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetNextSignature([out] int32&) - IL_0072: stfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator0'::$current - IL_0077: ldarg.0 - IL_0078: ldfld bool NDesk.DBus.Signature/'c__Iterator0'::$disposing - IL_007d: brtrue.s IL_0086 - - IL_007f: ldarg.0 - IL_0080: ldc.i4.1 - IL_0081: stfld int32 NDesk.DBus.Signature/'c__Iterator0'::$PC - IL_0086: br IL_00ae - - IL_008b: ldarg.0 - IL_008c: ldfld int32 NDesk.DBus.Signature/'c__Iterator0'::'__1' - IL_0091: ldarg.0 - IL_0092: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator0'::$this - IL_0097: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_009c: ldlen - IL_009d: conv.i4 - IL_009e: ldc.i4.1 - IL_009f: sub - IL_00a0: blt IL_0060 - - IL_00a5: ldarg.0 - IL_00a6: ldc.i4.m1 - IL_00a7: stfld int32 NDesk.DBus.Signature/'c__Iterator0'::$PC - IL_00ac: ldc.i4.0 - IL_00ad: ret - IL_00ae: ldc.i4.1 - IL_00af: ret - } // end of method c__Iterator0::MoveNext + IL_0008: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.DValue::signature + IL_000d: ldloc.0 + IL_000e: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0013: ret + } // end of method DValue::CanConvertTo - // method line 1322 - .method private final virtual hidebysig newslot specialname - instance default valuetype NDesk.DBus.Signature 'System.Collections.Generic.IEnumerator.get_Current' () cil managed + // method line 743 + .method public final virtual hidebysig newslot + instance default valuetype [mscorlib]System.TypeCode GetTypeCode () cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x8018 - .override method instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - // Code size 7 (0x7) + // Method begins at RVA 0x79f0 + // Code size 2 (0x2) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator0'::$current - IL_0006: ret - } // end of method c__Iterator0::System.Collections.Generic.IEnumerator.get_Current + IL_0000: ldc.i4.1 + IL_0001: ret + } // end of method DValue::GetTypeCode - // method line 1323 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + // method line 744 + .method public hidebysig + instance default object ToType (class [mscorlib]System.Type conversionType) cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x8020 - .override class [mscorlib]System.Collections.IEnumerator::get_Current - // Code size 12 (0xc) + // Method begins at RVA 0x79f3 + // Code size 9 (0x9) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator0'::$current - IL_0006: box NDesk.DBus.Signature - IL_000b: ret - } // end of method c__Iterator0::System.Collections.IEnumerator.get_Current + IL_0001: ldarg.1 + IL_0002: ldnull + IL_0003: call instance object class NDesk.DBus.DValue::ToType(class [mscorlib]System.Type, class [mscorlib]System.IFormatProvider) + IL_0008: ret + } // end of method DValue::ToType - // method line 1324 + // method line 745 .method public final virtual hidebysig newslot - instance default void Dispose () cil managed + instance default object ToType (class [mscorlib]System.Type conversionType, class [mscorlib]System.IFormatProvider provider) cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + // Method begins at RVA 0x7a00 + // Code size 56 (0x38) + .maxstack 2 + .locals init ( + valuetype NDesk.DBus.Signature V_0, + class NDesk.DBus.MessageReader V_1) + IL_0000: ldarg.1 + IL_0001: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.DValue::signature + IL_000e: call bool valuetype NDesk.DBus.Signature::op_Inequality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0013: brfalse IL_001e - // Method begins at RVA 0x802d - // Code size 15 (0xf) + IL_0018: newobj instance void class [mscorlib]System.InvalidCastException::'.ctor'() + IL_001d: throw + IL_001e: ldarg.0 + IL_001f: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.DValue::endianness + IL_0024: ldarg.0 + IL_0025: ldfld unsigned int8[] NDesk.DBus.DValue::data + IL_002a: newobj instance void class NDesk.DBus.MessageReader::'.ctor'(valuetype NDesk.DBus.EndianFlag, unsigned int8[]) + IL_002f: stloc.1 + IL_0030: ldloc.1 + IL_0031: ldarg.1 + IL_0032: callvirt instance object class NDesk.DBus.MessageReader::ReadValue(class [mscorlib]System.Type) + IL_0037: ret + } // end of method DValue::ToType + + // method line 746 + .method public virtual hidebysig + instance default string ToString () cil managed + { + // Method begins at RVA 0x7a44 + // Code size 18 (0x12) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NDesk.DBus.Signature/'c__Iterator0'::$disposing - IL_0007: ldarg.0 - IL_0008: ldc.i4.m1 - IL_0009: stfld int32 NDesk.DBus.Signature/'c__Iterator0'::$PC - IL_000e: ret - } // end of method c__Iterator0::Dispose + IL_0001: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.DValue::signature + IL_0006: constrained. NDesk.DBus.Signature + IL_000c: callvirt instance string object::ToString() + IL_0011: ret + } // end of method DValue::ToString - // method line 1325 + // method line 747 .method public final virtual hidebysig newslot - instance default void Reset () cil managed + instance default bool ToBoolean (class [mscorlib]System.IFormatProvider provider) cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x803d + // Method begins at RVA 0x7a57 // Code size 6 (0x6) .maxstack 8 IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() IL_0005: throw - } // end of method c__Iterator0::Reset - - // method line 1326 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x8044 - .override class [mscorlib]System.Collections.IEnumerable::GetEnumerator - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class NDesk.DBus.Signature/'c__Iterator0'::'System.Collections.Generic.IEnumerable.GetEnumerator'() - IL_0006: ret - } // end of method c__Iterator0::System.Collections.IEnumerable.GetEnumerator - - // method line 1327 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.Generic.IEnumerator`1 'System.Collections.Generic.IEnumerable.GetEnumerator' () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x804c - .override method instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() - // Code size 40 (0x28) - .maxstack 3 - .locals init ( - class NDesk.DBus.Signature/'c__Iterator0' V_0) - IL_0000: ldarg.0 - IL_0001: ldflda int32 NDesk.DBus.Signature/'c__Iterator0'::$PC - IL_0006: ldc.i4.0 - IL_0007: ldc.i4.s 0xfffffffe - IL_0009: call int32 class [mscorlib]System.Threading.Interlocked::CompareExchange([out] int32&, int32, int32) - IL_000e: ldc.i4.s 0xfffffffe - IL_0010: bne.un.s IL_0014 - - IL_0012: ldarg.0 - IL_0013: ret - IL_0014: newobj instance void class NDesk.DBus.Signature/'c__Iterator0'::'.ctor'() - IL_0019: stloc.0 - IL_001a: ldloc.0 - IL_001b: ldarg.0 - IL_001c: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator0'::$this - IL_0021: stfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator0'::$this - IL_0026: ldloc.0 - IL_0027: ret - } // end of method c__Iterator0::System.Collections.Generic.IEnumerable.GetEnumerator - - .property instance valuetype NDesk.DBus.Signature 'System.Collections.Generic.IEnumerator.Current' () - { - .get instance default valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator0'::'System.Collections.Generic.IEnumerator.get_Current' () - } - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NDesk.DBus.Signature/'c__Iterator0'::System.Collections.IEnumerator.get_Current () - } - } // end of class c__Iterator0 - - .class nested private auto ansi sealed beforefieldinit 'c__Iterator1' - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerable, class [mscorlib]System.Collections.Generic.IEnumerable`1, [mscorlib]System.Collections.IEnumerator, [mscorlib]System.IDisposable, class [mscorlib]System.Collections.Generic.IEnumerator`1 { - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .field assembly int32 '__1' - .field assembly valuetype NDesk.DBus.Signature $this - .field assembly valuetype NDesk.DBus.Signature $current - .field assembly bool $disposing - .field assembly int32 $PC + } // end of method DValue::ToBoolean - // method line 1328 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 748 + .method public final virtual hidebysig newslot + instance default unsigned int8 ToByte (class [mscorlib]System.IFormatProvider provider) cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x8080 - // Code size 7 (0x7) + // Method begins at RVA 0x7a5e + // Code size 6 (0x6) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method c__Iterator1::.ctor + IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() + IL_0005: throw + } // end of method DValue::ToByte - // method line 1329 + // method line 749 .method public final virtual hidebysig newslot - instance default bool MoveNext () cil managed - { - // Method begins at RVA 0x8088 - // Code size 144 (0x90) - .maxstack 3 - .locals init ( - unsigned int32 V_0) - IL_0000: ldarg.0 - IL_0001: ldfld int32 NDesk.DBus.Signature/'c__Iterator1'::$PC - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldc.i4.m1 - IL_0009: stfld int32 NDesk.DBus.Signature/'c__Iterator1'::$PC - IL_000e: ldloc.0 - IL_000f: switch ( - IL_0021, - IL_006d) - IL_001c: br IL_008c - - IL_0021: ldarg.0 - IL_0022: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator1'::$this - IL_0027: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_002c: brtrue IL_0036 - - IL_0031: br IL_008c - - IL_0036: ldarg.0 - IL_0037: ldc.i4.0 - IL_0038: stfld int32 NDesk.DBus.Signature/'c__Iterator1'::'__1' - IL_003d: br IL_006d - - IL_0042: ldarg.0 - IL_0043: ldarg.0 - IL_0044: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator1'::$this - IL_0049: ldarg.0 - IL_004a: ldflda int32 NDesk.DBus.Signature/'c__Iterator1'::'__1' - IL_004f: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetNextSignature([out] int32&) - IL_0054: stfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator1'::$current - IL_0059: ldarg.0 - IL_005a: ldfld bool NDesk.DBus.Signature/'c__Iterator1'::$disposing - IL_005f: brtrue.s IL_0068 - - IL_0061: ldarg.0 - IL_0062: ldc.i4.1 - IL_0063: stfld int32 NDesk.DBus.Signature/'c__Iterator1'::$PC - IL_0068: br IL_008e - - IL_006d: ldarg.0 - IL_006e: ldfld int32 NDesk.DBus.Signature/'c__Iterator1'::'__1' - IL_0073: ldarg.0 - IL_0074: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator1'::$this - IL_0079: ldfld unsigned int8[] NDesk.DBus.Signature::data - IL_007e: ldlen - IL_007f: conv.i4 - IL_0080: blt IL_0042 - - IL_0085: ldarg.0 - IL_0086: ldc.i4.m1 - IL_0087: stfld int32 NDesk.DBus.Signature/'c__Iterator1'::$PC - IL_008c: ldc.i4.0 - IL_008d: ret - IL_008e: ldc.i4.1 - IL_008f: ret - } // end of method c__Iterator1::MoveNext - - // method line 1330 - .method private final virtual hidebysig newslot specialname - instance default valuetype NDesk.DBus.Signature 'System.Collections.Generic.IEnumerator.get_Current' () cil managed + instance default char ToChar (class [mscorlib]System.IFormatProvider provider) cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x8124 - .override method instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - // Code size 7 (0x7) + // Method begins at RVA 0x7a65 + // Code size 6 (0x6) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator1'::$current - IL_0006: ret - } // end of method c__Iterator1::System.Collections.Generic.IEnumerator.get_Current + IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() + IL_0005: throw + } // end of method DValue::ToChar - // method line 1331 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + // method line 750 + .method public final virtual hidebysig newslot + instance default valuetype [mscorlib]System.DateTime ToDateTime (class [mscorlib]System.IFormatProvider provider) cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x812c - .override class [mscorlib]System.Collections.IEnumerator::get_Current - // Code size 12 (0xc) + // Method begins at RVA 0x7a6c + // Code size 6 (0x6) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator1'::$current - IL_0006: box NDesk.DBus.Signature - IL_000b: ret - } // end of method c__Iterator1::System.Collections.IEnumerator.get_Current + IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() + IL_0005: throw + } // end of method DValue::ToDateTime - // method line 1332 + // method line 751 .method public final virtual hidebysig newslot - instance default void Dispose () cil managed + instance default valuetype [mscorlib]System.Decimal ToDecimal (class [mscorlib]System.IFormatProvider provider) cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x8139 - // Code size 15 (0xf) + // Method begins at RVA 0x7a73 + // Code size 6 (0x6) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NDesk.DBus.Signature/'c__Iterator1'::$disposing - IL_0007: ldarg.0 - IL_0008: ldc.i4.m1 - IL_0009: stfld int32 NDesk.DBus.Signature/'c__Iterator1'::$PC - IL_000e: ret - } // end of method c__Iterator1::Dispose + IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() + IL_0005: throw + } // end of method DValue::ToDecimal - // method line 1333 + // method line 752 .method public final virtual hidebysig newslot - instance default void Reset () cil managed + instance default float64 ToDouble (class [mscorlib]System.IFormatProvider provider) cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x8149 + // Method begins at RVA 0x7a7a // Code size 6 (0x6) .maxstack 8 IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() IL_0005: throw - } // end of method c__Iterator1::Reset + } // end of method DValue::ToDouble - // method line 1334 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed + // method line 753 + .method public final virtual hidebysig newslot + instance default int16 ToInt16 (class [mscorlib]System.IFormatProvider provider) cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x8150 - .override class [mscorlib]System.Collections.IEnumerable::GetEnumerator - // Code size 7 (0x7) + // Method begins at RVA 0x7a81 + // Code size 6 (0x6) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class NDesk.DBus.Signature/'c__Iterator1'::'System.Collections.Generic.IEnumerable.GetEnumerator'() - IL_0006: ret - } // end of method c__Iterator1::System.Collections.IEnumerable.GetEnumerator - - // method line 1335 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.Generic.IEnumerator`1 'System.Collections.Generic.IEnumerable.GetEnumerator' () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x8158 - .override method instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() - // Code size 40 (0x28) - .maxstack 3 - .locals init ( - class NDesk.DBus.Signature/'c__Iterator1' V_0) - IL_0000: ldarg.0 - IL_0001: ldflda int32 NDesk.DBus.Signature/'c__Iterator1'::$PC - IL_0006: ldc.i4.0 - IL_0007: ldc.i4.s 0xfffffffe - IL_0009: call int32 class [mscorlib]System.Threading.Interlocked::CompareExchange([out] int32&, int32, int32) - IL_000e: ldc.i4.s 0xfffffffe - IL_0010: bne.un.s IL_0014 - - IL_0012: ldarg.0 - IL_0013: ret - IL_0014: newobj instance void class NDesk.DBus.Signature/'c__Iterator1'::'.ctor'() - IL_0019: stloc.0 - IL_001a: ldloc.0 - IL_001b: ldarg.0 - IL_001c: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator1'::$this - IL_0021: stfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator1'::$this - IL_0026: ldloc.0 - IL_0027: ret - } // end of method c__Iterator1::System.Collections.Generic.IEnumerable.GetEnumerator - - .property instance valuetype NDesk.DBus.Signature 'System.Collections.Generic.IEnumerator.Current' () - { - .get instance default valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator1'::'System.Collections.Generic.IEnumerator.get_Current' () - } - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NDesk.DBus.Signature/'c__Iterator1'::System.Collections.IEnumerator.get_Current () - } - } // end of class c__Iterator1 - - } // end of class NDesk.DBus.Signature -} - -.namespace NDesk.DBus -{ - .class private auto ansi sealed ArgDirection - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NDesk.DBus.ArgDirection In = int32(0x00000000) - .field public static literal valuetype NDesk.DBus.ArgDirection Out = int32(0x00000001) - - } // end of class NDesk.DBus.ArgDirection -} - -.namespace NDesk.DBus -{ - .class private auto ansi sealed DType - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname unsigned int8 value__ - .field public static literal valuetype NDesk.DBus.DType Invalid = int8(0x00) - .field public static literal valuetype NDesk.DBus.DType Byte = int8(0x79) - .field public static literal valuetype NDesk.DBus.DType Boolean = int8(0x62) - .field public static literal valuetype NDesk.DBus.DType Int16 = int8(0x6e) - .field public static literal valuetype NDesk.DBus.DType UInt16 = int8(0x71) - .field public static literal valuetype NDesk.DBus.DType Int32 = int8(0x69) - .field public static literal valuetype NDesk.DBus.DType UInt32 = int8(0x75) - .field public static literal valuetype NDesk.DBus.DType Int64 = int8(0x78) - .field public static literal valuetype NDesk.DBus.DType UInt64 = int8(0x74) - .field public static literal valuetype NDesk.DBus.DType Single = int8(0x66) - .field public static literal valuetype NDesk.DBus.DType Double = int8(0x64) - .field public static literal valuetype NDesk.DBus.DType String = int8(0x73) - .field public static literal valuetype NDesk.DBus.DType ObjectPath = int8(0x6f) - .field public static literal valuetype NDesk.DBus.DType Signature = int8(0x67) - .field public static literal valuetype NDesk.DBus.DType Array = int8(0x61) - .field public static literal valuetype NDesk.DBus.DType Struct = int8(0x72) - .field public static literal valuetype NDesk.DBus.DType DictEntry = int8(0x65) - .field public static literal valuetype NDesk.DBus.DType Variant = int8(0x76) - .field public static literal valuetype NDesk.DBus.DType StructBegin = int8(0x28) - .field public static literal valuetype NDesk.DBus.DType StructEnd = int8(0x29) - .field public static literal valuetype NDesk.DBus.DType DictEntryBegin = int8(0x7b) - .field public static literal valuetype NDesk.DBus.DType DictEntryEnd = int8(0x7d) - - } // end of class NDesk.DBus.DType -} - -.namespace NDesk.DBus -{ - .class public auto ansi sealed VoidHandler - extends [mscorlib]System.MulticastDelegate - { + IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() + IL_0005: throw + } // end of method DValue::ToInt16 // method line 754 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (object 'object', native int 'method') runtime managed + .method public final virtual hidebysig newslot + instance default int32 ToInt32 (class [mscorlib]System.IFormatProvider provider) cil managed { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method VoidHandler::.ctor + // Method begins at RVA 0x7a88 + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() + IL_0005: throw + } // end of method DValue::ToInt32 // method line 755 - .method public virtual hidebysig newslot - instance default void Invoke () runtime managed + .method public final virtual hidebysig newslot + instance default int64 ToInt64 (class [mscorlib]System.IFormatProvider provider) cil managed { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method VoidHandler::Invoke + // Method begins at RVA 0x7a8f + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() + IL_0005: throw + } // end of method DValue::ToInt64 // method line 756 - .method public virtual hidebysig newslot - instance default class [mscorlib]System.IAsyncResult BeginInvoke (class [mscorlib]System.AsyncCallback callback, object 'object') runtime managed + .method public final virtual hidebysig newslot + instance default int8 ToSByte (class [mscorlib]System.IFormatProvider provider) cil managed { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method VoidHandler::BeginInvoke + // Method begins at RVA 0x7a96 + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() + IL_0005: throw + } // end of method DValue::ToSByte // method line 757 - .method public virtual hidebysig newslot - instance default void EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed + .method public final virtual hidebysig newslot + instance default float32 ToSingle (class [mscorlib]System.IFormatProvider provider) cil managed { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method VoidHandler::EndInvoke - - } // end of class NDesk.DBus.VoidHandler -} - -.namespace NDesk.DBus -{ - .class private auto ansi Connection - extends [mscorlib]System.Object - { - .field private class NDesk.DBus.Transports.Transport transport - .field assembly bool isConnected - .field assembly bool isShared - .field assembly valuetype NDesk.DBus.UUID Id - .field assembly bool isAuthenticated - .field private int32 serial - .field private class [mscorlib]System.Collections.Generic.Queue`1 Inbound - .field assembly class [mscorlib]System.Threading.Thread mainThread - .field private class [mscorlib]System.Collections.Generic.Dictionary`2 pendingCalls - .field assembly class [mscorlib]System.Collections.Generic.Dictionary`2 Handlers - .field private class [mscorlib]System.Collections.Generic.Dictionary`2 RegisteredObjects - .field private static literal string machineUuidFilename = "/var/lib/dbus/machine-id" - .field private static valuetype [mscorlib]System.Nullable`1 machineId - .field private static object idReadLock - .field assembly static initonly valuetype NDesk.DBus.EndianFlag NativeEndianness + // Method begins at RVA 0x7a9d + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() + IL_0005: throw + } // end of method DValue::ToSingle // method line 758 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + .method public final virtual hidebysig newslot + instance default string ToString (class [mscorlib]System.IFormatProvider provider) cil managed { - // Method begins at RVA 0x818c - // Code size 73 (0x49) - .maxstack 2 - IL_0000: ldarg.0 - IL_0001: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero - IL_0006: stfld valuetype NDesk.DBus.UUID NDesk.DBus.Connection::Id - IL_000b: ldarg.0 - IL_000c: newobj instance void class [mscorlib]System.Collections.Generic.Queue`1::'.ctor'() - IL_0011: stfld class [mscorlib]System.Collections.Generic.Queue`1 NDesk.DBus.Connection::Inbound - IL_0016: ldarg.0 - IL_0017: call class [mscorlib]System.Threading.Thread class [mscorlib]System.Threading.Thread::get_CurrentThread() - IL_001c: stfld class [mscorlib]System.Threading.Thread NDesk.DBus.Connection::mainThread - IL_0021: ldarg.0 - IL_0022: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() - IL_0027: stfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::pendingCalls - IL_002c: ldarg.0 - IL_002d: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() - IL_0032: stfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers - IL_0037: ldarg.0 - IL_0038: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() - IL_003d: stfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::RegisteredObjects - IL_0042: ldarg.0 - IL_0043: call instance void object::'.ctor'() - IL_0048: ret - } // end of method Connection::.ctor + // Method begins at RVA 0x7aa4 + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() + IL_0005: throw + } // end of method DValue::ToString // method line 759 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NDesk.DBus.Transports.Transport transport) cil managed + .method public final virtual hidebysig newslot + instance default unsigned int16 ToUInt16 (class [mscorlib]System.IFormatProvider provider) cil managed { - // Method begins at RVA 0x81e4 - // Code size 87 (0x57) - .maxstack 2 - IL_0000: ldarg.0 - IL_0001: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero - IL_0006: stfld valuetype NDesk.DBus.UUID NDesk.DBus.Connection::Id - IL_000b: ldarg.0 - IL_000c: newobj instance void class [mscorlib]System.Collections.Generic.Queue`1::'.ctor'() - IL_0011: stfld class [mscorlib]System.Collections.Generic.Queue`1 NDesk.DBus.Connection::Inbound - IL_0016: ldarg.0 - IL_0017: call class [mscorlib]System.Threading.Thread class [mscorlib]System.Threading.Thread::get_CurrentThread() - IL_001c: stfld class [mscorlib]System.Threading.Thread NDesk.DBus.Connection::mainThread - IL_0021: ldarg.0 - IL_0022: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() - IL_0027: stfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::pendingCalls - IL_002c: ldarg.0 - IL_002d: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() - IL_0032: stfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers - IL_0037: ldarg.0 - IL_0038: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() - IL_003d: stfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::RegisteredObjects - IL_0042: ldarg.0 - IL_0043: call instance void object::'.ctor'() - IL_0048: ldarg.0 - IL_0049: ldarg.1 - IL_004a: stfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport - IL_004f: ldarg.1 - IL_0050: ldarg.0 - IL_0051: callvirt instance void class NDesk.DBus.Transports.Transport::set_Connection(class NDesk.DBus.Connection) - IL_0056: ret - } // end of method Connection::.ctor + // Method begins at RVA 0x7aab + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() + IL_0005: throw + } // end of method DValue::ToUInt16 // method line 760 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (string address) cil managed + .method public final virtual hidebysig newslot + instance default unsigned int32 ToUInt32 (class [mscorlib]System.IFormatProvider provider) cil managed { - // Method begins at RVA 0x8248 - // Code size 86 (0x56) - .maxstack 2 - IL_0000: ldarg.0 - IL_0001: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero - IL_0006: stfld valuetype NDesk.DBus.UUID NDesk.DBus.Connection::Id - IL_000b: ldarg.0 - IL_000c: newobj instance void class [mscorlib]System.Collections.Generic.Queue`1::'.ctor'() - IL_0011: stfld class [mscorlib]System.Collections.Generic.Queue`1 NDesk.DBus.Connection::Inbound - IL_0016: ldarg.0 - IL_0017: call class [mscorlib]System.Threading.Thread class [mscorlib]System.Threading.Thread::get_CurrentThread() - IL_001c: stfld class [mscorlib]System.Threading.Thread NDesk.DBus.Connection::mainThread - IL_0021: ldarg.0 - IL_0022: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() - IL_0027: stfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::pendingCalls - IL_002c: ldarg.0 - IL_002d: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() - IL_0032: stfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers - IL_0037: ldarg.0 - IL_0038: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() - IL_003d: stfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::RegisteredObjects - IL_0042: ldarg.0 - IL_0043: call instance void object::'.ctor'() - IL_0048: ldarg.0 - IL_0049: ldarg.1 - IL_004a: call instance void class NDesk.DBus.Connection::OpenPrivate(string) - IL_004f: ldarg.0 - IL_0050: call instance void class NDesk.DBus.Connection::Authenticate() - IL_0055: ret - } // end of method Connection::.ctor + // Method begins at RVA 0x7ab2 + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() + IL_0005: throw + } // end of method DValue::ToUInt32 // method line 761 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + .method public final virtual hidebysig newslot + instance default unsigned int64 ToUInt64 (class [mscorlib]System.IFormatProvider provider) cil managed { - // Method begins at RVA 0x82ac - // Code size 54 (0x36) - .maxstack 1 - .locals init ( - valuetype [mscorlib]System.Nullable`1 V_0) - IL_0000: ldloca.s 0 - IL_0002: initobj valuetype [mscorlib]System.Nullable`1 - IL_0008: ldloc.0 - IL_0009: stsfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.Connection::machineId - IL_000e: newobj instance void object::'.ctor'() - IL_0013: stsfld object NDesk.DBus.Connection::idReadLock - IL_0018: ldsfld bool [mscorlib]System.BitConverter::IsLittleEndian - IL_001d: brfalse IL_002e + // Method begins at RVA 0x7ab9 + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() + IL_0005: throw + } // end of method DValue::ToUInt64 - IL_0022: ldc.i4.s 0x6c - IL_0024: stsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness - IL_0029: br IL_0035 + } // end of class NDesk.DBus.DValue +} - IL_002e: ldc.i4.s 0x42 - IL_0030: stsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness - IL_0035: ret - } // end of method Connection::.cctor +.namespace NDesk.DBus +{ + .class private auto ansi beforefieldinit MessageReader + extends [mscorlib]System.Object + { + .field family valuetype NDesk.DBus.EndianFlag endianness + .field public unsigned int8[] data + .field public int32 pos + .field family class NDesk.DBus.Message message + .field public initonly bool IsNativeEndian // method line 762 - .method public hidebysig - instance default object GetObject (string bus_name, class NDesk.DBus.ObjectPath path) cil managed - { - // Method begins at RVA 0x82f0 - // Code size 78 (0x4e) - .maxstack 4 - .locals init ( - class org.freedesktop.DBus.Introspectable V_0, - string V_1, - class [mscorlib]System.IO.StringReader V_2, - class [System.Xml]System.Xml.Serialization.XmlSerializer V_3, - class NDesk.DBus.Introspection.Node V_4, - class [mscorlib]System.Type V_5) - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance !!0 class NDesk.DBus.Connection::GetObject (string, class NDesk.DBus.ObjectPath) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: callvirt instance string class org.freedesktop.DBus.Introspectable::Introspect() - IL_000f: stloc.1 - IL_0010: ldloc.1 - IL_0011: newobj instance void class [mscorlib]System.IO.StringReader::'.ctor'(string) - IL_0016: stloc.2 - IL_0017: ldtoken NDesk.DBus.Introspection.Node - IL_001c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0021: newobj instance void class [System.Xml]System.Xml.Serialization.XmlSerializer::'.ctor'(class [mscorlib]System.Type) - IL_0026: stloc.3 - IL_0027: ldloc.3 - IL_0028: ldloc.2 - IL_0029: callvirt instance object class [System.Xml]System.Xml.Serialization.XmlSerializer::Deserialize(class [mscorlib]System.IO.TextReader) - IL_002e: castclass NDesk.DBus.Introspection.Node - IL_0033: stloc.s 4 - IL_0035: ldloc.s 4 - IL_0037: ldfld class NDesk.DBus.Introspection.Interface[] NDesk.DBus.Introspection.Node::Interfaces - IL_003c: call class [mscorlib]System.Type class NDesk.DBus.TypeDefiner::Define(class NDesk.DBus.Introspection.Interface[]) - IL_0041: stloc.s 5 - IL_0043: ldarg.0 - IL_0044: ldloc.s 5 - IL_0046: ldarg.1 - IL_0047: ldarg.2 - IL_0048: call instance object class NDesk.DBus.Connection::GetObject(class [mscorlib]System.Type, string, class NDesk.DBus.ObjectPath) - IL_004d: ret - } // end of method Connection::GetObject - - // method line 763 - .method family virtual hidebysig - instance default void Finalize () cil managed - { - // Method begins at RVA 0x834c - // Code size 28 (0x1c) - .maxstack 1 - .try { // 0 - IL_0000: ldsfld bool NDesk.DBus.Protocol::Verbose - IL_0005: brfalse IL_000f - - IL_000a: call void class NDesk.DBus.TypeDefiner::Save() - IL_000f: leave IL_001b - - } // end .try 0 - finally { // 0 - IL_0014: ldarg.0 - IL_0015: call instance void object::Finalize() - IL_001a: endfinally - } // end handler 0 - IL_001b: ret - } // end of method Connection::Finalize - - // method line 764 - .method assembly hidebysig specialname - instance default class NDesk.DBus.Transports.Transport get_Transport () cil managed + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (valuetype NDesk.DBus.EndianFlag endianness, unsigned int8[] data) cil managed { - // Method begins at RVA 0x8384 - // Code size 7 (0x7) + // Method begins at RVA 0x7ac0 + // Code size 49 (0x31) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport - IL_0006: ret - } // end of method Connection::get_Transport + IL_0001: call instance void object::'.ctor'() + IL_0006: ldarg.2 + IL_0007: brtrue IL_0014 - // method line 765 - .method assembly hidebysig specialname - instance default void set_Transport (class NDesk.DBus.Transports.Transport 'value') cil managed + IL_000c: ldc.i4.0 + IL_000d: newarr [mscorlib]System.Byte + IL_0012: starg.s 2 + IL_0014: ldarg.0 + IL_0015: ldarg.1 + IL_0016: stfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.MessageReader::endianness + IL_001b: ldarg.0 + IL_001c: ldarg.1 + IL_001d: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness + IL_0022: ceq + IL_0024: stfld bool NDesk.DBus.MessageReader::IsNativeEndian + IL_0029: ldarg.0 + IL_002a: ldarg.2 + IL_002b: stfld unsigned int8[] NDesk.DBus.MessageReader::data + IL_0030: ret + } // end of method MessageReader::.ctor + + // method line 763 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NDesk.DBus.Message message) cil managed { - // Method begins at RVA 0x838c - // Code size 20 (0x14) + // Method begins at RVA 0x7af2 + // Code size 48 (0x30) .maxstack 8 IL_0000: ldarg.0 IL_0001: ldarg.1 - IL_0002: stfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport - IL_0007: ldarg.0 - IL_0008: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport - IL_000d: ldarg.0 - IL_000e: callvirt instance void class NDesk.DBus.Transports.Transport::set_Connection(class NDesk.DBus.Connection) - IL_0013: ret - } // end of method Connection::set_Transport + IL_0002: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0007: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Header::Endianness + IL_000c: ldarg.1 + IL_000d: ldfld unsigned int8[] NDesk.DBus.Message::Body + IL_0012: call instance void class NDesk.DBus.MessageReader::'.ctor'(valuetype NDesk.DBus.EndianFlag, unsigned int8[]) + IL_0017: ldarg.1 + IL_0018: brtrue IL_0028 - // method line 766 - .method public hidebysig specialname - instance default bool get_IsConnected () cil managed - { - // Method begins at RVA 0x83a1 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld bool NDesk.DBus.Connection::isConnected - IL_0006: ret - } // end of method Connection::get_IsConnected + IL_001d: ldstr "message" + IL_0022: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0027: throw + IL_0028: ldarg.0 + IL_0029: ldarg.1 + IL_002a: stfld class NDesk.DBus.Message NDesk.DBus.MessageReader::message + IL_002f: ret + } // end of method MessageReader::.ctor - // method line 767 + // method line 764 .method public hidebysig - instance default void Close () cil managed + instance default bool StepOver (valuetype NDesk.DBus.Signature sig) cil managed { - // Method begins at RVA 0x83a9 - // Code size 53 (0x35) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld bool NDesk.DBus.Connection::isShared - IL_0006: brfalse IL_0016 - - IL_000b: ldstr "Cannot disconnect a shared Connection" - IL_0010: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0015: throw - IL_0016: ldarg.0 - IL_0017: call instance bool class NDesk.DBus.Connection::get_IsConnected() - IL_001c: brtrue IL_0022 - - IL_0021: ret - IL_0022: ldarg.0 - IL_0023: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport - IL_0028: callvirt instance void class NDesk.DBus.Transports.Transport::Disconnect() - IL_002d: ldarg.0 - IL_002e: ldc.i4.0 - IL_002f: stfld bool NDesk.DBus.Connection::isConnected - IL_0034: ret - } // end of method Connection::Close + // Method begins at RVA 0x7b24 + // Code size 520 (0x208) + .maxstack 3 + .locals init ( + valuetype NDesk.DBus.Signature V_0, + unsigned int32 V_1, + unsigned int32 V_2, + unsigned int8 V_3, + valuetype NDesk.DBus.Signature V_4, + unsigned int32 V_5, + int32 V_6, + valuetype NDesk.DBus.Signature V_7, + valuetype NDesk.DBus.Signature V_8, + valuetype NDesk.DBus.Signature V_9, + class [mscorlib]System.Collections.Generic.IEnumerator`1 V_10, + bool V_11) + IL_0000: ldarg.1 + IL_0001: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::VariantSig + IL_0006: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_000b: brfalse IL_001f - // method line 768 - .method public static hidebysig - default class NDesk.DBus.Connection Open (string address) cil managed + IL_0010: ldarg.0 + IL_0011: call instance valuetype NDesk.DBus.Signature class NDesk.DBus.MessageReader::ReadSignature() + IL_0016: stloc.0 + IL_0017: ldarg.0 + IL_0018: ldloc.0 + IL_0019: call instance bool class NDesk.DBus.MessageReader::StepOver(valuetype NDesk.DBus.Signature) + IL_001e: ret + IL_001f: ldarg.1 + IL_0020: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::StringSig + IL_0025: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_002a: brfalse IL_0054 + + IL_002f: ldarg.0 + IL_0030: call instance unsigned int32 class NDesk.DBus.MessageReader::ReadUInt32() + IL_0035: stloc.1 + IL_0036: ldarg.0 + IL_0037: dup + IL_0038: ldfld int32 NDesk.DBus.MessageReader::pos + IL_003d: ldloc.1 + IL_003e: add + IL_003f: stfld int32 NDesk.DBus.MessageReader::pos + IL_0044: ldarg.0 + IL_0045: dup + IL_0046: ldfld int32 NDesk.DBus.MessageReader::pos + IL_004b: ldc.i4.1 + IL_004c: add + IL_004d: stfld int32 NDesk.DBus.MessageReader::pos + IL_0052: ldc.i4.1 + IL_0053: ret + IL_0054: ldarg.1 + IL_0055: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::ObjectPathSig + IL_005a: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_005f: brfalse IL_0089 + + IL_0064: ldarg.0 + IL_0065: call instance unsigned int32 class NDesk.DBus.MessageReader::ReadUInt32() + IL_006a: stloc.2 + IL_006b: ldarg.0 + IL_006c: dup + IL_006d: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0072: ldloc.2 + IL_0073: add + IL_0074: stfld int32 NDesk.DBus.MessageReader::pos + IL_0079: ldarg.0 + IL_007a: dup + IL_007b: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0080: ldc.i4.1 + IL_0081: add + IL_0082: stfld int32 NDesk.DBus.MessageReader::pos + IL_0087: ldc.i4.1 + IL_0088: ret + IL_0089: ldarg.1 + IL_008a: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::SignatureSig + IL_008f: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0094: brfalse IL_00be + + IL_0099: ldarg.0 + IL_009a: call instance unsigned int8 class NDesk.DBus.MessageReader::ReadByte() + IL_009f: stloc.3 + IL_00a0: ldarg.0 + IL_00a1: dup + IL_00a2: ldfld int32 NDesk.DBus.MessageReader::pos + IL_00a7: ldloc.3 + IL_00a8: add + IL_00a9: stfld int32 NDesk.DBus.MessageReader::pos + IL_00ae: ldarg.0 + IL_00af: dup + IL_00b0: ldfld int32 NDesk.DBus.MessageReader::pos + IL_00b5: ldc.i4.1 + IL_00b6: add + IL_00b7: stfld int32 NDesk.DBus.MessageReader::pos + IL_00bc: ldc.i4.1 + IL_00bd: ret + IL_00be: ldarga.s 1 + IL_00c0: call instance bool valuetype NDesk.DBus.Signature::get_IsArray() + IL_00c5: brfalse IL_0104 + + IL_00ca: ldarga.s 1 + IL_00cc: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetElementSignature() + IL_00d1: stloc.s 4 + IL_00d3: ldarg.0 + IL_00d4: call instance unsigned int32 class NDesk.DBus.MessageReader::ReadUInt32() + IL_00d9: stloc.s 5 + IL_00db: ldarg.0 + IL_00dc: ldarg.0 + IL_00dd: ldfld int32 NDesk.DBus.MessageReader::pos + IL_00e2: ldloca.s 4 + IL_00e4: call instance int32 valuetype NDesk.DBus.Signature::get_Alignment() + IL_00e9: call int32 class NDesk.DBus.Protocol::Padded(int32, int32) + IL_00ee: stfld int32 NDesk.DBus.MessageReader::pos + IL_00f3: ldarg.0 + IL_00f4: dup + IL_00f5: ldfld int32 NDesk.DBus.MessageReader::pos + IL_00fa: ldloc.s 5 + IL_00fc: add + IL_00fd: stfld int32 NDesk.DBus.MessageReader::pos + IL_0102: ldc.i4.1 + IL_0103: ret + IL_0104: ldarg.0 + IL_0105: ldfld int32 NDesk.DBus.MessageReader::pos + IL_010a: stloc.s 6 + IL_010c: ldarga.s 1 + IL_010e: ldloca.s 6 + IL_0110: call instance bool valuetype NDesk.DBus.Signature::GetFixedSize([out] int32&) + IL_0115: brfalse IL_0124 + + IL_011a: ldarg.0 + IL_011b: ldloc.s 6 + IL_011d: stfld int32 NDesk.DBus.MessageReader::pos + IL_0122: ldc.i4.1 + IL_0123: ret + IL_0124: ldarga.s 1 + IL_0126: call instance bool valuetype NDesk.DBus.Signature::get_IsDictEntry() + IL_012b: brfalse IL_0173 + + IL_0130: ldarg.0 + IL_0131: ldarg.0 + IL_0132: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0137: ldarga.s 1 + IL_0139: call instance int32 valuetype NDesk.DBus.Signature::get_Alignment() + IL_013e: call int32 class NDesk.DBus.Protocol::Padded(int32, int32) + IL_0143: stfld int32 NDesk.DBus.MessageReader::pos + IL_0148: ldarga.s 1 + IL_014a: ldloca.s 7 + IL_014c: ldloca.s 8 + IL_014e: call instance void valuetype NDesk.DBus.Signature::GetDictEntrySignatures([out] valuetype NDesk.DBus.Signature&, [out] valuetype NDesk.DBus.Signature&) + IL_0153: ldarg.0 + IL_0154: ldloc.s 7 + IL_0156: call instance bool class NDesk.DBus.MessageReader::StepOver(valuetype NDesk.DBus.Signature) + IL_015b: brtrue IL_0162 + + IL_0160: ldc.i4.0 + IL_0161: ret + IL_0162: ldarg.0 + IL_0163: ldloc.s 8 + IL_0165: call instance bool class NDesk.DBus.MessageReader::StepOver(valuetype NDesk.DBus.Signature) + IL_016a: brtrue IL_0171 + + IL_016f: ldc.i4.0 + IL_0170: ret + IL_0171: ldc.i4.1 + IL_0172: ret + IL_0173: ldarga.s 1 + IL_0175: call instance bool valuetype NDesk.DBus.Signature::get_IsStruct() + IL_017a: brfalse IL_01ea + + IL_017f: ldarg.0 + IL_0180: ldarg.0 + IL_0181: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0186: ldarga.s 1 + IL_0188: call instance int32 valuetype NDesk.DBus.Signature::get_Alignment() + IL_018d: call int32 class NDesk.DBus.Protocol::Padded(int32, int32) + IL_0192: stfld int32 NDesk.DBus.MessageReader::pos + IL_0197: ldarga.s 1 + IL_0199: call instance class [mscorlib]System.Collections.Generic.IEnumerable`1 valuetype NDesk.DBus.Signature::GetFieldSignatures() + IL_019e: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() + IL_01a3: stloc.s 10 + .try { // 0 + IL_01a5: br IL_01c8 + + IL_01aa: ldloc.s 10 + IL_01ac: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + IL_01b1: stloc.s 9 + IL_01b3: ldarg.0 + IL_01b4: ldloc.s 9 + IL_01b6: call instance bool class NDesk.DBus.MessageReader::StepOver(valuetype NDesk.DBus.Signature) + IL_01bb: brtrue IL_01c8 + + IL_01c0: ldc.i4.0 + IL_01c1: stloc.s 11 + IL_01c3: leave IL_0205 + + IL_01c8: ldloc.s 10 + IL_01ca: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_01cf: brtrue IL_01aa + + IL_01d4: leave IL_01e8 + + } // end .try 0 + finally { // 0 + IL_01d9: ldloc.s 10 + IL_01db: brfalse IL_01e7 + + IL_01e0: ldloc.s 10 + IL_01e2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01e7: endfinally + } // end handler 0 + IL_01e8: ldc.i4.1 + IL_01e9: ret + IL_01ea: ldstr "Can't step over '" + IL_01ef: ldarg.1 + IL_01f0: box NDesk.DBus.Signature + IL_01f5: ldstr "'" + IL_01fa: call string string::Concat(object, object, object) + IL_01ff: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0204: throw + IL_0205: ldloc.s 11 + IL_0207: ret + } // end of method MessageReader::StepOver + + // method line 765 + .method public hidebysig + instance default class [mscorlib]System.Collections.Generic.IEnumerable`1 StepInto (valuetype NDesk.DBus.Signature sig) cil managed { - // Method begins at RVA 0x83e0 - // Code size 21 (0x15) - .maxstack 2 + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x7d48 + // Code size 30 (0x1e) + .maxstack 3 .locals init ( - class NDesk.DBus.Connection V_0) - IL_0000: newobj instance void class NDesk.DBus.Connection::'.ctor'() + class NDesk.DBus.MessageReader/'c__Iterator0' V_0) + IL_0000: newobj instance void class NDesk.DBus.MessageReader/'c__Iterator0'::'.ctor'() IL_0005: stloc.0 IL_0006: ldloc.0 - IL_0007: ldarg.0 - IL_0008: callvirt instance void class NDesk.DBus.Connection::OpenPrivate(string) + IL_0007: ldarg.1 + IL_0008: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig IL_000d: ldloc.0 - IL_000e: callvirt instance void class NDesk.DBus.Connection::Authenticate() - IL_0013: ldloc.0 - IL_0014: ret - } // end of method Connection::Open + IL_000e: ldarg.0 + IL_000f: stfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this + IL_0014: ldloc.0 + IL_0015: dup + IL_0016: ldc.i4.s 0xfffffffe + IL_0018: stfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC + IL_001d: ret + } // end of method MessageReader::StepInto - // method line 769 - .method assembly hidebysig - instance default void OpenPrivate (string address) cil managed + // method line 766 + .method public hidebysig + instance default object ReadValue (class [mscorlib]System.Type 'type') cil managed { - // Method begins at RVA 0x8404 - // Code size 79 (0x4f) - .maxstack 2 + // Method begins at RVA 0x7d74 + // Code size 345 (0x159) + .maxstack 4 .locals init ( - class NDesk.DBus.AddressEntry[] V_0, - class NDesk.DBus.AddressEntry V_1) + class [mscorlib]System.Type[] V_0, + class [mscorlib]System.Type V_1, + class [mscorlib]System.Collections.IDictionary V_2, + object V_3, + valuetype NDesk.DBus.DType V_4) IL_0000: ldarg.1 - IL_0001: brtrue IL_0011 + IL_0001: ldtoken [mscorlib]System.Void + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0010: brfalse IL_0017 - IL_0006: ldstr "address" - IL_000b: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0010: throw - IL_0011: ldarg.1 - IL_0012: call class NDesk.DBus.AddressEntry[] class NDesk.DBus.Address::Parse(string) - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldlen - IL_001a: conv.i4 - IL_001b: brtrue IL_002b + IL_0015: ldnull + IL_0016: ret + IL_0017: ldarg.1 + IL_0018: callvirt instance bool class [mscorlib]System.Type::get_IsArray() + IL_001d: brfalse IL_002f - IL_0020: ldstr "No addresses were found" - IL_0025: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_002a: throw - IL_002b: ldloc.0 - IL_002c: ldc.i4.0 - IL_002d: ldelem.ref - IL_002e: stloc.1 - IL_002f: ldarg.0 - IL_0030: ldloc.1 - IL_0031: ldfld valuetype NDesk.DBus.UUID NDesk.DBus.AddressEntry::GUID - IL_0036: stfld valuetype NDesk.DBus.UUID NDesk.DBus.Connection::Id - IL_003b: ldarg.0 - IL_003c: ldloc.1 - IL_003d: call class NDesk.DBus.Transports.Transport class NDesk.DBus.Transports.Transport::Create(class NDesk.DBus.AddressEntry) - IL_0042: call instance void class NDesk.DBus.Connection::set_Transport(class NDesk.DBus.Transports.Transport) - IL_0047: ldarg.0 - IL_0048: ldc.i4.1 - IL_0049: stfld bool NDesk.DBus.Connection::isConnected - IL_004e: ret - } // end of method Connection::OpenPrivate + IL_0022: ldarg.0 + IL_0023: ldarg.1 + IL_0024: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() + IL_0029: call instance class [mscorlib]System.Array class NDesk.DBus.MessageReader::ReadArray(class [mscorlib]System.Type) + IL_002e: ret + IL_002f: ldarg.1 + IL_0030: ldtoken NDesk.DBus.ObjectPath + IL_0035: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_003a: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_003f: brfalse IL_004b - // method line 770 - .method private hidebysig - instance default void Authenticate () cil managed + IL_0044: ldarg.0 + IL_0045: call instance class NDesk.DBus.ObjectPath class NDesk.DBus.MessageReader::ReadObjectPath() + IL_004a: ret + IL_004b: ldarg.1 + IL_004c: ldtoken NDesk.DBus.Signature + IL_0051: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0056: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_005b: brfalse IL_006c + + IL_0060: ldarg.0 + IL_0061: call instance valuetype NDesk.DBus.Signature class NDesk.DBus.MessageReader::ReadSignature() + IL_0066: box NDesk.DBus.Signature + IL_006b: ret + IL_006c: ldarg.1 + IL_006d: ldtoken [mscorlib]System.Object + IL_0072: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0077: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_007c: brfalse IL_0088 + + IL_0081: ldarg.0 + IL_0082: call instance object class NDesk.DBus.MessageReader::ReadVariant() + IL_0087: ret + IL_0088: ldarg.1 + IL_0089: ldtoken [mscorlib]System.String + IL_008e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0093: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0098: brfalse IL_00a4 + + IL_009d: ldarg.0 + IL_009e: call instance string class NDesk.DBus.MessageReader::ReadString() + IL_00a3: ret + IL_00a4: ldarg.1 + IL_00a5: callvirt instance bool class [mscorlib]System.Type::get_IsGenericType() + IL_00aa: brfalse IL_0102 + + IL_00af: ldarg.1 + IL_00b0: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetGenericTypeDefinition() + IL_00b5: ldtoken [mscorlib]System.Collections.Generic.IDictionary`2 + IL_00ba: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00bf: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_00c4: brfalse IL_0102 + + IL_00c9: ldarg.1 + IL_00ca: callvirt instance class [mscorlib]System.Type[] class [mscorlib]System.Type::GetGenericArguments() + IL_00cf: stloc.0 + IL_00d0: ldtoken [mscorlib]System.Collections.Generic.Dictionary`2 + IL_00d5: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00da: ldloc.0 + IL_00db: call class [mscorlib]System.Type class NDesk.DBus.Mapper::GetGenericType(class [mscorlib]System.Type, class [mscorlib]System.Type[]) + IL_00e0: stloc.1 + IL_00e1: ldloc.1 + IL_00e2: ldc.i4.0 + IL_00e3: newarr [mscorlib]System.Object + IL_00e8: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type, object[]) + IL_00ed: castclass [mscorlib]System.Collections.IDictionary + IL_00f2: stloc.2 + IL_00f3: ldarg.0 + IL_00f4: ldloc.0 + IL_00f5: ldc.i4.0 + IL_00f6: ldelem.ref + IL_00f7: ldloc.0 + IL_00f8: ldc.i4.1 + IL_00f9: ldelem.ref + IL_00fa: ldloc.2 + IL_00fb: call instance void class NDesk.DBus.MessageReader::GetValueToDict(class [mscorlib]System.Type, class [mscorlib]System.Type, class [mscorlib]System.Collections.IDictionary) + IL_0100: ldloc.2 + IL_0101: ret + IL_0102: ldarg.1 + IL_0103: call bool class NDesk.DBus.Mapper::IsPublic(class [mscorlib]System.Type) + IL_0108: brfalse IL_0115 + + IL_010d: ldarg.0 + IL_010e: ldarg.1 + IL_010f: call instance object class NDesk.DBus.MessageReader::GetObject(class [mscorlib]System.Type) + IL_0114: ret + IL_0115: ldarg.1 + IL_0116: callvirt instance bool class [mscorlib]System.Type::get_IsPrimitive() + IL_011b: brtrue IL_0133 + + IL_0120: ldarg.1 + IL_0121: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() + IL_0126: brtrue IL_0133 + + IL_012b: ldarg.0 + IL_012c: ldarg.1 + IL_012d: call instance object class NDesk.DBus.MessageReader::ReadStruct(class [mscorlib]System.Type) + IL_0132: ret + IL_0133: ldarg.1 + IL_0134: call valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::TypeToDType(class [mscorlib]System.Type) + IL_0139: stloc.s 4 + IL_013b: ldarg.0 + IL_013c: ldloc.s 4 + IL_013e: call instance object class NDesk.DBus.MessageReader::ReadValue(valuetype NDesk.DBus.DType) + IL_0143: stloc.3 + IL_0144: ldarg.1 + IL_0145: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() + IL_014a: brfalse IL_0157 + + IL_014f: ldarg.1 + IL_0150: ldloc.3 + IL_0151: call object class [mscorlib]System.Enum::ToObject(class [mscorlib]System.Type, object) + IL_0156: stloc.3 + IL_0157: ldloc.3 + IL_0158: ret + } // end of method MessageReader::ReadValue + + // method line 767 + .method public hidebysig + instance default object ReadValue (valuetype NDesk.DBus.DType dtype) cil managed { - // Method begins at RVA 0x8460 - // Code size 224 (0xe0) + // Method begins at RVA 0x7edc + // Code size 278 (0x116) .maxstack 2 + IL_0000: ldarg.1 + IL_0001: ldc.i4.s 0x6e + IL_0003: sub + IL_0004: switch ( + IL_007f, + IL_00e6, + IL_0039, + IL_008b, + IL_0039, + IL_00df, + IL_00bb, + IL_00a3, + IL_00f9, + IL_0039, + IL_00af, + IL_0067) + IL_0039: ldarg.1 + IL_003a: ldc.i4.s 0x62 + IL_003c: sub + IL_003d: switch ( + IL_0073, + IL_0100, + IL_00d3, + IL_0100, + IL_00c7, + IL_00ed, + IL_0100, + IL_0097) + IL_0062: br IL_0100 + + IL_0067: ldarg.0 + IL_0068: call instance unsigned int8 class NDesk.DBus.MessageReader::ReadByte() + IL_006d: box [mscorlib]System.Byte + IL_0072: ret + IL_0073: ldarg.0 + IL_0074: call instance bool class NDesk.DBus.MessageReader::ReadBoolean() + IL_0079: box [mscorlib]System.Boolean + IL_007e: ret + IL_007f: ldarg.0 + IL_0080: call instance int16 class NDesk.DBus.MessageReader::ReadInt16() + IL_0085: box [mscorlib]System.Int16 + IL_008a: ret + IL_008b: ldarg.0 + IL_008c: call instance unsigned int16 class NDesk.DBus.MessageReader::ReadUInt16() + IL_0091: box [mscorlib]System.UInt16 + IL_0096: ret + IL_0097: ldarg.0 + IL_0098: call instance int32 class NDesk.DBus.MessageReader::ReadInt32() + IL_009d: box [mscorlib]System.Int32 + IL_00a2: ret + IL_00a3: ldarg.0 + IL_00a4: call instance unsigned int32 class NDesk.DBus.MessageReader::ReadUInt32() + IL_00a9: box [mscorlib]System.UInt32 + IL_00ae: ret + IL_00af: ldarg.0 + IL_00b0: call instance int64 class NDesk.DBus.MessageReader::ReadInt64() + IL_00b5: box [mscorlib]System.Int64 + IL_00ba: ret + IL_00bb: ldarg.0 + IL_00bc: call instance unsigned int64 class NDesk.DBus.MessageReader::ReadUInt64() + IL_00c1: box [mscorlib]System.UInt64 + IL_00c6: ret + IL_00c7: ldarg.0 + IL_00c8: call instance float32 class NDesk.DBus.MessageReader::ReadSingle() + IL_00cd: box [mscorlib]System.Single + IL_00d2: ret + IL_00d3: ldarg.0 + IL_00d4: call instance float64 class NDesk.DBus.MessageReader::ReadDouble() + IL_00d9: box [mscorlib]System.Double + IL_00de: ret + IL_00df: ldarg.0 + IL_00e0: call instance string class NDesk.DBus.MessageReader::ReadString() + IL_00e5: ret + IL_00e6: ldarg.0 + IL_00e7: call instance class NDesk.DBus.ObjectPath class NDesk.DBus.MessageReader::ReadObjectPath() + IL_00ec: ret + IL_00ed: ldarg.0 + IL_00ee: call instance valuetype NDesk.DBus.Signature class NDesk.DBus.MessageReader::ReadSignature() + IL_00f3: box NDesk.DBus.Signature + IL_00f8: ret + IL_00f9: ldarg.0 + IL_00fa: call instance object class NDesk.DBus.MessageReader::ReadVariant() + IL_00ff: ret + IL_0100: ldstr "Unhandled D-Bus type: " + IL_0105: ldarg.1 + IL_0106: box NDesk.DBus.DType + IL_010b: call string string::Concat(object, object) + IL_0110: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0115: throw + } // end of method MessageReader::ReadValue + + // method line 768 + .method public hidebysig + instance default object GetObject (class [mscorlib]System.Type 'type') cil managed + { + // Method begins at RVA 0x8000 + // Code size 48 (0x30) + .maxstack 4 .locals init ( - class NDesk.DBus.Authentication.SaslClient V_0) + class NDesk.DBus.ObjectPath V_0) IL_0000: ldarg.0 - IL_0001: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport - IL_0006: brfalse IL_0016 + IL_0001: call instance class NDesk.DBus.ObjectPath class NDesk.DBus.MessageReader::ReadObjectPath() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldfld class NDesk.DBus.Message NDesk.DBus.MessageReader::message + IL_000d: ldfld class NDesk.DBus.Connection NDesk.DBus.Message::Connection + IL_0012: ldarg.1 + IL_0013: ldarg.0 + IL_0014: ldfld class NDesk.DBus.Message NDesk.DBus.MessageReader::message + IL_0019: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_001e: ldc.i4.7 + IL_001f: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) + IL_0024: castclass [mscorlib]System.String + IL_0029: ldloc.0 + IL_002a: callvirt instance object class NDesk.DBus.Connection::GetObject(class [mscorlib]System.Type, string, class NDesk.DBus.ObjectPath) + IL_002f: ret + } // end of method MessageReader::GetObject - IL_000b: ldarg.0 - IL_000c: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport - IL_0011: callvirt instance void class NDesk.DBus.Transports.Transport::WriteCred() - IL_0016: newobj instance void class NDesk.DBus.Authentication.SaslClient::'.ctor'() - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.0 - IL_001e: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport - IL_0023: callvirt instance string class NDesk.DBus.Transports.Transport::AuthString() - IL_0028: stfld string NDesk.DBus.Authentication.SaslClient::Identity - IL_002d: ldloc.0 - IL_002e: ldarg.0 - IL_002f: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport - IL_0034: ldfld class [mscorlib]System.IO.Stream NDesk.DBus.Transports.Transport::Stream - IL_0039: stfld class [mscorlib]System.IO.Stream NDesk.DBus.Authentication.SaslPeer::'stream' - IL_003e: ldloc.0 - IL_003f: newobj instance void class NDesk.DBus.Authentication.SaslPeer::'.ctor'() - IL_0044: stfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer::Peer - IL_0049: ldloc.0 - IL_004a: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer::Peer - IL_004f: ldloc.0 - IL_0050: stfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer::Peer - IL_0055: ldloc.0 - IL_0056: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer::Peer - IL_005b: ldarg.0 - IL_005c: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport - IL_0061: ldfld class [mscorlib]System.IO.Stream NDesk.DBus.Transports.Transport::Stream - IL_0066: stfld class [mscorlib]System.IO.Stream NDesk.DBus.Authentication.SaslPeer::'stream' - IL_006b: ldloc.0 - IL_006c: callvirt instance bool class NDesk.DBus.Authentication.SaslPeer::Authenticate() - IL_0071: brtrue IL_0081 + // method line 769 + .method public hidebysig + instance default unsigned int8 ReadByte () cil managed + { + // Method begins at RVA 0x803c + // Code size 25 (0x19) + .maxstack 4 + .locals init ( + int32 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld unsigned int8[] NDesk.DBus.MessageReader::data + IL_0006: ldarg.0 + IL_0007: dup + IL_0008: ldfld int32 NDesk.DBus.MessageReader::pos + IL_000d: dup + IL_000e: stloc.0 + IL_000f: ldc.i4.1 + IL_0010: add + IL_0011: stfld int32 NDesk.DBus.MessageReader::pos + IL_0016: ldloc.0 + IL_0017: ldelem.u1 + IL_0018: ret + } // end of method MessageReader::ReadByte - IL_0076: ldstr "Authentication failure" - IL_007b: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0080: throw - IL_0081: ldarg.0 - IL_0082: ldfld valuetype NDesk.DBus.UUID NDesk.DBus.Connection::Id - IL_0087: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero - IL_008c: call bool valuetype NDesk.DBus.UUID::op_Inequality(valuetype NDesk.DBus.UUID, valuetype NDesk.DBus.UUID) - IL_0091: brfalse IL_00b7 + // method line 770 + .method public hidebysig + instance default bool ReadBoolean () cil managed + { + // Method begins at RVA 0x8064 + // Code size 93 (0x5d) + .maxstack 4 + .locals init ( + unsigned int32 V_0) + IL_0000: ldarg.0 + IL_0001: call instance unsigned int32 class NDesk.DBus.MessageReader::ReadUInt32() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: brfalse IL_0019 - IL_0096: ldloc.0 - IL_0097: ldfld valuetype NDesk.DBus.UUID NDesk.DBus.Authentication.SaslClient::ActualId - IL_009c: ldarg.0 - IL_009d: ldfld valuetype NDesk.DBus.UUID NDesk.DBus.Connection::Id - IL_00a2: call bool valuetype NDesk.DBus.UUID::op_Inequality(valuetype NDesk.DBus.UUID, valuetype NDesk.DBus.UUID) - IL_00a7: brfalse IL_00b7 + IL_000d: ldloc.0 + IL_000e: ldc.i4.1 + IL_000f: beq IL_001b - IL_00ac: ldstr "Authentication failure: Unexpected GUID" - IL_00b1: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_00b6: throw - IL_00b7: ldarg.0 - IL_00b8: ldfld valuetype NDesk.DBus.UUID NDesk.DBus.Connection::Id - IL_00bd: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero - IL_00c2: call bool valuetype NDesk.DBus.UUID::op_Equality(valuetype NDesk.DBus.UUID, valuetype NDesk.DBus.UUID) - IL_00c7: brfalse IL_00d8 + IL_0014: br IL_001d - IL_00cc: ldarg.0 - IL_00cd: ldloc.0 - IL_00ce: ldfld valuetype NDesk.DBus.UUID NDesk.DBus.Authentication.SaslClient::ActualId - IL_00d3: stfld valuetype NDesk.DBus.UUID NDesk.DBus.Connection::Id - IL_00d8: ldarg.0 - IL_00d9: ldc.i4.1 - IL_00da: stfld bool NDesk.DBus.Connection::isAuthenticated - IL_00df: ret - } // end of method Connection::Authenticate + IL_0019: ldc.i4.0 + IL_001a: ret + IL_001b: ldc.i4.1 + IL_001c: ret + IL_001d: ldc.i4.5 + IL_001e: newarr [mscorlib]System.Object + IL_0023: dup + IL_0024: ldc.i4.0 + IL_0025: ldstr "Read value " + IL_002a: stelem.ref + IL_002b: dup + IL_002c: ldc.i4.1 + IL_002d: ldloc.0 + IL_002e: box [mscorlib]System.UInt32 + IL_0033: stelem.ref + IL_0034: dup + IL_0035: ldc.i4.2 + IL_0036: ldstr " at position " + IL_003b: stelem.ref + IL_003c: dup + IL_003d: ldc.i4.3 + IL_003e: ldarg.0 + IL_003f: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0044: box [mscorlib]System.Int32 + IL_0049: stelem.ref + IL_004a: dup + IL_004b: ldc.i4.4 + IL_004c: ldstr " while expecting boolean (0/1)" + IL_0051: stelem.ref + IL_0052: call string string::Concat(object[]) + IL_0057: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_005c: throw + } // end of method MessageReader::ReadBoolean // method line 771 - .method assembly hidebysig specialname - instance default bool get_IsAuthenticated () cil managed + .method family hidebysig + instance default void MarshalUShort (void* dstPtr) cil managed { - // Method begins at RVA 0x854c - // Code size 7 (0x7) - .maxstack 8 + // Method begins at RVA 0x80d0 + // Code size 136 (0x88) + .maxstack 4 + .locals init ( + unsigned int8& pinned V_0, + unsigned int8* V_1) IL_0000: ldarg.0 - IL_0001: ldfld bool NDesk.DBus.Connection::isAuthenticated - IL_0006: ret - } // end of method Connection::get_IsAuthenticated + IL_0001: ldc.i4.2 + IL_0002: call instance void class NDesk.DBus.MessageReader::ReadPad(int32) + IL_0007: ldarg.0 + IL_0008: ldfld unsigned int8[] NDesk.DBus.MessageReader::data + IL_000d: ldlen + IL_000e: conv.i4 + IL_000f: ldarg.0 + IL_0010: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0015: ldc.i4.2 + IL_0016: add + IL_0017: bge IL_0027 + + IL_001c: ldstr "Cannot read beyond end of data" + IL_0021: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0026: throw + IL_0027: ldarg.0 + IL_0028: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.MessageReader::endianness + IL_002d: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness + IL_0032: bne.un IL_0055 + + IL_0037: ldarg.0 + IL_0038: ldfld unsigned int8[] NDesk.DBus.MessageReader::data + IL_003d: ldarg.0 + IL_003e: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0043: ldelema [mscorlib]System.Byte + IL_0048: stloc.0 + IL_0049: ldarg.1 + IL_004a: ldloc.0 + IL_004b: ldind.u2 + IL_004c: stind.i2 + IL_004d: ldc.i4.0 + IL_004e: conv.u + IL_004f: stloc.0 + IL_0050: br IL_0079 + + IL_0055: ldarg.1 + IL_0056: stloc.1 + IL_0057: ldloc.1 + IL_0058: ldarg.0 + IL_0059: ldfld unsigned int8[] NDesk.DBus.MessageReader::data + IL_005e: ldarg.0 + IL_005f: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0064: ldc.i4.1 + IL_0065: add + IL_0066: ldelem.u1 + IL_0067: stind.i1 + IL_0068: ldloc.1 + IL_0069: ldc.i4.1 + IL_006a: add + IL_006b: ldarg.0 + IL_006c: ldfld unsigned int8[] NDesk.DBus.MessageReader::data + IL_0071: ldarg.0 + IL_0072: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0077: ldelem.u1 + IL_0078: stind.i1 + IL_0079: ldarg.0 + IL_007a: dup + IL_007b: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0080: ldc.i4.2 + IL_0081: add + IL_0082: stfld int32 NDesk.DBus.MessageReader::pos + IL_0087: ret + } // end of method MessageReader::MarshalUShort // method line 772 - .method assembly hidebysig - instance default unsigned int32 GenerateSerial () cil managed + .method public hidebysig + instance default int16 ReadInt16 () cil managed { - // Method begins at RVA 0x8554 - // Code size 12 (0xc) - .maxstack 8 + // Method begins at RVA 0x8164 + // Code size 10 (0xa) + .maxstack 2 + .locals init ( + int16 V_0) IL_0000: ldarg.0 - IL_0001: ldflda int32 NDesk.DBus.Connection::serial - IL_0006: call int32 class [mscorlib]System.Threading.Interlocked::Increment([out] int32&) - IL_000b: ret - } // end of method Connection::GenerateSerial + IL_0001: ldloca.s 0 + IL_0003: call instance void class NDesk.DBus.MessageReader::MarshalUShort(void*) + IL_0008: ldloc.0 + IL_0009: ret + } // end of method MessageReader::ReadInt16 // method line 773 - .method assembly hidebysig - instance default class NDesk.DBus.Message SendWithReplyAndBlock (class NDesk.DBus.Message msg) cil managed + .method public hidebysig + instance default unsigned int16 ReadUInt16 () cil managed { - // Method begins at RVA 0x8564 - // Code size 15 (0xf) + // Method begins at RVA 0x817c + // Code size 10 (0xa) .maxstack 2 .locals init ( - class NDesk.DBus.PendingCall V_0) + unsigned int16 V_0) IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call instance class NDesk.DBus.PendingCall class NDesk.DBus.Connection::SendWithReply(class NDesk.DBus.Message) - IL_0007: stloc.0 + IL_0001: ldloca.s 0 + IL_0003: call instance void class NDesk.DBus.MessageReader::MarshalUShort(void*) IL_0008: ldloc.0 - IL_0009: callvirt instance class NDesk.DBus.Message class NDesk.DBus.PendingCall::get_Reply() - IL_000e: ret - } // end of method Connection::SendWithReplyAndBlock + IL_0009: ret + } // end of method MessageReader::ReadUInt16 // method line 774 - .method assembly hidebysig - instance default class NDesk.DBus.PendingCall SendWithReply (class NDesk.DBus.Message msg) cil managed + .method family hidebysig + instance default void MarshalUInt (void* dstPtr) cil managed { - // Method begins at RVA 0x8580 - // Code size 112 (0x70) - .maxstack 3 + // Method begins at RVA 0x8194 + // Code size 174 (0xae) + .maxstack 4 .locals init ( - class NDesk.DBus.PendingCall V_0, - object V_1, - bool V_2) - IL_0000: ldarg.1 - IL_0001: ldc.i4.1 - IL_0002: callvirt instance void class NDesk.DBus.Message::set_ReplyExpected(bool) - IL_0007: ldarg.1 - IL_0008: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_000d: ldfld unsigned int32 NDesk.DBus.Header::Serial - IL_0012: brtrue IL_0028 + unsigned int8& pinned V_0, + unsigned int8* V_1) + IL_0000: ldarg.0 + IL_0001: ldc.i4.4 + IL_0002: call instance void class NDesk.DBus.MessageReader::ReadPad(int32) + IL_0007: ldarg.0 + IL_0008: ldfld unsigned int8[] NDesk.DBus.MessageReader::data + IL_000d: ldlen + IL_000e: conv.i4 + IL_000f: ldarg.0 + IL_0010: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0015: ldc.i4.4 + IL_0016: add + IL_0017: bge IL_0027 - IL_0017: ldarg.1 - IL_0018: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_001d: ldarg.0 - IL_001e: call instance unsigned int32 class NDesk.DBus.Connection::GenerateSerial() - IL_0023: stfld unsigned int32 NDesk.DBus.Header::Serial - IL_0028: ldarg.0 - IL_0029: newobj instance void class NDesk.DBus.PendingCall::'.ctor'(class NDesk.DBus.Connection) - IL_002e: stloc.0 - IL_002f: ldarg.0 - IL_0030: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::pendingCalls - IL_0035: stloc.1 - IL_0036: ldc.i4.0 - IL_0037: stloc.2 - .try { // 0 - IL_0038: ldloc.1 - IL_0039: ldloca.s 2 - IL_003b: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) - IL_0040: ldarg.0 - IL_0041: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::pendingCalls - IL_0046: ldarg.1 - IL_0047: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_004c: ldfld unsigned int32 NDesk.DBus.Header::Serial - IL_0051: ldloc.0 - IL_0052: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::set_Item(!0, !1) - IL_0057: leave IL_0066 + IL_001c: ldstr "Cannot read beyond end of data" + IL_0021: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0026: throw + IL_0027: ldarg.0 + IL_0028: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.MessageReader::endianness + IL_002d: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness + IL_0032: bne.un IL_0055 - } // end .try 0 - finally { // 0 - IL_005c: ldloc.2 - IL_005d: brfalse.s IL_0065 + IL_0037: ldarg.0 + IL_0038: ldfld unsigned int8[] NDesk.DBus.MessageReader::data + IL_003d: ldarg.0 + IL_003e: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0043: ldelema [mscorlib]System.Byte + IL_0048: stloc.0 + IL_0049: ldarg.1 + IL_004a: ldloc.0 + IL_004b: ldind.u4 + IL_004c: stind.i4 + IL_004d: ldc.i4.0 + IL_004e: conv.u + IL_004f: stloc.0 + IL_0050: br IL_009f - IL_005f: ldloc.1 - IL_0060: call void class [mscorlib]System.Threading.Monitor::Exit(object) - IL_0065: endfinally - } // end handler 0 - IL_0066: ldarg.0 - IL_0067: ldarg.1 - IL_0068: callvirt instance unsigned int32 class NDesk.DBus.Connection::Send(class NDesk.DBus.Message) - IL_006d: pop - IL_006e: ldloc.0 - IL_006f: ret - } // end of method Connection::SendWithReply + IL_0055: ldarg.1 + IL_0056: stloc.1 + IL_0057: ldloc.1 + IL_0058: ldarg.0 + IL_0059: ldfld unsigned int8[] NDesk.DBus.MessageReader::data + IL_005e: ldarg.0 + IL_005f: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0064: ldc.i4.3 + IL_0065: add + IL_0066: ldelem.u1 + IL_0067: stind.i1 + IL_0068: ldloc.1 + IL_0069: ldc.i4.1 + IL_006a: add + IL_006b: ldarg.0 + IL_006c: ldfld unsigned int8[] NDesk.DBus.MessageReader::data + IL_0071: ldarg.0 + IL_0072: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0077: ldc.i4.2 + IL_0078: add + IL_0079: ldelem.u1 + IL_007a: stind.i1 + IL_007b: ldloc.1 + IL_007c: ldc.i4.2 + IL_007d: add + IL_007e: ldarg.0 + IL_007f: ldfld unsigned int8[] NDesk.DBus.MessageReader::data + IL_0084: ldarg.0 + IL_0085: ldfld int32 NDesk.DBus.MessageReader::pos + IL_008a: ldc.i4.1 + IL_008b: add + IL_008c: ldelem.u1 + IL_008d: stind.i1 + IL_008e: ldloc.1 + IL_008f: ldc.i4.3 + IL_0090: add + IL_0091: ldarg.0 + IL_0092: ldfld unsigned int8[] NDesk.DBus.MessageReader::data + IL_0097: ldarg.0 + IL_0098: ldfld int32 NDesk.DBus.MessageReader::pos + IL_009d: ldelem.u1 + IL_009e: stind.i1 + IL_009f: ldarg.0 + IL_00a0: dup + IL_00a1: ldfld int32 NDesk.DBus.MessageReader::pos + IL_00a6: ldc.i4.4 + IL_00a7: add + IL_00a8: stfld int32 NDesk.DBus.MessageReader::pos + IL_00ad: ret + } // end of method MessageReader::MarshalUInt // method line 775 - .method assembly virtual hidebysig newslot - instance default unsigned int32 Send (class NDesk.DBus.Message msg) cil managed + .method public hidebysig + instance default int32 ReadInt32 () cil managed { - // Method begins at RVA 0x860c - // Code size 57 (0x39) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0006: ldfld unsigned int32 NDesk.DBus.Header::Serial - IL_000b: brtrue IL_0021 - - IL_0010: ldarg.1 - IL_0011: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0016: ldarg.0 - IL_0017: call instance unsigned int32 class NDesk.DBus.Connection::GenerateSerial() - IL_001c: stfld unsigned int32 NDesk.DBus.Header::Serial - IL_0021: ldarg.0 - IL_0022: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport - IL_0027: ldarg.1 - IL_0028: callvirt instance void class NDesk.DBus.Transports.Transport::WriteMessage(class NDesk.DBus.Message) - IL_002d: ldarg.1 - IL_002e: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0033: ldfld unsigned int32 NDesk.DBus.Header::Serial - IL_0038: ret - } // end of method Connection::Send + // Method begins at RVA 0x8250 + // Code size 10 (0xa) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: ldarg.0 + IL_0001: ldloca.s 0 + IL_0003: call instance void class NDesk.DBus.MessageReader::MarshalUInt(void*) + IL_0008: ldloc.0 + IL_0009: ret + } // end of method MessageReader::ReadInt32 // method line 776 - .method assembly hidebysig - instance default void DispatchSignals () cil managed + .method public hidebysig + instance default unsigned int32 ReadUInt32 () cil managed { - // Method begins at RVA 0x8648 - // Code size 73 (0x49) + // Method begins at RVA 0x8268 + // Code size 10 (0xa) .maxstack 2 .locals init ( - object V_0, - bool V_1, - class NDesk.DBus.Message V_2) + unsigned int32 V_0) IL_0000: ldarg.0 - IL_0001: ldfld class [mscorlib]System.Collections.Generic.Queue`1 NDesk.DBus.Connection::Inbound - IL_0006: stloc.0 - IL_0007: ldc.i4.0 - IL_0008: stloc.1 - .try { // 0 - IL_0009: ldloc.0 - IL_000a: ldloca.s 1 - IL_000c: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) - IL_0011: br IL_0029 + IL_0001: ldloca.s 0 + IL_0003: call instance void class NDesk.DBus.MessageReader::MarshalUInt(void*) + IL_0008: ldloc.0 + IL_0009: ret + } // end of method MessageReader::ReadUInt32 - IL_0016: ldarg.0 - IL_0017: ldfld class [mscorlib]System.Collections.Generic.Queue`1 NDesk.DBus.Connection::Inbound - IL_001c: callvirt instance !0 class [mscorlib]System.Collections.Generic.Queue`1::Dequeue() - IL_0021: stloc.2 - IL_0022: ldarg.0 - IL_0023: ldloc.2 - IL_0024: call instance void class NDesk.DBus.Connection::HandleSignal(class NDesk.DBus.Message) - IL_0029: ldarg.0 - IL_002a: ldfld class [mscorlib]System.Collections.Generic.Queue`1 NDesk.DBus.Connection::Inbound - IL_002f: callvirt instance int32 class [mscorlib]System.Collections.Generic.Queue`1::get_Count() - IL_0034: brtrue IL_0016 + // method line 777 + .method family hidebysig + instance default void MarshalULong (void* dstPtr) cil managed + { + // Method begins at RVA 0x8280 + // Code size 142 (0x8e) + .maxstack 5 + .locals init ( + unsigned int8& pinned V_0, + unsigned int8* V_1, + int32 V_2) + IL_0000: ldarg.0 + IL_0001: ldc.i4.8 + IL_0002: call instance void class NDesk.DBus.MessageReader::ReadPad(int32) + IL_0007: ldarg.0 + IL_0008: ldfld unsigned int8[] NDesk.DBus.MessageReader::data + IL_000d: ldlen + IL_000e: conv.i4 + IL_000f: ldarg.0 + IL_0010: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0015: ldc.i4.8 + IL_0016: add + IL_0017: bge IL_0027 - IL_0039: leave IL_0048 + IL_001c: ldstr "Cannot read beyond end of data" + IL_0021: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0026: throw + IL_0027: ldarg.0 + IL_0028: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.MessageReader::endianness + IL_002d: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness + IL_0032: bne.un IL_0055 - } // end .try 0 - finally { // 0 - IL_003e: ldloc.1 - IL_003f: brfalse.s IL_0047 + IL_0037: ldarg.0 + IL_0038: ldfld unsigned int8[] NDesk.DBus.MessageReader::data + IL_003d: ldarg.0 + IL_003e: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0043: ldelema [mscorlib]System.Byte + IL_0048: stloc.0 + IL_0049: ldarg.1 + IL_004a: ldloc.0 + IL_004b: ldind.i8 + IL_004c: stind.i8 + IL_004d: ldc.i4.0 + IL_004e: conv.u + IL_004f: stloc.0 + IL_0050: br IL_007f - IL_0041: ldloc.0 - IL_0042: call void class [mscorlib]System.Threading.Monitor::Exit(object) - IL_0047: endfinally - } // end handler 0 - IL_0048: ret - } // end of method Connection::DispatchSignals + IL_0055: ldarg.1 + IL_0056: stloc.1 + IL_0057: ldc.i4.0 + IL_0058: stloc.2 + IL_0059: br IL_0078 - // method line 777 + IL_005e: ldloc.1 + IL_005f: ldloc.2 + IL_0060: conv.i + IL_0061: add + IL_0062: ldarg.0 + IL_0063: ldfld unsigned int8[] NDesk.DBus.MessageReader::data + IL_0068: ldarg.0 + IL_0069: ldfld int32 NDesk.DBus.MessageReader::pos + IL_006e: ldc.i4.7 + IL_006f: ldloc.2 + IL_0070: sub + IL_0071: add + IL_0072: ldelem.u1 + IL_0073: stind.i1 + IL_0074: ldloc.2 + IL_0075: ldc.i4.1 + IL_0076: add + IL_0077: stloc.2 + IL_0078: ldloc.2 + IL_0079: ldc.i4.8 + IL_007a: blt IL_005e + + IL_007f: ldarg.0 + IL_0080: dup + IL_0081: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0086: ldc.i4.8 + IL_0087: add + IL_0088: stfld int32 NDesk.DBus.MessageReader::pos + IL_008d: ret + } // end of method MessageReader::MarshalULong + + // method line 778 .method public hidebysig - instance default void Iterate () cil managed + instance default int64 ReadInt64 () cil managed { - // Method begins at RVA 0x86b0 - // Code size 37 (0x25) + // Method begins at RVA 0x831c + // Code size 10 (0xa) .maxstack 2 .locals init ( - class NDesk.DBus.Message V_0) + int64 V_0) IL_0000: ldarg.0 - IL_0001: call class [mscorlib]System.Threading.Thread class [mscorlib]System.Threading.Thread::get_CurrentThread() - IL_0006: stfld class [mscorlib]System.Threading.Thread NDesk.DBus.Connection::mainThread - IL_000b: ldarg.0 - IL_000c: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport - IL_0011: callvirt instance class NDesk.DBus.Message class NDesk.DBus.Transports.Transport::ReadMessage() - IL_0016: stloc.0 - IL_0017: ldarg.0 - IL_0018: ldloc.0 - IL_0019: callvirt instance void class NDesk.DBus.Connection::HandleMessage(class NDesk.DBus.Message) - IL_001e: ldarg.0 - IL_001f: call instance void class NDesk.DBus.Connection::DispatchSignals() - IL_0024: ret - } // end of method Connection::Iterate + IL_0001: ldloca.s 0 + IL_0003: call instance void class NDesk.DBus.MessageReader::MarshalULong(void*) + IL_0008: ldloc.0 + IL_0009: ret + } // end of method MessageReader::ReadInt64 - // method line 778 - .method assembly hidebysig - instance default void Dispatch () cil managed + // method line 779 + .method public hidebysig + instance default unsigned int64 ReadUInt64 () cil managed { - // Method begins at RVA 0x86e4 - // Code size 57 (0x39) + // Method begins at RVA 0x8334 + // Code size 10 (0xa) .maxstack 2 .locals init ( - class NDesk.DBus.Message V_0) - IL_0000: br IL_001d + unsigned int64 V_0) + IL_0000: ldarg.0 + IL_0001: ldloca.s 0 + IL_0003: call instance void class NDesk.DBus.MessageReader::MarshalULong(void*) + IL_0008: ldloc.0 + IL_0009: ret + } // end of method MessageReader::ReadUInt64 - IL_0005: ldarg.0 - IL_0006: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport - IL_000b: ldfld class [mscorlib]System.Collections.Generic.Queue`1 NDesk.DBus.Transports.Transport::Inbound - IL_0010: callvirt instance !0 class [mscorlib]System.Collections.Generic.Queue`1::Dequeue() - IL_0015: stloc.0 - IL_0016: ldarg.0 - IL_0017: ldloc.0 - IL_0018: callvirt instance void class NDesk.DBus.Connection::HandleMessage(class NDesk.DBus.Message) - IL_001d: ldarg.0 - IL_001e: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport - IL_0023: ldfld class [mscorlib]System.Collections.Generic.Queue`1 NDesk.DBus.Transports.Transport::Inbound - IL_0028: callvirt instance int32 class [mscorlib]System.Collections.Generic.Queue`1::get_Count() - IL_002d: brtrue IL_0005 + // method line 780 + .method public hidebysig + instance default float32 ReadSingle () cil managed + { + // Method begins at RVA 0x834c + // Code size 10 (0xa) + .maxstack 2 + .locals init ( + float32 V_0) + IL_0000: ldarg.0 + IL_0001: ldloca.s 0 + IL_0003: call instance void class NDesk.DBus.MessageReader::MarshalUInt(void*) + IL_0008: ldloc.0 + IL_0009: ret + } // end of method MessageReader::ReadSingle - IL_0032: ldarg.0 - IL_0033: call instance void class NDesk.DBus.Connection::DispatchSignals() - IL_0038: ret - } // end of method Connection::Dispatch + // method line 781 + .method public hidebysig + instance default float64 ReadDouble () cil managed + { + // Method begins at RVA 0x8364 + // Code size 10 (0xa) + .maxstack 2 + .locals init ( + float64 V_0) + IL_0000: ldarg.0 + IL_0001: ldloca.s 0 + IL_0003: call instance void class NDesk.DBus.MessageReader::MarshalULong(void*) + IL_0008: ldloc.0 + IL_0009: ret + } // end of method MessageReader::ReadDouble - // method line 779 - .method assembly virtual hidebysig newslot - instance default void HandleMessage (class NDesk.DBus.Message msg) cil managed + // method line 782 + .method public hidebysig + instance default string ReadString () cil managed { - // Method begins at RVA 0x872c - // Code size 516 (0x204) - .maxstack 5 + // Method begins at RVA 0x837c + // Code size 53 (0x35) + .maxstack 4 .locals init ( - object V_0, - unsigned int32 V_1, - class NDesk.DBus.PendingCall V_2, - object V_3, - bool V_4, - valuetype NDesk.DBus.MessageType V_5, - class NDesk.DBus.MethodCall V_6, - object V_7, - bool V_8, - class NDesk.DBus.Error V_9, - string V_10, - valuetype NDesk.DBus.Signature V_11, - class NDesk.DBus.MessageReader V_12, - valuetype NDesk.DBus.Signature V_13) - IL_0000: ldarg.1 - IL_0001: brtrue IL_0007 + unsigned int32 V_0, + string V_1) + IL_0000: ldarg.0 + IL_0001: call instance unsigned int32 class NDesk.DBus.MessageReader::ReadUInt32() + IL_0006: stloc.0 + IL_0007: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_UTF8() + IL_000c: ldarg.0 + IL_000d: ldfld unsigned int8[] NDesk.DBus.MessageReader::data + IL_0012: ldarg.0 + IL_0013: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0018: ldloc.0 + IL_0019: callvirt instance string class [mscorlib]System.Text.Encoding::GetString(unsigned int8[], int32, int32) + IL_001e: stloc.1 + IL_001f: ldarg.0 + IL_0020: dup + IL_0021: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0026: ldloc.0 + IL_0027: add + IL_0028: stfld int32 NDesk.DBus.MessageReader::pos + IL_002d: ldarg.0 + IL_002e: call instance void class NDesk.DBus.MessageReader::ReadNull() + IL_0033: ldloc.1 + IL_0034: ret + } // end of method MessageReader::ReadString - IL_0006: ret - IL_0007: ldarg.1 - IL_0008: brtrue IL_001d + // method line 783 + .method public hidebysig + instance default class NDesk.DBus.ObjectPath ReadObjectPath () cil managed + { + // Method begins at RVA 0x83bd + // Code size 12 (0xc) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance string class NDesk.DBus.MessageReader::ReadString() + IL_0006: newobj instance void class NDesk.DBus.ObjectPath::'.ctor'(string) + IL_000b: ret + } // end of method MessageReader::ReadObjectPath - IL_000d: ldstr "msg" - IL_0012: ldstr "Cannot handle a null message; maybe the bus was disconnected" - IL_0017: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string, string) - IL_001c: throw - IL_001d: ldarg.1 - IL_001e: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0023: ldc.i4.5 - IL_0024: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) - IL_0029: stloc.0 - IL_002a: ldloc.0 - IL_002b: brfalse IL_00d5 + // method line 784 + .method public hidebysig + instance default valuetype NDesk.DBus.Signature ReadSignature () cil managed + { + // Method begins at RVA 0x83cc + // Code size 162 (0xa2) + .maxstack 5 + .locals init ( + unsigned int8 V_0, + valuetype NDesk.DBus.DType V_1, + unsigned int8[] V_2) + IL_0000: ldarg.0 + IL_0001: call instance unsigned int8 class NDesk.DBus.MessageReader::ReadByte() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldc.i4.1 + IL_0009: bne.un IL_0022 - IL_0030: ldloc.0 - IL_0031: unbox.any [mscorlib]System.UInt32 - IL_0036: stloc.1 - IL_0037: ldarg.0 - IL_0038: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::pendingCalls - IL_003d: stloc.3 - IL_003e: ldc.i4.0 - IL_003f: stloc.s 4 - .try { // 0 - IL_0041: ldloc.3 - IL_0042: ldloca.s 4 - IL_0044: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) - IL_0049: ldarg.0 - IL_004a: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::pendingCalls - IL_004f: ldloc.1 - IL_0050: ldloca.s 2 - IL_0052: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) - IL_0057: brfalse IL_0079 + IL_000e: ldarg.0 + IL_000f: call instance unsigned int8 class NDesk.DBus.MessageReader::ReadByte() + IL_0014: stloc.1 + IL_0015: ldarg.0 + IL_0016: call instance void class NDesk.DBus.MessageReader::ReadNull() + IL_001b: ldloc.1 + IL_001c: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) + IL_0021: ret + IL_0022: ldloc.0 + IL_0023: ldc.i4 255 + IL_0028: ble.un IL_006c - IL_005c: ldarg.0 - IL_005d: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::pendingCalls - IL_0062: ldloc.1 - IL_0063: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::Remove(!0) - IL_0068: brfalse IL_0074 + IL_002d: ldc.i4.5 + IL_002e: newarr [mscorlib]System.Object + IL_0033: dup + IL_0034: ldc.i4.0 + IL_0035: ldstr "Signature length " + IL_003a: stelem.ref + IL_003b: dup + IL_003c: ldc.i4.1 + IL_003d: ldloc.0 + IL_003e: box [mscorlib]System.Byte + IL_0043: stelem.ref + IL_0044: dup + IL_0045: ldc.i4.2 + IL_0046: ldstr " exceeds maximum allowed " + IL_004b: stelem.ref + IL_004c: dup + IL_004d: ldc.i4.3 + IL_004e: ldc.i4 255 + IL_0053: box [mscorlib]System.UInt32 + IL_0058: stelem.ref + IL_0059: dup + IL_005a: ldc.i4.4 + IL_005b: ldstr " bytes" + IL_0060: stelem.ref + IL_0061: call string string::Concat(object[]) + IL_0066: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_006b: throw + IL_006c: ldloc.0 + IL_006d: newarr [mscorlib]System.Byte + IL_0072: stloc.2 + IL_0073: ldarg.0 + IL_0074: ldfld unsigned int8[] NDesk.DBus.MessageReader::data + IL_0079: ldarg.0 + IL_007a: ldfld int32 NDesk.DBus.MessageReader::pos + IL_007f: ldloc.2 + IL_0080: ldc.i4.0 + IL_0081: ldloc.0 + IL_0082: call void class [mscorlib]System.Array::Copy(class [mscorlib]System.Array, int32, class [mscorlib]System.Array, int32, int32) + IL_0087: ldarg.0 + IL_0088: dup + IL_0089: ldfld int32 NDesk.DBus.MessageReader::pos + IL_008e: ldloc.0 + IL_008f: add + IL_0090: stfld int32 NDesk.DBus.MessageReader::pos + IL_0095: ldarg.0 + IL_0096: call instance void class NDesk.DBus.MessageReader::ReadNull() + IL_009b: ldloc.2 + IL_009c: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::Take(unsigned int8[]) + IL_00a1: ret + } // end of method MessageReader::ReadSignature - IL_006d: ldloc.2 - IL_006e: ldarg.1 - IL_006f: callvirt instance void class NDesk.DBus.PendingCall::set_Reply(class NDesk.DBus.Message) - IL_0074: leave IL_0203 + // method line 785 + .method public hidebysig + instance default object ReadVariant () cil managed + { + // Method begins at RVA 0x847a + // Code size 13 (0xd) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.0 + IL_0002: call instance valuetype NDesk.DBus.Signature class NDesk.DBus.MessageReader::ReadSignature() + IL_0007: call instance object class NDesk.DBus.MessageReader::ReadValue(valuetype NDesk.DBus.Signature) + IL_000c: ret + } // end of method MessageReader::ReadVariant - IL_0079: leave IL_0089 + // method line 786 + .method private hidebysig + instance default object ReadValue (valuetype NDesk.DBus.Signature sig) cil managed + { + // Method begins at RVA 0x8488 + // Code size 196 (0xc4) + .maxstack 5 + .locals init ( + class [mscorlib]System.Type V_0, + class [mscorlib]System.NotSupportedException V_1, + int32 V_2, + int32 V_3, + class NDesk.DBus.DValue V_4) + IL_0000: ldarga.s 1 + IL_0002: call instance bool valuetype NDesk.DBus.Signature::get_IsPrimitive() + IL_0007: brfalse IL_001b - } // end .try 0 - finally { // 0 - IL_007e: ldloc.s 4 - IL_0080: brfalse.s IL_0088 + IL_000c: ldarg.0 + IL_000d: ldarga.s 1 + IL_000f: ldc.i4.0 + IL_0010: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) + IL_0015: call instance object class NDesk.DBus.MessageReader::ReadValue(valuetype NDesk.DBus.DType) + IL_001a: ret + IL_001b: ldnull + IL_001c: stloc.0 + .try { // 0 + IL_001d: ldarga.s 1 + IL_001f: call instance class [mscorlib]System.Type valuetype NDesk.DBus.Signature::ToType() + IL_0024: stloc.0 + IL_0025: leave IL_004a - IL_0082: ldloc.3 - IL_0083: call void class [mscorlib]System.Threading.Monitor::Exit(object) - IL_0088: endfinally - } // end handler 0 - IL_0089: ldsfld bool NDesk.DBus.Protocol::Verbose - IL_008e: brfalse IL_00d4 + } // end .try 0 + catch class [mscorlib]System.NotSupportedException { // 0 + IL_002a: stloc.1 + IL_002b: ldsfld bool NDesk.DBus.Protocol::Verbose + IL_0030: brfalse IL_0045 - IL_0093: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_0098: ldc.i4.4 - IL_0099: newarr [mscorlib]System.Object - IL_009e: dup - IL_009f: ldc.i4.0 - IL_00a0: ldstr "Unexpected reply message received: MessageType='" - IL_00a5: stelem.ref - IL_00a6: dup - IL_00a7: ldc.i4.1 - IL_00a8: ldarg.1 - IL_00a9: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_00ae: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType - IL_00b3: box NDesk.DBus.MessageType - IL_00b8: stelem.ref - IL_00b9: dup - IL_00ba: ldc.i4.2 - IL_00bb: ldstr "', ReplySerial=" - IL_00c0: stelem.ref - IL_00c1: dup - IL_00c2: ldc.i4.3 - IL_00c3: ldloc.1 - IL_00c4: box [mscorlib]System.UInt32 - IL_00c9: stelem.ref - IL_00ca: call string string::Concat(object[]) - IL_00cf: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_00d4: ret - IL_00d5: ldarg.1 - IL_00d6: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_00db: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType - IL_00e0: stloc.s 5 - IL_00e2: ldloc.s 5 - IL_00e4: switch ( - IL_01de, - IL_0102, - IL_01de, - IL_014d, - IL_0117) - IL_00fd: br IL_01de + IL_0035: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_003a: ldloc.1 + IL_003b: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_0040: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0045: leave IL_004a - IL_0102: ldarg.1 - IL_0103: newobj instance void class NDesk.DBus.MethodCall::'.ctor'(class NDesk.DBus.Message) - IL_0108: stloc.s 6 - IL_010a: ldarg.0 - IL_010b: ldloc.s 6 - IL_010d: call instance void class NDesk.DBus.Connection::HandleMethodCall(class NDesk.DBus.MethodCall) - IL_0112: br IL_0203 + } // end handler 0 + IL_004a: ldloc.0 + IL_004b: ldnull + IL_004c: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0051: brfalse IL_00bc - IL_0117: ldarg.0 - IL_0118: ldfld class [mscorlib]System.Collections.Generic.Queue`1 NDesk.DBus.Connection::Inbound - IL_011d: stloc.s 7 - IL_011f: ldc.i4.0 - IL_0120: stloc.s 8 - .try { // 1 - IL_0122: ldloc.s 7 - IL_0124: ldloca.s 8 - IL_0126: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) - IL_012b: ldarg.0 - IL_012c: ldfld class [mscorlib]System.Collections.Generic.Queue`1 NDesk.DBus.Connection::Inbound - IL_0131: ldarg.1 - IL_0132: callvirt instance void class [mscorlib]System.Collections.Generic.Queue`1::Enqueue(!0) - IL_0137: leave IL_0148 + IL_0056: ldarg.0 + IL_0057: ldarga.s 1 + IL_0059: call instance int32 valuetype NDesk.DBus.Signature::get_Alignment() + IL_005e: call instance void class NDesk.DBus.MessageReader::ReadPad(int32) + IL_0063: ldarg.0 + IL_0064: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0069: stloc.2 + IL_006a: ldarg.0 + IL_006b: ldarg.1 + IL_006c: call instance bool class NDesk.DBus.MessageReader::StepOver(valuetype NDesk.DBus.Signature) + IL_0071: pop + IL_0072: ldarg.0 + IL_0073: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0078: ldloc.2 + IL_0079: sub + IL_007a: stloc.3 + IL_007b: newobj instance void class NDesk.DBus.DValue::'.ctor'() + IL_0080: stloc.s 4 + IL_0082: ldloc.s 4 + IL_0084: ldarg.0 + IL_0085: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.MessageReader::endianness + IL_008a: stfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.DValue::endianness + IL_008f: ldloc.s 4 + IL_0091: ldarg.1 + IL_0092: stfld valuetype NDesk.DBus.Signature NDesk.DBus.DValue::signature + IL_0097: ldloc.s 4 + IL_0099: ldloc.3 + IL_009a: newarr [mscorlib]System.Byte + IL_009f: stfld unsigned int8[] NDesk.DBus.DValue::data + IL_00a4: ldarg.0 + IL_00a5: ldfld unsigned int8[] NDesk.DBus.MessageReader::data + IL_00aa: ldloc.2 + IL_00ab: ldloc.s 4 + IL_00ad: ldfld unsigned int8[] NDesk.DBus.DValue::data + IL_00b2: ldc.i4.0 + IL_00b3: ldloc.3 + IL_00b4: call void class [mscorlib]System.Array::Copy(class [mscorlib]System.Array, int32, class [mscorlib]System.Array, int32, int32) + IL_00b9: ldloc.s 4 + IL_00bb: ret + IL_00bc: ldarg.0 + IL_00bd: ldloc.0 + IL_00be: call instance object class NDesk.DBus.MessageReader::ReadValue(class [mscorlib]System.Type) + IL_00c3: ret + } // end of method MessageReader::ReadValue - } // end .try 1 - finally { // 1 - IL_013c: ldloc.s 8 - IL_013e: brfalse.s IL_0147 + // method line 787 + .method public hidebysig + instance default void GetValueToDict (class [mscorlib]System.Type keyType, class [mscorlib]System.Type valType, class [mscorlib]System.Collections.IDictionary val) cil managed + { + // Method begins at RVA 0x8568 + // Code size 210 (0xd2) + .maxstack 4 + .locals init ( + unsigned int32 V_0, + int32 V_1) + IL_0000: ldarg.0 + IL_0001: call instance unsigned int32 class NDesk.DBus.MessageReader::ReadUInt32() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldc.i4 67108864 + IL_000d: ble.un IL_0051 - IL_0140: ldloc.s 7 - IL_0142: call void class [mscorlib]System.Threading.Monitor::Exit(object) - IL_0147: endfinally - } // end handler 1 - IL_0148: br IL_0203 + IL_0012: ldc.i4.5 + IL_0013: newarr [mscorlib]System.Object + IL_0018: dup + IL_0019: ldc.i4.0 + IL_001a: ldstr "Dict length " + IL_001f: stelem.ref + IL_0020: dup + IL_0021: ldc.i4.1 + IL_0022: ldloc.0 + IL_0023: box [mscorlib]System.UInt32 + IL_0028: stelem.ref + IL_0029: dup + IL_002a: ldc.i4.2 + IL_002b: ldstr " exceeds maximum allowed " + IL_0030: stelem.ref + IL_0031: dup + IL_0032: ldc.i4.3 + IL_0033: ldc.i4 67108864 + IL_0038: box [mscorlib]System.UInt32 + IL_003d: stelem.ref + IL_003e: dup + IL_003f: ldc.i4.4 + IL_0040: ldstr " bytes" + IL_0045: stelem.ref + IL_0046: call string string::Concat(object[]) + IL_004b: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0050: throw + IL_0051: ldarg.0 + IL_0052: ldc.i4.8 + IL_0053: call instance void class NDesk.DBus.MessageReader::ReadPad(int32) + IL_0058: ldarg.0 + IL_0059: ldfld int32 NDesk.DBus.MessageReader::pos + IL_005e: ldloc.0 + IL_005f: add + IL_0060: stloc.1 + IL_0061: br IL_0081 - IL_014d: ldarg.1 - IL_014e: newobj instance void class NDesk.DBus.Error::'.ctor'(class NDesk.DBus.Message) - IL_0153: stloc.s 9 - IL_0155: ldsfld string [mscorlib]System.String::Empty - IL_015a: stloc.s 10 - IL_015c: ldarg.1 - IL_015d: callvirt instance valuetype NDesk.DBus.Signature class NDesk.DBus.Message::get_Signature() - IL_0162: stloc.s 11 - IL_0164: ldloca.s 11 - IL_0166: call instance string valuetype NDesk.DBus.Signature::get_Value() - IL_016b: ldstr "s" - IL_0170: callvirt instance bool string::StartsWith(string) - IL_0175: brfalse IL_018b + IL_0066: ldarg.0 + IL_0067: ldc.i4.8 + IL_0068: call instance void class NDesk.DBus.MessageReader::ReadPad(int32) + IL_006d: ldarg.3 + IL_006e: ldarg.0 + IL_006f: ldarg.1 + IL_0070: call instance object class NDesk.DBus.MessageReader::ReadValue(class [mscorlib]System.Type) + IL_0075: ldarg.0 + IL_0076: ldarg.2 + IL_0077: call instance object class NDesk.DBus.MessageReader::ReadValue(class [mscorlib]System.Type) + IL_007c: callvirt instance void class [mscorlib]System.Collections.IDictionary::Add(object, object) + IL_0081: ldarg.0 + IL_0082: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0087: ldloc.1 + IL_0088: blt IL_0066 - IL_017a: ldarg.1 - IL_017b: newobj instance void class NDesk.DBus.MessageReader::'.ctor'(class NDesk.DBus.Message) - IL_0180: stloc.s 12 - IL_0182: ldloc.s 12 - IL_0184: callvirt instance string class NDesk.DBus.MessageReader::ReadString() - IL_0189: stloc.s 10 - IL_018b: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_0190: ldc.i4.6 - IL_0191: newarr [mscorlib]System.String - IL_0196: dup - IL_0197: ldc.i4.0 - IL_0198: ldstr "Remote Error: Signature='" - IL_019d: stelem.ref - IL_019e: dup - IL_019f: ldc.i4.1 - IL_01a0: ldarg.1 - IL_01a1: callvirt instance valuetype NDesk.DBus.Signature class NDesk.DBus.Message::get_Signature() - IL_01a6: stloc.s 13 - IL_01a8: ldloca.s 13 - IL_01aa: call instance string valuetype NDesk.DBus.Signature::get_Value() - IL_01af: stelem.ref - IL_01b0: dup - IL_01b1: ldc.i4.2 - IL_01b2: ldstr "' " - IL_01b7: stelem.ref - IL_01b8: dup - IL_01b9: ldc.i4.3 - IL_01ba: ldloc.s 9 - IL_01bc: ldfld string NDesk.DBus.Error::ErrorName - IL_01c1: stelem.ref - IL_01c2: dup - IL_01c3: ldc.i4.4 - IL_01c4: ldstr ": " - IL_01c9: stelem.ref - IL_01ca: dup - IL_01cb: ldc.i4.5 - IL_01cc: ldloc.s 10 - IL_01ce: stelem.ref - IL_01cf: call string string::Concat(string[]) - IL_01d4: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_01d9: br IL_0203 + IL_008d: ldarg.0 + IL_008e: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0093: ldloc.1 + IL_0094: beq IL_00d1 - IL_01de: ldstr "Invalid message received: MessageType='" - IL_01e3: ldarg.1 - IL_01e4: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_01e9: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType - IL_01ee: box NDesk.DBus.MessageType - IL_01f3: ldstr "'" - IL_01f8: call string string::Concat(object, object, object) - IL_01fd: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0202: throw - IL_0203: ret - } // end of method Connection::HandleMessage + IL_0099: ldc.i4.4 + IL_009a: newarr [mscorlib]System.Object + IL_009f: dup + IL_00a0: ldc.i4.0 + IL_00a1: ldstr "Read pos " + IL_00a6: stelem.ref + IL_00a7: dup + IL_00a8: ldc.i4.1 + IL_00a9: ldarg.0 + IL_00aa: ldfld int32 NDesk.DBus.MessageReader::pos + IL_00af: box [mscorlib]System.Int32 + IL_00b4: stelem.ref + IL_00b5: dup + IL_00b6: ldc.i4.2 + IL_00b7: ldstr " != ep " + IL_00bc: stelem.ref + IL_00bd: dup + IL_00be: ldc.i4.3 + IL_00bf: ldloc.1 + IL_00c0: box [mscorlib]System.Int32 + IL_00c5: stelem.ref + IL_00c6: call string string::Concat(object[]) + IL_00cb: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_00d0: throw + IL_00d1: ret + } // end of method MessageReader::GetValueToDict - // method line 780 - .method assembly hidebysig - instance default void HandleSignal (class NDesk.DBus.Message msg) cil managed + // method line 788 + .method public hidebysig + instance default class [mscorlib]System.Array ReadArray (class [mscorlib]System.Type elemType) cil managed { - // Method begins at RVA 0x8958 - // Code size 351 (0x15f) + // Method begins at RVA 0x8648 + // Code size 285 (0x11d) .maxstack 5 .locals init ( - class NDesk.DBus.Signal V_0, - class NDesk.DBus.MatchRule V_1, - class [mscorlib]System.Delegate V_2, - class [mscorlib]System.Reflection.MethodInfo V_3, - bool V_4, - valuetype NDesk.DBus.Signature V_5, - valuetype NDesk.DBus.Signature V_6) - IL_0000: ldarg.1 - IL_0001: newobj instance void class NDesk.DBus.Signal::'.ctor'(class NDesk.DBus.Message) + unsigned int32 V_0, + unsigned int8[] V_1, + int32 V_2, + class [mscorlib]System.Collections.ArrayList V_3) + IL_0000: ldarg.0 + IL_0001: call instance unsigned int32 class NDesk.DBus.MessageReader::ReadUInt32() IL_0006: stloc.0 - IL_0007: newobj instance void class NDesk.DBus.MatchRule::'.ctor'() - IL_000c: stloc.1 - IL_000d: ldloc.1 - IL_000e: ldc.i4.4 - IL_000f: newobj instance void valuetype [mscorlib]System.Nullable`1::'.ctor'(!0) - IL_0014: stfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.MatchRule::MessageType - IL_0019: ldloc.1 - IL_001a: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields - IL_001f: ldc.i4.2 - IL_0020: ldloc.0 - IL_0021: ldfld string NDesk.DBus.Signal::Interface - IL_0026: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(string) - IL_002b: callvirt instance void class [System]System.Collections.Generic.SortedList`2::Add(!0, !1) - IL_0030: ldloc.1 - IL_0031: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields - IL_0036: ldc.i4.3 - IL_0037: ldloc.0 - IL_0038: ldfld string NDesk.DBus.Signal::Member - IL_003d: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(string) - IL_0042: callvirt instance void class [System]System.Collections.Generic.SortedList`2::Add(!0, !1) - IL_0047: ldloc.1 - IL_0048: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields - IL_004d: ldc.i4.7 - IL_004e: ldloc.0 - IL_004f: ldfld string NDesk.DBus.Signal::Sender - IL_0054: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(string) - IL_0059: callvirt instance void class [System]System.Collections.Generic.SortedList`2::Add(!0, !1) - IL_005e: ldloc.1 - IL_005f: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields - IL_0064: ldc.i4.1 - IL_0065: ldloc.0 - IL_0066: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.Signal::Path - IL_006b: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(class NDesk.DBus.ObjectPath) - IL_0070: callvirt instance void class [System]System.Collections.Generic.SortedList`2::Add(!0, !1) - IL_0075: ldarg.0 - IL_0076: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers - IL_007b: ldloc.1 - IL_007c: ldloca.s 2 - IL_007e: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) - IL_0083: brfalse IL_013a + IL_0007: ldloc.0 + IL_0008: ldc.i4 67108864 + IL_000d: ble.un IL_0051 - IL_0088: ldloc.2 - IL_0089: brfalse IL_013a + IL_0012: ldc.i4.5 + IL_0013: newarr [mscorlib]System.Object + IL_0018: dup + IL_0019: ldc.i4.0 + IL_001a: ldstr "Array length " + IL_001f: stelem.ref + IL_0020: dup + IL_0021: ldc.i4.1 + IL_0022: ldloc.0 + IL_0023: box [mscorlib]System.UInt32 + IL_0028: stelem.ref + IL_0029: dup + IL_002a: ldc.i4.2 + IL_002b: ldstr " exceeds maximum allowed " + IL_0030: stelem.ref + IL_0031: dup + IL_0032: ldc.i4.3 + IL_0033: ldc.i4 67108864 + IL_0038: box [mscorlib]System.UInt32 + IL_003d: stelem.ref + IL_003e: dup + IL_003f: ldc.i4.4 + IL_0040: ldstr " bytes" + IL_0045: stelem.ref + IL_0046: call string string::Concat(object[]) + IL_004b: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0050: throw + IL_0051: ldarg.1 + IL_0052: ldtoken [mscorlib]System.Byte + IL_0057: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_005c: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0061: brfalse IL_0092 - IL_008e: ldloc.2 - IL_008f: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0094: ldstr "Invoke" - IL_0099: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) - IL_009e: stloc.3 - IL_009f: ldc.i4.0 - IL_00a0: stloc.s 4 - IL_00a2: ldloc.3 - IL_00a3: ldloca.s 5 - IL_00a5: ldloca.s 6 - IL_00a7: call bool class NDesk.DBus.TypeImplementer::SigsForMethod(class [mscorlib]System.Reflection.MethodInfo, [out] valuetype NDesk.DBus.Signature&, [out] valuetype NDesk.DBus.Signature&) - IL_00ac: brfalse IL_00d7 + IL_0066: ldloc.0 + IL_0067: conv.u + IL_0068: newarr [mscorlib]System.Byte + IL_006d: stloc.1 + IL_006e: ldarg.0 + IL_006f: ldfld unsigned int8[] NDesk.DBus.MessageReader::data + IL_0074: ldarg.0 + IL_0075: ldfld int32 NDesk.DBus.MessageReader::pos + IL_007a: ldloc.1 + IL_007b: ldc.i4.0 + IL_007c: ldloc.0 + IL_007d: call void class [mscorlib]System.Array::Copy(class [mscorlib]System.Array, int32, class [mscorlib]System.Array, int32, int32) + IL_0082: ldarg.0 + IL_0083: dup + IL_0084: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0089: ldloc.0 + IL_008a: add + IL_008b: stfld int32 NDesk.DBus.MessageReader::pos + IL_0090: ldloc.1 + IL_0091: ret + IL_0092: ldarg.0 + IL_0093: ldarg.1 + IL_0094: call valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::TypeToDType(class [mscorlib]System.Type) + IL_0099: call int32 class NDesk.DBus.Protocol::GetAlignment(valuetype NDesk.DBus.DType) + IL_009e: call instance void class NDesk.DBus.MessageReader::ReadPad(int32) + IL_00a3: ldarg.0 + IL_00a4: ldfld int32 NDesk.DBus.MessageReader::pos + IL_00a9: ldloc.0 + IL_00aa: add + IL_00ab: stloc.2 + IL_00ac: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_00b1: stloc.3 + IL_00b2: br IL_00c5 - IL_00b1: ldloc.s 6 - IL_00b3: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty - IL_00b8: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_00bd: brfalse IL_00d7 + IL_00b7: ldloc.3 + IL_00b8: ldarg.0 + IL_00b9: ldarg.1 + IL_00ba: call instance object class NDesk.DBus.MessageReader::ReadValue(class [mscorlib]System.Type) + IL_00bf: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_00c4: pop + IL_00c5: ldarg.0 + IL_00c6: ldfld int32 NDesk.DBus.MessageReader::pos + IL_00cb: ldloc.2 + IL_00cc: blt IL_00b7 - IL_00c2: ldloc.s 5 - IL_00c4: ldarg.1 - IL_00c5: callvirt instance valuetype NDesk.DBus.Signature class NDesk.DBus.Message::get_Signature() - IL_00ca: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_00cf: brfalse IL_00d7 + IL_00d1: ldarg.0 + IL_00d2: ldfld int32 NDesk.DBus.MessageReader::pos + IL_00d7: ldloc.2 + IL_00d8: beq IL_0115 - IL_00d4: ldc.i4.1 - IL_00d5: stloc.s 4 - IL_00d7: ldloc.s 4 - IL_00d9: brtrue IL_0122 + IL_00dd: ldc.i4.4 + IL_00de: newarr [mscorlib]System.Object + IL_00e3: dup + IL_00e4: ldc.i4.0 + IL_00e5: ldstr "Read pos " + IL_00ea: stelem.ref + IL_00eb: dup + IL_00ec: ldc.i4.1 + IL_00ed: ldarg.0 + IL_00ee: ldfld int32 NDesk.DBus.MessageReader::pos + IL_00f3: box [mscorlib]System.Int32 + IL_00f8: stelem.ref + IL_00f9: dup + IL_00fa: ldc.i4.2 + IL_00fb: ldstr " != ep " + IL_0100: stelem.ref + IL_0101: dup + IL_0102: ldc.i4.3 + IL_0103: ldloc.2 + IL_0104: box [mscorlib]System.Int32 + IL_0109: stelem.ref + IL_010a: call string string::Concat(object[]) + IL_010f: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0114: throw + IL_0115: ldloc.3 + IL_0116: ldarg.1 + IL_0117: callvirt instance class [mscorlib]System.Array class [mscorlib]System.Collections.ArrayList::ToArray(class [mscorlib]System.Type) + IL_011c: ret + } // end of method MessageReader::ReadArray - IL_00de: ldsfld bool NDesk.DBus.Protocol::Verbose - IL_00e3: brfalse IL_0121 + // method line 789 + .method public hidebysig + instance default object ReadStruct (class [mscorlib]System.Type 'type') cil managed + { + // Method begins at RVA 0x8774 + // Code size 75 (0x4b) + .maxstack 4 + .locals init ( + object V_0, + class [mscorlib]System.Reflection.FieldInfo[] V_1, + class [mscorlib]System.Reflection.FieldInfo V_2, + class [mscorlib]System.Reflection.FieldInfo[] V_3, + int32 V_4) + IL_0000: ldarg.0 + IL_0001: ldc.i4.8 + IL_0002: call instance void class NDesk.DBus.MessageReader::ReadPad(int32) + IL_0007: ldarg.1 + IL_0008: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type) + IL_000d: stloc.0 + IL_000e: ldarg.1 + IL_000f: ldc.i4.s 0x34 + IL_0011: callvirt instance class [mscorlib]System.Reflection.FieldInfo[] class [mscorlib]System.Type::GetFields(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_0016: stloc.1 + IL_0017: ldloc.1 + IL_0018: stloc.3 + IL_0019: ldc.i4.0 + IL_001a: stloc.s 4 + IL_001c: br IL_003f - IL_00e8: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_00ed: ldc.i4.4 - IL_00ee: newarr [mscorlib]System.Object - IL_00f3: dup - IL_00f4: ldc.i4.0 - IL_00f5: ldstr "Signal argument mismatch: " - IL_00fa: stelem.ref - IL_00fb: dup - IL_00fc: ldc.i4.1 - IL_00fd: ldloc.0 - IL_00fe: ldfld string NDesk.DBus.Signal::Interface - IL_0103: stelem.ref - IL_0104: dup - IL_0105: ldc.i4.2 - IL_0106: ldc.i4.s 0x2e - IL_0108: box [mscorlib]System.Char - IL_010d: stelem.ref - IL_010e: dup - IL_010f: ldc.i4.3 - IL_0110: ldloc.0 - IL_0111: ldfld string NDesk.DBus.Signal::Member - IL_0116: stelem.ref - IL_0117: call string string::Concat(object[]) - IL_011c: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0121: ret - IL_0122: ldloc.2 - IL_0123: ldarg.1 - IL_0124: ldloc.3 - IL_0125: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_012a: call object[] class NDesk.DBus.MessageHelper::GetDynamicValues(class NDesk.DBus.Message, class [mscorlib]System.Reflection.ParameterInfo[]) - IL_012f: callvirt instance object class [mscorlib]System.Delegate::DynamicInvoke(object[]) - IL_0134: pop - IL_0135: br IL_015e + IL_0021: ldloc.3 + IL_0022: ldloc.s 4 + IL_0024: ldelem.ref + IL_0025: stloc.2 + IL_0026: ldloc.2 + IL_0027: ldloc.0 + IL_0028: ldarg.0 + IL_0029: ldloc.2 + IL_002a: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.FieldInfo::get_FieldType() + IL_002f: call instance object class NDesk.DBus.MessageReader::ReadValue(class [mscorlib]System.Type) + IL_0034: callvirt instance void class [mscorlib]System.Reflection.FieldInfo::SetValue(object, object) + IL_0039: ldloc.s 4 + IL_003b: ldc.i4.1 + IL_003c: add + IL_003d: stloc.s 4 + IL_003f: ldloc.s 4 + IL_0041: ldloc.3 + IL_0042: ldlen + IL_0043: conv.i4 + IL_0044: blt IL_0021 - IL_013a: ldsfld bool NDesk.DBus.Protocol::Verbose - IL_013f: brfalse IL_015e + IL_0049: ldloc.0 + IL_004a: ret + } // end of method MessageReader::ReadStruct - IL_0144: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_0149: ldstr "Warning: No signal handler for " - IL_014e: ldloc.0 - IL_014f: ldfld string NDesk.DBus.Signal::Member - IL_0154: call string string::Concat(string, string) - IL_0159: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_015e: ret - } // end of method Connection::HandleSignal + // method line 790 + .method public hidebysig + instance default void ReadNull () cil managed + { + // Method begins at RVA 0x87cc + // Code size 65 (0x41) + .maxstack 3 + IL_0000: ldarg.0 + IL_0001: ldfld unsigned int8[] NDesk.DBus.MessageReader::data + IL_0006: ldarg.0 + IL_0007: ldfld int32 NDesk.DBus.MessageReader::pos + IL_000c: ldelem.u1 + IL_000d: brfalse IL_0032 - // method line 781 - .method assembly hidebysig - instance default void MaybeSendUnknownMethodError (class NDesk.DBus.MethodCall method_call) cil managed + IL_0012: ldstr "Read non-zero byte at position " + IL_0017: ldarg.0 + IL_0018: ldfld int32 NDesk.DBus.MessageReader::pos + IL_001d: box [mscorlib]System.Int32 + IL_0022: ldstr " while expecting null terminator" + IL_0027: call string string::Concat(object, object, object) + IL_002c: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0031: throw + IL_0032: ldarg.0 + IL_0033: dup + IL_0034: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0039: ldc.i4.1 + IL_003a: add + IL_003b: stfld int32 NDesk.DBus.MessageReader::pos + IL_0040: ret + } // end of method MessageReader::ReadNull + + // method line 791 + .method public hidebysig + instance default void ReadPad (int32 'alignment') cil managed { - // Method begins at RVA 0x8ac4 - // Code size 22 (0x16) - .maxstack 2 + // Method begins at RVA 0x881c + // Code size 95 (0x5f) + .maxstack 3 .locals init ( - class NDesk.DBus.Message V_0) - IL_0000: ldarg.1 - IL_0001: call class NDesk.DBus.Message class NDesk.DBus.MessageHelper::CreateUnknownMethodError(class NDesk.DBus.MethodCall) - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: brfalse IL_0015 + int32 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0006: ldarg.1 + IL_0007: call int32 class NDesk.DBus.Protocol::Padded(int32, int32) + IL_000c: stloc.0 + IL_000d: br IL_0052 - IL_000d: ldarg.0 - IL_000e: ldloc.0 - IL_000f: callvirt instance unsigned int32 class NDesk.DBus.Connection::Send(class NDesk.DBus.Message) - IL_0014: pop - IL_0015: ret - } // end of method Connection::MaybeSendUnknownMethodError + IL_0012: ldarg.0 + IL_0013: ldfld unsigned int8[] NDesk.DBus.MessageReader::data + IL_0018: ldarg.0 + IL_0019: ldfld int32 NDesk.DBus.MessageReader::pos + IL_001e: ldelem.u1 + IL_001f: brfalse IL_0044 - // method line 782 - .method assembly hidebysig - instance default void HandleMethodCall (class NDesk.DBus.MethodCall method_call) cil managed + IL_0024: ldstr "Read non-zero byte at position " + IL_0029: ldarg.0 + IL_002a: ldfld int32 NDesk.DBus.MessageReader::pos + IL_002f: box [mscorlib]System.Int32 + IL_0034: ldstr " while expecting padding" + IL_0039: call string string::Concat(object, object, object) + IL_003e: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0043: throw + IL_0044: ldarg.0 + IL_0045: dup + IL_0046: ldfld int32 NDesk.DBus.MessageReader::pos + IL_004b: ldc.i4.1 + IL_004c: add + IL_004d: stfld int32 NDesk.DBus.MessageReader::pos + IL_0052: ldarg.0 + IL_0053: ldfld int32 NDesk.DBus.MessageReader::pos + IL_0058: ldloc.0 + IL_0059: bne.un IL_0012 + + IL_005e: ret + } // end of method MessageReader::ReadPad + + .class nested private auto ansi sealed beforefieldinit 'c__Iterator0' + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerable, class [mscorlib]System.Collections.Generic.IEnumerable`1, [mscorlib]System.Collections.IEnumerator, [mscorlib]System.IDisposable, class [mscorlib]System.Collections.Generic.IEnumerator`1 { + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .field assembly valuetype NDesk.DBus.Signature sig + .field assembly valuetype NDesk.DBus.Signature '__1' + .field assembly valuetype NDesk.DBus.Signature '__2' + .field assembly unsigned int32 '__2' + .field assembly int32 '__2' + .field assembly valuetype NDesk.DBus.Signature '__3' + .field assembly valuetype NDesk.DBus.Signature '__3' + .field assembly class [mscorlib]System.Collections.Generic.IEnumerator`1 $locvar0 + .field assembly valuetype NDesk.DBus.Signature '__4' + .field assembly class NDesk.DBus.MessageReader $this + .field assembly valuetype NDesk.DBus.Signature $current + .field assembly bool $disposing + .field assembly int32 $PC + + // method line 1322 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x8ae8 - // Code size 562 (0x232) - .maxstack 6 + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x8887 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method c__Iterator0::.ctor + + // method line 1323 + .method public final virtual hidebysig newslot + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0x8890 + // Code size 675 (0x2a3) + .maxstack 3 .locals init ( - string V_0, - valuetype NDesk.DBus.UUID V_1, - class NDesk.DBus.Introspector V_2, - class [mscorlib]System.Collections.Generic.List`1 V_3, - int32 V_4, - class NDesk.DBus.ObjectPath V_5, - valuetype [mscorlib]System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator V_6, - class NDesk.DBus.ExportObject V_7, - class NDesk.DBus.ObjectPath V_8, - string V_9, - class NDesk.DBus.Message V_10, - class NDesk.DBus.BusObject V_11, - class NDesk.DBus.ExportObject V_12) - IL_0000: ldarg.1 - IL_0001: ldfld string NDesk.DBus.MethodCall::Interface - IL_0006: ldstr "org.freedesktop.DBus.Peer" - IL_000b: call bool string::op_Equality(string, string) - IL_0010: brfalse IL_009e + unsigned int32 V_0, + bool V_1) + IL_0000: ldarg.0 + IL_0001: ldfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldc.i4.m1 + IL_0009: stfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC + IL_000e: ldc.i4.0 + IL_000f: stloc.1 + IL_0010: ldloc.0 + IL_0011: switch ( + IL_0033, + IL_0079, + IL_0103, + IL_018b, + IL_01ab, + IL_01ff) + IL_002e: br IL_029f - IL_0015: ldarg.1 - IL_0016: ldfld string NDesk.DBus.MethodCall::Member - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: brfalse IL_009e + IL_0033: ldarg.0 + IL_0034: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig + IL_0039: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::VariantSig + IL_003e: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0043: brfalse IL_007e - IL_0022: ldloc.0 - IL_0023: ldstr "Ping" - IL_0028: call bool string::op_Equality(string, string) - IL_002d: brtrue IL_0047 + IL_0048: ldarg.0 + IL_0049: ldarg.0 + IL_004a: ldfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this + IL_004f: call instance valuetype NDesk.DBus.Signature class NDesk.DBus.MessageReader::ReadSignature() + IL_0054: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'__1' + IL_0059: ldarg.0 + IL_005a: ldarg.0 + IL_005b: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'__1' + IL_0060: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::$current + IL_0065: ldarg.0 + IL_0066: ldfld bool NDesk.DBus.MessageReader/'c__Iterator0'::$disposing + IL_006b: brtrue.s IL_0074 - IL_0032: ldloc.0 - IL_0033: ldstr "GetMachineId" - IL_0038: call bool string::op_Equality(string, string) - IL_003d: brtrue IL_005b + IL_006d: ldarg.0 + IL_006e: ldc.i4.1 + IL_006f: stfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC + IL_0074: br IL_02a1 - IL_0042: br IL_009e + IL_0079: br IL_029f - IL_0047: ldarg.0 - IL_0048: ldarg.1 - IL_0049: ldc.i4.0 - IL_004a: newarr [mscorlib]System.Object - IL_004f: call class NDesk.DBus.Message class NDesk.DBus.MessageHelper::ConstructReply(class NDesk.DBus.MethodCall, object[]) - IL_0054: callvirt instance unsigned int32 class NDesk.DBus.Connection::Send(class NDesk.DBus.Message) - IL_0059: pop - IL_005a: ret - IL_005b: call valuetype NDesk.DBus.UUID class NDesk.DBus.Connection::get_MachineId() - IL_0060: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero - IL_0065: call bool valuetype NDesk.DBus.UUID::op_Inequality(valuetype NDesk.DBus.UUID, valuetype NDesk.DBus.UUID) - IL_006a: brfalse IL_0099 + IL_007e: ldarg.0 + IL_007f: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig + IL_0084: call instance bool valuetype NDesk.DBus.Signature::get_IsArray() + IL_0089: brfalse IL_011e - IL_006f: ldarg.0 - IL_0070: ldarg.1 - IL_0071: ldc.i4.1 - IL_0072: newarr [mscorlib]System.Object - IL_0077: dup - IL_0078: ldc.i4.0 - IL_0079: call valuetype NDesk.DBus.UUID class NDesk.DBus.Connection::get_MachineId() - IL_007e: stloc.1 - IL_007f: ldloca.s 1 - IL_0081: constrained. NDesk.DBus.UUID - IL_0087: callvirt instance string object::ToString() - IL_008c: stelem.ref - IL_008d: call class NDesk.DBus.Message class NDesk.DBus.MessageHelper::ConstructReply(class NDesk.DBus.MethodCall, object[]) - IL_0092: callvirt instance unsigned int32 class NDesk.DBus.Connection::Send(class NDesk.DBus.Message) - IL_0097: pop - IL_0098: ret - IL_0099: br IL_009e + IL_008e: ldarg.0 + IL_008f: ldarg.0 + IL_0090: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig + IL_0095: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetElementSignature() + IL_009a: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'__2' + IL_009f: ldarg.0 + IL_00a0: ldarg.0 + IL_00a1: ldfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this + IL_00a6: call instance unsigned int32 class NDesk.DBus.MessageReader::ReadUInt32() + IL_00ab: stfld unsigned int32 NDesk.DBus.MessageReader/'c__Iterator0'::'__2' + IL_00b0: ldarg.0 + IL_00b1: ldfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this + IL_00b6: ldarg.0 + IL_00b7: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'__2' + IL_00bc: call instance int32 valuetype NDesk.DBus.Signature::get_Alignment() + IL_00c1: call instance void class NDesk.DBus.MessageReader::ReadPad(int32) + IL_00c6: ldarg.0 + IL_00c7: ldarg.0 + IL_00c8: ldfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this + IL_00cd: ldfld int32 NDesk.DBus.MessageReader::pos + IL_00d2: ldarg.0 + IL_00d3: ldfld unsigned int32 NDesk.DBus.MessageReader/'c__Iterator0'::'__2' + IL_00d8: add + IL_00d9: stfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::'__2' + IL_00de: br IL_0103 - IL_009e: ldarg.1 - IL_009f: ldfld string NDesk.DBus.MethodCall::Interface - IL_00a4: ldstr "org.freedesktop.DBus.Introspectable" - IL_00a9: call bool string::op_Equality(string, string) - IL_00ae: brfalse IL_01fc + IL_00e3: ldarg.0 + IL_00e4: ldarg.0 + IL_00e5: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'__2' + IL_00ea: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::$current + IL_00ef: ldarg.0 + IL_00f0: ldfld bool NDesk.DBus.MessageReader/'c__Iterator0'::$disposing + IL_00f5: brtrue.s IL_00fe - IL_00b3: ldarg.1 - IL_00b4: ldfld string NDesk.DBus.MethodCall::Member - IL_00b9: ldstr "Introspect" - IL_00be: call bool string::op_Equality(string, string) - IL_00c3: brfalse IL_01fc + IL_00f7: ldarg.0 + IL_00f8: ldc.i4.2 + IL_00f9: stfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC + IL_00fe: br IL_02a1 - IL_00c8: newobj instance void class NDesk.DBus.Introspector::'.ctor'() - IL_00cd: stloc.2 - IL_00ce: ldloc.2 - IL_00cf: ldarg.1 - IL_00d0: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.MethodCall::Path - IL_00d5: stfld class NDesk.DBus.ObjectPath NDesk.DBus.Introspector::root_path - IL_00da: ldloc.2 - IL_00db: callvirt instance void class NDesk.DBus.Introspector::WriteStart() - IL_00e0: newobj instance void class [mscorlib]System.Collections.Generic.List`1::'.ctor'() - IL_00e5: stloc.3 - IL_00e6: ldarg.1 - IL_00e7: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.MethodCall::Path - IL_00ec: callvirt instance string[] class NDesk.DBus.ObjectPath::get_Decomposed() - IL_00f1: ldlen - IL_00f2: conv.i4 - IL_00f3: stloc.s 4 - IL_00f5: ldarg.0 - IL_00f6: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::RegisteredObjects - IL_00fb: callvirt instance class [mscorlib]System.Collections.Generic.Dictionary`2/KeyCollection class [mscorlib]System.Collections.Generic.Dictionary`2::get_Keys() - IL_0100: callvirt instance valuetype [mscorlib]System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator class [mscorlib]System.Collections.Generic.Dictionary`2/KeyCollection::GetEnumerator() - IL_0105: stloc.s 6 - .try { // 0 - IL_0107: br IL_01b6 + IL_0103: ldarg.0 + IL_0104: ldfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this + IL_0109: ldfld int32 NDesk.DBus.MessageReader::pos + IL_010e: ldarg.0 + IL_010f: ldfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::'__2' + IL_0114: blt IL_00e3 - IL_010c: ldloca.s 6 - IL_010e: call instance !0 valuetype [mscorlib]System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator::get_Current() - IL_0113: stloc.s 5 - IL_0115: ldloc.s 5 - IL_0117: ldfld string NDesk.DBus.ObjectPath::Value - IL_011c: ldarg.1 - IL_011d: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.MethodCall::Path - IL_0122: ldfld string NDesk.DBus.ObjectPath::Value - IL_0127: call bool string::op_Equality(string, string) - IL_012c: brfalse IL_0152 + IL_0119: br IL_029f - IL_0131: ldarg.0 - IL_0132: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::RegisteredObjects - IL_0137: ldloc.s 5 - IL_0139: callvirt instance !1 class [mscorlib]System.Collections.Generic.Dictionary`2::get_Item(!0) - IL_013e: castclass NDesk.DBus.ExportObject - IL_0143: stloc.s 7 - IL_0145: ldloc.s 7 - IL_0147: ldloc.2 - IL_0148: callvirt instance void class NDesk.DBus.ExportObject::WriteIntrospect(class NDesk.DBus.Introspector) - IL_014d: br IL_01b6 + IL_011e: ldarg.0 + IL_011f: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig + IL_0124: call instance bool valuetype NDesk.DBus.Signature::get_IsDictEntry() + IL_0129: brfalse IL_01b0 - IL_0152: ldloc.s 5 - IL_0154: stloc.s 8 - IL_0156: br IL_01a9 + IL_012e: ldarg.0 + IL_012f: ldfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this + IL_0134: ldarg.0 + IL_0135: ldfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this + IL_013a: ldfld int32 NDesk.DBus.MessageReader::pos + IL_013f: ldarg.0 + IL_0140: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig + IL_0145: call instance int32 valuetype NDesk.DBus.Signature::get_Alignment() + IL_014a: call int32 class NDesk.DBus.Protocol::Padded(int32, int32) + IL_014f: stfld int32 NDesk.DBus.MessageReader::pos + IL_0154: ldarg.0 + IL_0155: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig + IL_015a: ldarg.0 + IL_015b: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'__3' + IL_0160: ldarg.0 + IL_0161: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'__3' + IL_0166: call instance void valuetype NDesk.DBus.Signature::GetDictEntrySignatures([out] valuetype NDesk.DBus.Signature&, [out] valuetype NDesk.DBus.Signature&) + IL_016b: ldarg.0 + IL_016c: ldarg.0 + IL_016d: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'__3' + IL_0172: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::$current + IL_0177: ldarg.0 + IL_0178: ldfld bool NDesk.DBus.MessageReader/'c__Iterator0'::$disposing + IL_017d: brtrue.s IL_0186 - IL_015b: ldloc.s 8 - IL_015d: ldfld string NDesk.DBus.ObjectPath::Value - IL_0162: ldarg.1 - IL_0163: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.MethodCall::Path - IL_0168: ldfld string NDesk.DBus.ObjectPath::Value - IL_016d: call bool string::op_Equality(string, string) - IL_0172: brfalse IL_01a0 + IL_017f: ldarg.0 + IL_0180: ldc.i4.3 + IL_0181: stfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC + IL_0186: br IL_02a1 - IL_0177: ldloc.s 5 - IL_0179: callvirt instance string[] class NDesk.DBus.ObjectPath::get_Decomposed() - IL_017e: ldloc.s 4 - IL_0180: ldelem.ref - IL_0181: stloc.s 9 - IL_0183: ldloc.3 - IL_0184: ldloc.s 9 - IL_0186: callvirt instance bool class [mscorlib]System.Collections.Generic.List`1::Contains(!0) - IL_018b: brtrue IL_01a0 + IL_018b: ldarg.0 + IL_018c: ldarg.0 + IL_018d: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'__3' + IL_0192: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::$current + IL_0197: ldarg.0 + IL_0198: ldfld bool NDesk.DBus.MessageReader/'c__Iterator0'::$disposing + IL_019d: brtrue.s IL_01a6 - IL_0190: ldloc.2 - IL_0191: ldloc.s 9 - IL_0193: callvirt instance void class NDesk.DBus.Introspector::WriteNode(string) - IL_0198: ldloc.3 - IL_0199: ldloc.s 9 - IL_019b: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Add(!0) - IL_01a0: ldloc.s 8 - IL_01a2: callvirt instance class NDesk.DBus.ObjectPath class NDesk.DBus.ObjectPath::get_Parent() - IL_01a7: stloc.s 8 - IL_01a9: ldloc.s 8 - IL_01ab: ldnull - IL_01ac: call bool class NDesk.DBus.ObjectPath::op_Inequality(class NDesk.DBus.ObjectPath, class NDesk.DBus.ObjectPath) - IL_01b1: brtrue IL_015b + IL_019f: ldarg.0 + IL_01a0: ldc.i4.4 + IL_01a1: stfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC + IL_01a6: br IL_02a1 - IL_01b6: ldloca.s 6 - IL_01b8: call instance bool valuetype [mscorlib]System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator::MoveNext() - IL_01bd: brtrue IL_010c + IL_01ab: br IL_029f - IL_01c2: leave IL_01d5 + IL_01b0: ldarg.0 + IL_01b1: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig + IL_01b6: call instance bool valuetype NDesk.DBus.Signature::get_IsStruct() + IL_01bb: brfalse IL_0278 - } // end .try 0 - finally { // 0 - IL_01c7: ldloca.s 6 - IL_01c9: constrained. valuetype [mscorlib]System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator - IL_01cf: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01d4: endfinally - } // end handler 0 - IL_01d5: ldloc.2 - IL_01d6: callvirt instance void class NDesk.DBus.Introspector::WriteEnd() - IL_01db: ldarg.1 - IL_01dc: ldc.i4.1 - IL_01dd: newarr [mscorlib]System.Object - IL_01e2: dup - IL_01e3: ldc.i4.0 - IL_01e4: ldloc.2 - IL_01e5: ldfld string NDesk.DBus.Introspector::xml - IL_01ea: stelem.ref - IL_01eb: call class NDesk.DBus.Message class NDesk.DBus.MessageHelper::ConstructReply(class NDesk.DBus.MethodCall, object[]) - IL_01f0: stloc.s 10 - IL_01f2: ldarg.0 - IL_01f3: ldloc.s 10 - IL_01f5: callvirt instance unsigned int32 class NDesk.DBus.Connection::Send(class NDesk.DBus.Message) - IL_01fa: pop - IL_01fb: ret - IL_01fc: ldarg.0 - IL_01fd: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::RegisteredObjects - IL_0202: ldarg.1 - IL_0203: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.MethodCall::Path - IL_0208: ldloca.s 11 - IL_020a: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) - IL_020f: brfalse IL_022a + IL_01c0: ldarg.0 + IL_01c1: ldfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this + IL_01c6: ldarg.0 + IL_01c7: ldfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this + IL_01cc: ldfld int32 NDesk.DBus.MessageReader::pos + IL_01d1: ldarg.0 + IL_01d2: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig + IL_01d7: call instance int32 valuetype NDesk.DBus.Signature::get_Alignment() + IL_01dc: call int32 class NDesk.DBus.Protocol::Padded(int32, int32) + IL_01e1: stfld int32 NDesk.DBus.MessageReader::pos + IL_01e6: ldarg.0 + IL_01e7: ldarg.0 + IL_01e8: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig + IL_01ed: call instance class [mscorlib]System.Collections.Generic.IEnumerable`1 valuetype NDesk.DBus.Signature::GetFieldSignatures() + IL_01f2: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() + IL_01f7: stfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.MessageReader/'c__Iterator0'::$locvar0 + IL_01fc: ldc.i4.s 0xfffffffd + IL_01fe: stloc.0 + .try { // 0 + IL_01ff: ldloc.0 + IL_0200: ldc.i4.5 + IL_0201: sub + IL_0202: switch ( + IL_0243) + IL_020b: br IL_0243 - IL_0214: ldloc.s 11 - IL_0216: castclass NDesk.DBus.ExportObject - IL_021b: stloc.s 12 - IL_021d: ldloc.s 12 - IL_021f: ldarg.1 - IL_0220: callvirt instance void class NDesk.DBus.ExportObject::HandleMethodCall(class NDesk.DBus.MethodCall) - IL_0225: br IL_0231 + IL_0210: ldarg.0 + IL_0211: ldarg.0 + IL_0212: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.MessageReader/'c__Iterator0'::$locvar0 + IL_0217: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + IL_021c: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'__4' + IL_0221: ldarg.0 + IL_0222: ldarg.0 + IL_0223: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'__4' + IL_0228: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::$current + IL_022d: ldarg.0 + IL_022e: ldfld bool NDesk.DBus.MessageReader/'c__Iterator0'::$disposing + IL_0233: brtrue.s IL_023c - IL_022a: ldarg.0 - IL_022b: ldarg.1 - IL_022c: call instance void class NDesk.DBus.Connection::MaybeSendUnknownMethodError(class NDesk.DBus.MethodCall) - IL_0231: ret - } // end of method Connection::HandleMethodCall + IL_0235: ldarg.0 + IL_0236: ldc.i4.5 + IL_0237: stfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC + IL_023c: ldc.i4.1 + IL_023d: stloc.1 + IL_023e: leave IL_02a1 - // method line 783 - .method public hidebysig - instance default object GetObject (class [mscorlib]System.Type 'type', string bus_name, class NDesk.DBus.ObjectPath path) cil managed - { - // Method begins at RVA 0x8d38 - // Code size 81 (0x51) - .maxstack 4 - .locals init ( - class NDesk.DBus.BusObject V_0, - class NDesk.DBus.DProxy V_1) - IL_0000: ldarg.1 - IL_0001: callvirt instance bool class [mscorlib]System.Type::get_IsInterface() - IL_0006: brtrue IL_0016 + IL_0243: ldarg.0 + IL_0244: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.MessageReader/'c__Iterator0'::$locvar0 + IL_0249: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_024e: brtrue IL_0210 - IL_000b: ldarg.1 - IL_000c: callvirt instance bool class [mscorlib]System.Type::get_IsAbstract() - IL_0011: brfalse IL_0020 + IL_0253: leave IL_0273 - IL_0016: ldarg.0 - IL_0017: ldarg.2 - IL_0018: ldarg.3 - IL_0019: ldarg.1 - IL_001a: call object class NDesk.DBus.BusObject::GetObject(class NDesk.DBus.Connection, string, class NDesk.DBus.ObjectPath, class [mscorlib]System.Type) - IL_001f: ret - IL_0020: ldsfld bool NDesk.DBus.Protocol::Verbose - IL_0025: brfalse IL_0039 + } // end .try 0 + finally { // 0 + IL_0258: ldloc.1 + IL_0259: brfalse.s IL_025c - IL_002a: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_002f: ldstr "Warning: Note that MarshalByRefObject use is not recommended; for best performance, define interfaces" - IL_0034: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0039: ldarg.0 - IL_003a: ldarg.2 - IL_003b: ldarg.3 - IL_003c: newobj instance void class NDesk.DBus.BusObject::'.ctor'(class NDesk.DBus.Connection, string, class NDesk.DBus.ObjectPath) - IL_0041: stloc.0 - IL_0042: ldloc.0 - IL_0043: ldarg.1 - IL_0044: newobj instance void class NDesk.DBus.DProxy::'.ctor'(class NDesk.DBus.BusObject, class [mscorlib]System.Type) - IL_0049: stloc.1 - IL_004a: ldloc.1 - IL_004b: callvirt instance object class [mscorlib]System.Runtime.Remoting.Proxies.RealProxy::GetTransparentProxy() - IL_0050: ret - } // end of method Connection::GetObject + IL_025b: endfinally + IL_025c: ldarg.0 + IL_025d: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.MessageReader/'c__Iterator0'::$locvar0 + IL_0262: brfalse IL_0272 - // method line 784 - .method public hidebysig - instance default !!T GetObject (string bus_name, class NDesk.DBus.ObjectPath path) cil managed - { - // Method begins at RVA 0x8d95 - // Code size 24 (0x18) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldtoken !!T - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: ldarg.1 - IL_000c: ldarg.2 - IL_000d: call instance object class NDesk.DBus.Connection::GetObject(class [mscorlib]System.Type, string, class NDesk.DBus.ObjectPath) - IL_0012: unbox.any !!0 - IL_0017: ret - } // end of method Connection::GetObject + IL_0267: ldarg.0 + IL_0268: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.MessageReader/'c__Iterator0'::$locvar0 + IL_026d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0272: endfinally + } // end handler 0 + IL_0273: br IL_029f - // method line 785 - .method public hidebysig - instance default void Register (string bus_name, class NDesk.DBus.ObjectPath path, object obj) cil managed + IL_0278: ldstr "Can't step into '" + IL_027d: ldarg.0 + IL_027e: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig + IL_0283: box NDesk.DBus.Signature + IL_0288: ldstr "'" + IL_028d: call string string::Concat(object, object, object) + IL_0292: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0297: throw + IL_0298: ldarg.0 + IL_0299: ldc.i4.m1 + IL_029a: stfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC + IL_029f: ldc.i4.0 + IL_02a0: ret + IL_02a1: ldc.i4.1 + IL_02a2: ret + } // end of method c__Iterator0::MoveNext + + // method line 1324 + .method private final virtual hidebysig newslot specialname + instance default valuetype NDesk.DBus.Signature 'System.Collections.Generic.IEnumerator.get_Current' () cil managed { - // Method begins at RVA 0x8dae - // Code size 9 (0x9) + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x8b50 + .override method instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldarg.2 - IL_0002: ldarg.3 - IL_0003: call instance void class NDesk.DBus.Connection::Register(class NDesk.DBus.ObjectPath, object) - IL_0008: ret - } // end of method Connection::Register + IL_0001: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::$current + IL_0006: ret + } // end of method c__Iterator0::System.Collections.Generic.IEnumerator.get_Current - // method line 786 - .method public hidebysig - instance default object Unregister (string bus_name, class NDesk.DBus.ObjectPath path) cil managed + // method line 1325 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x8db8 - // Code size 8 (0x8) + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x8b58 + .override class [mscorlib]System.Collections.IEnumerator::get_Current + // Code size 12 (0xc) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldarg.2 - IL_0002: call instance object class NDesk.DBus.Connection::Unregister(class NDesk.DBus.ObjectPath) - IL_0007: ret - } // end of method Connection::Unregister + IL_0001: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::$current + IL_0006: box NDesk.DBus.Signature + IL_000b: ret + } // end of method c__Iterator0::System.Collections.IEnumerator.get_Current - // method line 787 - .method public hidebysig - instance default void Register (class NDesk.DBus.ObjectPath path, object obj) cil managed + // method line 1326 + .method public final virtual hidebysig newslot + instance default void Dispose () cil managed { - // Method begins at RVA 0x8dc4 - // Code size 30 (0x1e) - .maxstack 3 - .locals init ( - class NDesk.DBus.ExportObject V_0) - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call class NDesk.DBus.ExportObject class NDesk.DBus.ExportObject::CreateExportObject(class NDesk.DBus.Connection, class NDesk.DBus.ObjectPath, object) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: ldc.i4.1 - IL_000b: callvirt instance void class NDesk.DBus.ExportObject::set_Registered(bool) - IL_0010: ldarg.0 - IL_0011: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::RegisteredObjects - IL_0016: ldarg.1 - IL_0017: ldloc.0 - IL_0018: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::set_Item(!0, !1) - IL_001d: ret - } // end of method Connection::Register + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 788 - .method public hidebysig - instance default object Unregister (class NDesk.DBus.ObjectPath path) cil managed - { - // Method begins at RVA 0x8df0 - // Code size 75 (0x4b) - .maxstack 3 + // Method begins at RVA 0x8b68 + // Code size 85 (0x55) + .maxstack 2 .locals init ( - class NDesk.DBus.BusObject V_0, - class NDesk.DBus.ExportObject V_1) + unsigned int32 V_0) IL_0000: ldarg.0 - IL_0001: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::RegisteredObjects - IL_0006: ldarg.1 - IL_0007: ldloca.s 0 - IL_0009: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) - IL_000e: brtrue IL_0029 + IL_0001: ldfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldc.i4.1 + IL_0009: stfld bool NDesk.DBus.MessageReader/'c__Iterator0'::$disposing + IL_000e: ldarg.0 + IL_000f: ldc.i4.m1 + IL_0010: stfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC + IL_0015: ldloc.0 + IL_0016: switch ( + IL_0054, + IL_0054, + IL_0054, + IL_0054, + IL_0054, + IL_0038) + IL_0033: br IL_0054 - IL_0013: ldstr "Cannot unregister " - IL_0018: ldarg.1 - IL_0019: ldstr " as it isn't registered" - IL_001e: call string string::Concat(object, object, object) - IL_0023: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0028: throw - IL_0029: ldarg.0 - IL_002a: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::RegisteredObjects - IL_002f: ldarg.1 - IL_0030: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::Remove(!0) - IL_0035: pop - IL_0036: ldloc.0 - IL_0037: castclass NDesk.DBus.ExportObject - IL_003c: stloc.1 - IL_003d: ldloc.1 - IL_003e: ldc.i4.0 - IL_003f: callvirt instance void class NDesk.DBus.ExportObject::set_Registered(bool) - IL_0044: ldloc.1 - IL_0045: ldfld object NDesk.DBus.ExportObject::obj - IL_004a: ret - } // end of method Connection::Unregister + .try { // 0 + IL_0038: leave IL_0054 - // method line 789 - .method famorassem virtual hidebysig newslot - instance default void AddMatch (string rule) cil managed - { - // Method begins at RVA 0x8e47 - // Code size 1 (0x1) - .maxstack 8 - IL_0000: ret - } // end of method Connection::AddMatch + } // end .try 0 + finally { // 0 + IL_003d: ldarg.0 + IL_003e: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.MessageReader/'c__Iterator0'::$locvar0 + IL_0043: brfalse IL_0053 - // method line 790 - .method famorassem virtual hidebysig newslot - instance default void RemoveMatch (string rule) cil managed - { - // Method begins at RVA 0x8e49 - // Code size 1 (0x1) - .maxstack 8 - IL_0000: ret - } // end of method Connection::RemoveMatch + IL_0048: ldarg.0 + IL_0049: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.MessageReader/'c__Iterator0'::$locvar0 + IL_004e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0053: endfinally + } // end handler 0 + IL_0054: ret + } // end of method c__Iterator0::Dispose - // method line 791 - .method assembly static hidebysig specialname - default valuetype NDesk.DBus.UUID get_MachineId () cil managed + // method line 1327 + .method public final virtual hidebysig newslot + instance default void Reset () cil managed { - // Method begins at RVA 0x8e4c - // Code size 134 (0x86) - .maxstack 2 - .locals init ( - object V_0, - bool V_1, - valuetype [mscorlib]System.Nullable`1 V_2, - valuetype [mscorlib]System.Nullable`1 V_3, - valuetype NDesk.DBus.UUID V_4, - valuetype [mscorlib]System.Nullable`1 V_5) - IL_0000: ldsfld object NDesk.DBus.Connection::idReadLock - IL_0005: stloc.0 - IL_0006: ldc.i4.0 - IL_0007: stloc.1 - .try { // 1 - IL_0008: ldloc.0 - IL_0009: ldloca.s 1 - IL_000b: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) - IL_0010: ldsfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.Connection::machineId - IL_0015: stloc.2 - IL_0016: ldloca.s 2 - IL_0018: call instance bool valuetype [mscorlib]System.Nullable`1::get_HasValue() - IL_001d: brfalse IL_0036 - - IL_0022: ldsfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.Connection::machineId - IL_0027: stloc.3 - IL_0028: ldloca.s 3 - IL_002a: call instance !0 valuetype [mscorlib]System.Nullable`1::get_Value() - IL_002f: stloc.s 4 - IL_0031: leave IL_0083 - - .try { // 0 - IL_0036: ldstr "/var/lib/dbus/machine-id" - IL_003b: call valuetype NDesk.DBus.UUID class NDesk.DBus.Connection::ReadMachineId(string) - IL_0040: newobj instance void valuetype [mscorlib]System.Nullable`1::'.ctor'(!0) - IL_0045: stsfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.Connection::machineId - IL_004a: leave IL_0064 - - } // end .try 0 - catch class [mscorlib]System.Object { // 0 - IL_004f: pop - IL_0050: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero - IL_0055: newobj instance void valuetype [mscorlib]System.Nullable`1::'.ctor'(!0) - IL_005a: stsfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.Connection::machineId - IL_005f: leave IL_0064 + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - } // end handler 0 - IL_0064: ldsfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.Connection::machineId - IL_0069: stloc.s 5 - IL_006b: ldloca.s 5 - IL_006d: call instance !0 valuetype [mscorlib]System.Nullable`1::get_Value() - IL_0072: stloc.s 4 - IL_0074: leave IL_0083 + // Method begins at RVA 0x8bdc + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() + IL_0005: throw + } // end of method c__Iterator0::Reset - } // end .try 1 - finally { // 1 - IL_0079: ldloc.1 - IL_007a: brfalse.s IL_0082 + // method line 1328 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed + { + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_007c: ldloc.0 - IL_007d: call void class [mscorlib]System.Threading.Monitor::Exit(object) - IL_0082: endfinally - } // end handler 1 - IL_0083: ldloc.s 4 - IL_0085: ret - } // end of method Connection::get_MachineId + // Method begins at RVA 0x8be3 + .override class [mscorlib]System.Collections.IEnumerable::GetEnumerator + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class NDesk.DBus.MessageReader/'c__Iterator0'::'System.Collections.Generic.IEnumerable.GetEnumerator'() + IL_0006: ret + } // end of method c__Iterator0::System.Collections.IEnumerable.GetEnumerator - // method line 792 - .method private static hidebysig - default valuetype NDesk.DBus.UUID ReadMachineId (string fname) cil managed + // method line 1329 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.Generic.IEnumerator`1 'System.Collections.Generic.IEnumerable.GetEnumerator' () cil managed { - // Method begins at RVA 0x8efc - // Code size 119 (0x77) - .maxstack 5 + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x8bec + .override method instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() + // Code size 52 (0x34) + .maxstack 3 .locals init ( - class [mscorlib]System.IO.FileStream V_0, - unsigned int8[] V_1, - int32 V_2, - int32 V_3, - valuetype NDesk.DBus.UUID V_4) + class NDesk.DBus.MessageReader/'c__Iterator0' V_0) IL_0000: ldarg.0 - IL_0001: call class [mscorlib]System.IO.FileStream class [mscorlib]System.IO.File::OpenRead(string) - IL_0006: stloc.0 - .try { // 0 - IL_0007: ldc.i4.s 0x20 - IL_0009: newarr [mscorlib]System.Byte - IL_000e: stloc.1 - IL_000f: ldc.i4.0 - IL_0010: stloc.2 - IL_0011: br IL_0033 - - IL_0016: ldloc.0 - IL_0017: ldloc.1 - IL_0018: ldloc.2 - IL_0019: ldloc.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: ldloc.2 - IL_001d: sub - IL_001e: callvirt instance int32 class [mscorlib]System.IO.Stream::Read(unsigned int8[], int32, int32) - IL_0023: stloc.3 - IL_0024: ldloc.3 - IL_0025: brtrue IL_002f - - IL_002a: leave IL_003c - - IL_002f: ldloc.2 - IL_0030: ldloc.3 - IL_0031: add - IL_0032: stloc.2 - IL_0033: ldloc.2 - IL_0034: ldloc.1 - IL_0035: ldlen - IL_0036: conv.i4 - IL_0037: blt IL_0016 - - IL_003c: ldloc.2 - IL_003d: ldloc.1 - IL_003e: ldlen - IL_003f: conv.i4 - IL_0040: beq IL_0050 - - IL_0045: ldstr "Insufficient data while reading GUID string" - IL_004a: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_004f: throw - IL_0050: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_ASCII() - IL_0055: ldloc.1 - IL_0056: callvirt instance string class [mscorlib]System.Text.Encoding::GetString(unsigned int8[]) - IL_005b: call valuetype NDesk.DBus.UUID valuetype NDesk.DBus.UUID::Parse(string) - IL_0060: stloc.s 4 - IL_0062: leave IL_0074 - - } // end .try 0 - finally { // 0 - IL_0067: ldloc.0 - IL_0068: brfalse IL_0073 + IL_0001: ldflda int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC + IL_0006: ldc.i4.0 + IL_0007: ldc.i4.s 0xfffffffe + IL_0009: call int32 class [mscorlib]System.Threading.Interlocked::CompareExchange([out] int32&, int32, int32) + IL_000e: ldc.i4.s 0xfffffffe + IL_0010: bne.un.s IL_0014 - IL_006d: ldloc.0 - IL_006e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0073: endfinally - } // end handler 0 - IL_0074: ldloc.s 4 - IL_0076: ret - } // end of method Connection::ReadMachineId + IL_0012: ldarg.0 + IL_0013: ret + IL_0014: newobj instance void class NDesk.DBus.MessageReader/'c__Iterator0'::'.ctor'() + IL_0019: stloc.0 + IL_001a: ldloc.0 + IL_001b: ldarg.0 + IL_001c: ldfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this + IL_0021: stfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this + IL_0026: ldloc.0 + IL_0027: ldarg.0 + IL_0028: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig + IL_002d: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig + IL_0032: ldloc.0 + IL_0033: ret + } // end of method c__Iterator0::System.Collections.Generic.IEnumerable.GetEnumerator - .property instance class NDesk.DBus.Transports.Transport Transport () - { - .get instance default class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::get_Transport () - .set instance default void NDesk.DBus.Connection::set_Transport (class NDesk.DBus.Transports.Transport 'value') - } - .property instance bool IsConnected () - { - .get instance default bool NDesk.DBus.Connection::get_IsConnected () - } - .property instance bool IsAuthenticated () + .property instance valuetype NDesk.DBus.Signature 'System.Collections.Generic.IEnumerator.Current' () { - .get instance default bool NDesk.DBus.Connection::get_IsAuthenticated () + .get instance default valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'System.Collections.Generic.IEnumerator.get_Current' () } - .property valuetype NDesk.DBus.UUID MachineId () + .property instance object System.Collections.IEnumerator.Current () { - .get default valuetype NDesk.DBus.UUID NDesk.DBus.Connection::get_MachineId () + .get instance default object NDesk.DBus.MessageReader/'c__Iterator0'::System.Collections.IEnumerator.get_Current () } - } // end of class NDesk.DBus.Connection + } // end of class c__Iterator0 + + } // end of class NDesk.DBus.MessageReader } .namespace NDesk.DBus { - .class private auto ansi abstract sealed beforefieldinit TypeDefiner + .class private auto ansi beforefieldinit MessageDumper extends [mscorlib]System.Object { - .field private static class [mscorlib]System.Reflection.Emit.AssemblyBuilder asmBdef - .field private static class [mscorlib]System.Reflection.Emit.ModuleBuilder modBdef - .field private static unsigned int32 ifaceId - .field private static literal valuetype [mscorlib]System.Reflection.MethodAttributes ifaceMethAttr = int32(0x000005c6) - - // method line 793 - .method private static hidebysig - default void InitHack () cil managed - { - // Method begins at RVA 0x8f90 - // Code size 69 (0x45) - .maxstack 3 - IL_0000: ldsfld class [mscorlib]System.Reflection.Emit.AssemblyBuilder NDesk.DBus.TypeDefiner::asmBdef - IL_0005: ldnull - IL_0006: call bool class [mscorlib]System.Reflection.Assembly::op_Inequality(class [mscorlib]System.Reflection.Assembly, class [mscorlib]System.Reflection.Assembly) - IL_000b: brfalse IL_0011 - - IL_0010: ret - IL_0011: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() - IL_0016: ldstr "Defs" - IL_001b: newobj instance void class [mscorlib]System.Reflection.AssemblyName::'.ctor'(string) - IL_0020: ldc.i4.3 - IL_0021: callvirt instance class [mscorlib]System.Reflection.Emit.AssemblyBuilder class [mscorlib]System.AppDomain::DefineDynamicAssembly(class [mscorlib]System.Reflection.AssemblyName, valuetype [mscorlib]System.Reflection.Emit.AssemblyBuilderAccess) - IL_0026: stsfld class [mscorlib]System.Reflection.Emit.AssemblyBuilder NDesk.DBus.TypeDefiner::asmBdef - IL_002b: ldsfld class [mscorlib]System.Reflection.Emit.AssemblyBuilder NDesk.DBus.TypeDefiner::asmBdef - IL_0030: ldstr "Defs.dll" - IL_0035: ldstr "Defs.dll" - IL_003a: callvirt instance class [mscorlib]System.Reflection.Emit.ModuleBuilder class [mscorlib]System.Reflection.Emit.AssemblyBuilder::DefineDynamicModule(string, string) - IL_003f: stsfld class [mscorlib]System.Reflection.Emit.ModuleBuilder NDesk.DBus.TypeDefiner::modBdef - IL_0044: ret - } // end of method TypeDefiner::InitHack - // method line 794 - .method public static hidebysig - default class [mscorlib]System.Type Define (class NDesk.DBus.Introspection.Interface[] ifaces) cil managed - { - // Method begins at RVA 0x8fe4 - // Code size 101 (0x65) - .maxstack 4 - .locals init ( - string V_0, - class [mscorlib]System.Reflection.Emit.TypeBuilder V_1, - class NDesk.DBus.Introspection.Interface V_2, - class NDesk.DBus.Introspection.Interface[] V_3, - int32 V_4) - IL_0000: call void class NDesk.DBus.TypeDefiner::InitHack() - IL_0005: ldstr "Aggregate" - IL_000a: ldsfld unsigned int32 NDesk.DBus.TypeDefiner::ifaceId - IL_000f: dup - IL_0010: ldc.i4.1 - IL_0011: add - IL_0012: stsfld unsigned int32 NDesk.DBus.TypeDefiner::ifaceId - IL_0017: box [mscorlib]System.UInt32 - IL_001c: call string string::Concat(object, object) - IL_0021: stloc.0 - IL_0022: ldsfld class [mscorlib]System.Reflection.Emit.ModuleBuilder NDesk.DBus.TypeDefiner::modBdef - IL_0027: ldloc.0 - IL_0028: ldc.i4 161 - IL_002d: callvirt instance class [mscorlib]System.Reflection.Emit.TypeBuilder class [mscorlib]System.Reflection.Emit.ModuleBuilder::DefineType(string, valuetype [mscorlib]System.Reflection.TypeAttributes) - IL_0032: stloc.1 - IL_0033: ldarg.0 - IL_0034: stloc.3 - IL_0035: ldc.i4.0 - IL_0036: stloc.s 4 - IL_0038: br IL_0054 - - IL_003d: ldloc.3 - IL_003e: ldloc.s 4 - IL_0040: ldelem.ref - IL_0041: stloc.2 - IL_0042: ldloc.1 - IL_0043: ldloc.2 - IL_0044: call class [mscorlib]System.Type class NDesk.DBus.TypeDefiner::Define(class NDesk.DBus.Introspection.Interface) - IL_0049: callvirt instance void class [mscorlib]System.Reflection.Emit.TypeBuilder::AddInterfaceImplementation(class [mscorlib]System.Type) - IL_004e: ldloc.s 4 - IL_0050: ldc.i4.1 - IL_0051: add - IL_0052: stloc.s 4 - IL_0054: ldloc.s 4 - IL_0056: ldloc.3 - IL_0057: ldlen - IL_0058: conv.i4 - IL_0059: blt IL_003d - - IL_005e: ldloc.1 - IL_005f: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Emit.TypeBuilder::CreateType() - IL_0064: ret - } // end of method TypeDefiner::Define - - // method line 795 - .method private static hidebysig - default class [mscorlib]System.Type Define (class NDesk.DBus.Introspection.Interface iface) cil managed - { - // Method begins at RVA 0x9058 - // Code size 132 (0x84) - .maxstack 5 - .locals init ( - int32 V_0, - string V_1, - string V_2, - class [mscorlib]System.Reflection.Emit.TypeBuilder V_3) - IL_0000: call void class NDesk.DBus.TypeDefiner::InitHack() - IL_0005: ldarg.0 - IL_0006: ldfld string NDesk.DBus.Introspection.Interface::Name - IL_000b: ldc.i4.s 0x2e - IL_000d: callvirt instance int32 string::LastIndexOf(char) - IL_0012: stloc.0 - IL_0013: ldarg.0 - IL_0014: ldfld string NDesk.DBus.Introspection.Interface::Name - IL_0019: ldc.i4.0 - IL_001a: ldloc.0 - IL_001b: callvirt instance string string::Substring(int32, int32) - IL_0020: stloc.1 - IL_0021: ldarg.0 - IL_0022: ldfld string NDesk.DBus.Introspection.Interface::Name - IL_0027: ldloc.0 - IL_0028: ldc.i4.1 - IL_0029: add - IL_002a: callvirt instance string string::Substring(int32) - IL_002f: stloc.2 - IL_0030: ldloc.1 - IL_0031: ldc.i4.s 0x2e - IL_0033: ldsfld char [mscorlib]System.Type::Delimiter - IL_0038: callvirt instance string string::Replace(char, char) - IL_003d: stloc.1 - IL_003e: ldsfld class [mscorlib]System.Reflection.Emit.ModuleBuilder NDesk.DBus.TypeDefiner::modBdef - IL_0043: ldc.i4.4 - IL_0044: newarr [mscorlib]System.Object - IL_0049: dup - IL_004a: ldc.i4.0 - IL_004b: ldloc.1 - IL_004c: stelem.ref - IL_004d: dup - IL_004e: ldc.i4.1 - IL_004f: ldsfld char [mscorlib]System.Type::Delimiter - IL_0054: box [mscorlib]System.Char - IL_0059: stelem.ref - IL_005a: dup - IL_005b: ldc.i4.2 - IL_005c: ldstr "I" - IL_0061: stelem.ref - IL_0062: dup - IL_0063: ldc.i4.3 - IL_0064: ldloc.2 - IL_0065: stelem.ref - IL_0066: call string string::Concat(object[]) - IL_006b: ldc.i4 161 - IL_0070: callvirt instance class [mscorlib]System.Reflection.Emit.TypeBuilder class [mscorlib]System.Reflection.Emit.ModuleBuilder::DefineType(string, valuetype [mscorlib]System.Reflection.TypeAttributes) - IL_0075: stloc.3 - IL_0076: ldloc.3 - IL_0077: ldarg.0 - IL_0078: call void class NDesk.DBus.TypeDefiner::Define(class [mscorlib]System.Reflection.Emit.TypeBuilder, class NDesk.DBus.Introspection.Interface) - IL_007d: ldloc.3 - IL_007e: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Emit.TypeBuilder::CreateType() - IL_0083: ret - } // end of method TypeDefiner::Define - - // method line 796 - .method public static hidebysig - default void Save () cil managed + // method line 792 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x90e8 - // Code size 16 (0x10) + // Method begins at RVA 0x8c2c + // Code size 7 (0x7) .maxstack 8 - IL_0000: ldsfld class [mscorlib]System.Reflection.Emit.AssemblyBuilder NDesk.DBus.TypeDefiner::asmBdef - IL_0005: ldstr "Defs.dll" - IL_000a: callvirt instance void class [mscorlib]System.Reflection.Emit.AssemblyBuilder::Save(string) - IL_000f: ret - } // end of method TypeDefiner::Save - - // method line 797 - .method public static hidebysig - default class [mscorlib]System.Type DefineHandler (class [mscorlib]System.Reflection.Emit.ModuleBuilder modB, class NDesk.DBus.Introspection.Signal declSignal) cil managed - { - // Method begins at RVA 0x90fc - // Code size 130 (0x82) - .maxstack 7 - .locals init ( - string V_0, - class [mscorlib]System.Reflection.Emit.TypeBuilder V_1, - class [mscorlib]System.Reflection.Emit.ConstructorBuilder V_2, - class [mscorlib]System.Reflection.Emit.MethodBuilder V_3) - IL_0000: ldarg.1 - IL_0001: ldfld string NDesk.DBus.Introspection.Member::Name - IL_0006: ldstr "Handler" - IL_000b: call string string::Concat(string, string) - IL_0010: stloc.0 - IL_0011: ldarg.0 - IL_0012: ldloc.0 - IL_0013: ldc.i4 131329 - IL_0018: ldtoken [mscorlib]System.MulticastDelegate - IL_001d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0022: callvirt instance class [mscorlib]System.Reflection.Emit.TypeBuilder class [mscorlib]System.Reflection.Emit.ModuleBuilder::DefineType(string, valuetype [mscorlib]System.Reflection.TypeAttributes, class [mscorlib]System.Type) - IL_0027: stloc.1 - IL_0028: ldloc.1 - IL_0029: ldc.i4 4230 - IL_002e: ldc.i4.1 - IL_002f: ldc.i4.2 - IL_0030: newarr [mscorlib]System.Type - IL_0035: dup - IL_0036: ldc.i4.0 - IL_0037: ldtoken [mscorlib]System.Object - IL_003c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0041: stelem.ref - IL_0042: dup - IL_0043: ldc.i4.1 - IL_0044: ldtoken [mscorlib]System.IntPtr - IL_0049: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_004e: stelem.ref - IL_004f: callvirt instance class [mscorlib]System.Reflection.Emit.ConstructorBuilder class [mscorlib]System.Reflection.Emit.TypeBuilder::DefineConstructor(valuetype [mscorlib]System.Reflection.MethodAttributes, valuetype [mscorlib]System.Reflection.CallingConventions, class [mscorlib]System.Type[]) - IL_0054: stloc.2 - IL_0055: ldloc.2 - IL_0056: ldc.i4.3 - IL_0057: callvirt instance void class [mscorlib]System.Reflection.Emit.ConstructorBuilder::SetImplementationFlags(valuetype [mscorlib]System.Reflection.MethodImplAttributes) - IL_005c: ldloc.1 - IL_005d: ldstr "Invoke" - IL_0062: ldc.i4 454 - IL_0067: ldarg.1 - IL_0068: ldfld class NDesk.DBus.Introspection.Argument[] NDesk.DBus.Introspection.Method::Arguments - IL_006d: ldc.i4.1 - IL_006e: call class [mscorlib]System.Reflection.Emit.MethodBuilder class NDesk.DBus.TypeDefiner::DefineSignal(class [mscorlib]System.Reflection.Emit.TypeBuilder, string, valuetype [mscorlib]System.Reflection.MethodAttributes, class NDesk.DBus.Introspection.Argument[], bool) - IL_0073: stloc.3 - IL_0074: ldloc.3 - IL_0075: ldc.i4.3 - IL_0076: callvirt instance void class [mscorlib]System.Reflection.Emit.MethodBuilder::SetImplementationFlags(valuetype [mscorlib]System.Reflection.MethodImplAttributes) - IL_007b: ldloc.1 - IL_007c: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Emit.TypeBuilder::CreateType() - IL_0081: ret - } // end of method TypeDefiner::DefineHandler + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method MessageDumper::.ctor - // method line 798 + // method line 793 .method public static hidebysig - default class [mscorlib]System.Reflection.Emit.MethodBuilder DefineSignal (class [mscorlib]System.Reflection.Emit.TypeBuilder typeB, string name, valuetype [mscorlib]System.Reflection.MethodAttributes mattr, class NDesk.DBus.Introspection.Argument[] args, bool isSignal) cil managed + default unsigned int8[] ReadBlock (class [mscorlib]System.IO.TextReader r) cil managed { - // Method begins at RVA 0x918c - // Code size 188 (0xbc) - .maxstack 5 + // Method begins at RVA 0x8c34 + // Code size 68 (0x44) + .maxstack 2 .locals init ( - class [mscorlib]System.Collections.Generic.List`1 V_0, - class NDesk.DBus.Introspection.Argument V_1, - class NDesk.DBus.Introspection.Argument[] V_2, - int32 V_3, - valuetype NDesk.DBus.Signature V_4, - class [mscorlib]System.Type V_5, - class [mscorlib]System.Reflection.Emit.MethodBuilder V_6, - int32 V_7, - class NDesk.DBus.Introspection.Argument V_8, - class NDesk.DBus.Introspection.Argument[] V_9, - int32 V_10) - IL_0000: newobj instance void class [mscorlib]System.Collections.Generic.List`1::'.ctor'() + class [mscorlib]System.IO.MemoryStream V_0, + string V_1) + IL_0000: newobj instance void class [mscorlib]System.IO.MemoryStream::'.ctor'() IL_0005: stloc.0 - IL_0006: ldarg.3 - IL_0007: brfalse IL_0040 + IL_0006: ldarg.0 + IL_0007: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_000c: stloc.1 + IL_000d: ldloc.1 + IL_000e: brtrue IL_0018 - IL_000c: ldarg.3 - IL_000d: stloc.2 - IL_000e: ldc.i4.0 - IL_000f: stloc.3 - IL_0010: br IL_0037 + IL_0013: br IL_002e - IL_0015: ldloc.2 - IL_0016: ldloc.3 - IL_0017: ldelem.ref - IL_0018: stloc.1 - IL_0019: ldloc.0 - IL_001a: ldloca.s 4 - IL_001c: ldloc.1 - IL_001d: ldfld string NDesk.DBus.Introspection.Argument::Type - IL_0022: call instance void valuetype NDesk.DBus.Signature::'.ctor'(string) - IL_0027: ldloca.s 4 - IL_0029: call instance class [mscorlib]System.Type valuetype NDesk.DBus.Signature::ToType() - IL_002e: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Add(!0) - IL_0033: ldloc.3 - IL_0034: ldc.i4.1 - IL_0035: add - IL_0036: stloc.3 - IL_0037: ldloc.3 - IL_0038: ldloc.2 - IL_0039: ldlen - IL_003a: conv.i4 - IL_003b: blt IL_0015 + IL_0018: ldloc.0 + IL_0019: ldloc.1 + IL_001a: call bool class NDesk.DBus.MessageDumper::ReadFromHex(class [mscorlib]System.IO.Stream, string) + IL_001f: brtrue IL_0029 - IL_0040: ldtoken [mscorlib]System.Void - IL_0045: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_004a: stloc.s 5 - IL_004c: ldarg.0 - IL_004d: ldarg.1 - IL_004e: ldarg.2 - IL_004f: ldloc.s 5 - IL_0051: ldloc.0 - IL_0052: callvirt instance !0[] class [mscorlib]System.Collections.Generic.List`1::ToArray() - IL_0057: callvirt instance class [mscorlib]System.Reflection.Emit.MethodBuilder class [mscorlib]System.Reflection.Emit.TypeBuilder::DefineMethod(string, valuetype [mscorlib]System.Reflection.MethodAttributes, class [mscorlib]System.Type, class [mscorlib]System.Type[]) - IL_005c: stloc.s 6 - IL_005e: ldarg.3 - IL_005f: brfalse IL_00b9 + IL_0024: br IL_002e - IL_0064: ldc.i4.0 - IL_0065: stloc.s 7 - IL_0067: ldarg.3 - IL_0068: stloc.s 9 - IL_006a: ldc.i4.0 - IL_006b: stloc.s 10 - IL_006d: br IL_00ae + IL_0029: br IL_0006 - IL_0072: ldloc.s 9 - IL_0074: ldloc.s 10 - IL_0076: ldelem.ref - IL_0077: stloc.s 8 - IL_0079: ldloc.s 6 - IL_007b: ldloc.s 7 - IL_007d: ldc.i4.1 - IL_007e: add - IL_007f: dup - IL_0080: stloc.s 7 - IL_0082: ldc.i4.1 - IL_0083: ldloc.s 8 - IL_0085: ldfld string NDesk.DBus.Introspection.Argument::Name - IL_008a: dup - IL_008b: brtrue IL_00a2 + IL_002e: ldloc.0 + IL_002f: callvirt instance int64 class [mscorlib]System.IO.Stream::get_Length() + IL_0034: ldc.i4.0 + IL_0035: conv.i8 + IL_0036: bne.un IL_003d - IL_0090: pop - IL_0091: ldstr "arg" - IL_0096: ldloc.s 7 - IL_0098: box [mscorlib]System.Int32 - IL_009d: call string string::Concat(object, object) - IL_00a2: callvirt instance class [mscorlib]System.Reflection.Emit.ParameterBuilder class [mscorlib]System.Reflection.Emit.MethodBuilder::DefineParameter(int32, valuetype [mscorlib]System.Reflection.ParameterAttributes, string) - IL_00a7: pop - IL_00a8: ldloc.s 10 - IL_00aa: ldc.i4.1 - IL_00ab: add - IL_00ac: stloc.s 10 - IL_00ae: ldloc.s 10 - IL_00b0: ldloc.s 9 - IL_00b2: ldlen - IL_00b3: conv.i4 - IL_00b4: blt IL_0072 + IL_003b: ldnull + IL_003c: ret + IL_003d: ldloc.0 + IL_003e: callvirt instance unsigned int8[] class [mscorlib]System.IO.MemoryStream::ToArray() + IL_0043: ret + } // end of method MessageDumper::ReadBlock - IL_00b9: ldloc.s 6 - IL_00bb: ret - } // end of method TypeDefiner::DefineSignal + // method line 794 + .method public static hidebysig + default void WriteComment (string comment, class [mscorlib]System.IO.TextWriter w) cil managed + { + // Method begins at RVA 0x8c84 + // Code size 18 (0x12) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldstr "# " + IL_0006: ldarg.0 + IL_0007: call string string::Concat(string, string) + IL_000c: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0011: ret + } // end of method MessageDumper::WriteComment - // method line 799 + // method line 795 .method public static hidebysig - default class [mscorlib]System.Reflection.Emit.MethodBuilder DefineMethod (class [mscorlib]System.Reflection.Emit.TypeBuilder typeB, string name, valuetype [mscorlib]System.Reflection.MethodAttributes mattr, class NDesk.DBus.Introspection.Argument[] args, bool isSignal) cil managed + default void WriteBlock (unsigned int8[] Body, class [mscorlib]System.IO.TextWriter w) cil managed { - // Method begins at RVA 0x9254 - // Code size 219 (0xdb) - .maxstack 5 + // Method begins at RVA 0x8c98 + // Code size 122 (0x7a) + .maxstack 4 .locals init ( - class [mscorlib]System.Collections.Generic.List`1 V_0, - int32 V_1, - class NDesk.DBus.Introspection.Argument V_2, - valuetype NDesk.DBus.Signature V_3, - class [mscorlib]System.Type V_4, - class [mscorlib]System.Reflection.Emit.MethodBuilder V_5, - int32 V_6, - class NDesk.DBus.Introspection.Argument V_7, - valuetype [mscorlib]System.Reflection.ParameterAttributes V_8) - IL_0000: newobj instance void class [mscorlib]System.Collections.Generic.List`1::'.ctor'() - IL_0005: stloc.0 - IL_0006: ldarg.3 - IL_0007: brfalse IL_0057 - - IL_000c: ldc.i4.0 - IL_000d: stloc.1 - IL_000e: br IL_004e - - IL_0013: ldarg.3 - IL_0014: ldloc.1 - IL_0015: ldelem.ref - IL_0016: stloc.2 - IL_0017: ldloca.s 3 - IL_0019: ldloc.2 - IL_001a: ldfld string NDesk.DBus.Introspection.Argument::Type - IL_001f: call instance void valuetype NDesk.DBus.Signature::'.ctor'(string) - IL_0024: ldloca.s 3 - IL_0026: call instance class [mscorlib]System.Type valuetype NDesk.DBus.Signature::ToType() - IL_002b: stloc.s 4 - IL_002d: ldloc.2 - IL_002e: ldfld valuetype NDesk.DBus.Introspection.ArgDirection NDesk.DBus.Introspection.Argument::Direction - IL_0033: ldc.i4.1 - IL_0034: bne.un IL_0042 + int32 V_0) + IL_0000: ldarg.0 + IL_0001: brfalse IL_0065 - IL_0039: ldloc.s 4 - IL_003b: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::MakeByRefType() - IL_0040: stloc.s 4 - IL_0042: ldloc.0 - IL_0043: ldloc.s 4 - IL_0045: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Add(!0) - IL_004a: ldloc.1 - IL_004b: ldc.i4.1 - IL_004c: add - IL_004d: stloc.1 - IL_004e: ldloc.1 - IL_004f: ldarg.3 - IL_0050: ldlen - IL_0051: conv.i4 - IL_0052: bne.un IL_0013 + IL_0006: ldc.i4.0 + IL_0007: stloc.0 + IL_0008: br IL_005c - IL_0057: ldarg.0 - IL_0058: ldarg.1 - IL_0059: ldarg.2 - IL_005a: ldtoken [mscorlib]System.Void - IL_005f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0064: ldloc.0 - IL_0065: callvirt instance !0[] class [mscorlib]System.Collections.Generic.List`1::ToArray() - IL_006a: callvirt instance class [mscorlib]System.Reflection.Emit.MethodBuilder class [mscorlib]System.Reflection.Emit.TypeBuilder::DefineMethod(string, valuetype [mscorlib]System.Reflection.MethodAttributes, class [mscorlib]System.Type, class [mscorlib]System.Type[]) - IL_006f: stloc.s 5 - IL_0071: ldarg.3 - IL_0072: brfalse IL_00d8 + IL_000d: ldloc.0 + IL_000e: brtrue IL_0018 - IL_0077: ldc.i4.0 - IL_0078: stloc.s 6 - IL_007a: br IL_00ce + IL_0013: br IL_003c - IL_007f: ldarg.3 - IL_0080: ldloc.s 6 - IL_0082: ldelem.ref - IL_0083: stloc.s 7 - IL_0085: ldloc.s 7 - IL_0087: ldfld valuetype NDesk.DBus.Introspection.ArgDirection NDesk.DBus.Introspection.Argument::Direction - IL_008c: ldc.i4.1 - IL_008d: bne.un IL_0098 + IL_0018: ldloc.0 + IL_0019: ldc.i4.s 0x20 + IL_001b: rem + IL_001c: brtrue IL_002c - IL_0092: ldc.i4.2 - IL_0093: br IL_0099 + IL_0021: ldarg.1 + IL_0022: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() + IL_0027: br IL_003c - IL_0098: ldc.i4.1 - IL_0099: stloc.s 8 - IL_009b: ldloc.s 5 - IL_009d: ldloc.s 6 - IL_009f: ldc.i4.1 - IL_00a0: add - IL_00a1: ldloc.s 8 - IL_00a3: ldloc.s 7 - IL_00a5: ldfld string NDesk.DBus.Introspection.Argument::Name - IL_00aa: dup - IL_00ab: brtrue IL_00c2 + IL_002c: ldloc.0 + IL_002d: ldc.i4.4 + IL_002e: rem + IL_002f: brtrue IL_003c - IL_00b0: pop - IL_00b1: ldstr "arg" - IL_00b6: ldloc.s 6 - IL_00b8: box [mscorlib]System.Int32 - IL_00bd: call string string::Concat(object, object) - IL_00c2: callvirt instance class [mscorlib]System.Reflection.Emit.ParameterBuilder class [mscorlib]System.Reflection.Emit.MethodBuilder::DefineParameter(int32, valuetype [mscorlib]System.Reflection.ParameterAttributes, string) - IL_00c7: pop - IL_00c8: ldloc.s 6 - IL_00ca: ldc.i4.1 - IL_00cb: add - IL_00cc: stloc.s 6 - IL_00ce: ldloc.s 6 - IL_00d0: ldarg.3 - IL_00d1: ldlen - IL_00d2: conv.i4 - IL_00d3: bne.un IL_007f + IL_0034: ldarg.1 + IL_0035: ldc.i4.s 0x20 + IL_0037: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(char) + IL_003c: ldarg.1 + IL_003d: ldarg.0 + IL_003e: ldloc.0 + IL_003f: ldelema [mscorlib]System.Byte + IL_0044: ldstr "x2" + IL_0049: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_004e: call instance string unsigned int8::ToString(string, class [mscorlib]System.IFormatProvider) + IL_0053: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string) + IL_0058: ldloc.0 + IL_0059: ldc.i4.1 + IL_005a: add + IL_005b: stloc.0 + IL_005c: ldloc.0 + IL_005d: ldarg.0 + IL_005e: ldlen + IL_005f: conv.i4 + IL_0060: bne.un IL_000d - IL_00d8: ldloc.s 5 - IL_00da: ret - } // end of method TypeDefiner::DefineMethod + IL_0065: ldarg.1 + IL_0066: ldc.i4.s 0x2e + IL_0068: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(char) + IL_006d: ldarg.1 + IL_006e: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() + IL_0073: ldarg.1 + IL_0074: callvirt instance void class [mscorlib]System.IO.TextWriter::Flush() + IL_0079: ret + } // end of method MessageDumper::WriteBlock - // method line 800 + // method line 796 .method public static hidebysig - default void Define (class [mscorlib]System.Reflection.Emit.TypeBuilder typeB, class NDesk.DBus.Introspection.Interface iface) cil managed + default void WriteMessage (class NDesk.DBus.Message msg, class [mscorlib]System.IO.TextWriter w) cil managed { - // Method begins at RVA 0x933c - // Code size 530 (0x212) - .maxstack 9 - .locals init ( - class NDesk.DBus.Introspection.Method V_0, - class NDesk.DBus.Introspection.Method[] V_1, - int32 V_2, - class NDesk.DBus.Introspection.Property V_3, - class NDesk.DBus.Introspection.Property[] V_4, - int32 V_5, - class [mscorlib]System.Type V_6, - valuetype NDesk.DBus.Signature V_7, - class [mscorlib]System.Reflection.Emit.PropertyBuilder V_8, - class NDesk.DBus.Introspection.Signal V_9, - class NDesk.DBus.Introspection.Signal[] V_10, - int32 V_11, - class [mscorlib]System.Type V_12, - class [mscorlib]System.Reflection.Emit.EventBuilder V_13, - class [mscorlib]System.Reflection.ConstructorInfo V_14, - class [mscorlib]System.Reflection.Emit.CustomAttributeBuilder V_15) + // Method begins at RVA 0x8d20 + // Code size 70 (0x46) + .maxstack 2 IL_0000: ldarg.1 - IL_0001: ldfld class NDesk.DBus.Introspection.Method[] NDesk.DBus.Introspection.Interface::Methods - IL_0006: stloc.1 - IL_0007: ldc.i4.0 - IL_0008: stloc.2 - IL_0009: br IL_002f - - IL_000e: ldloc.1 - IL_000f: ldloc.2 - IL_0010: ldelem.ref - IL_0011: stloc.0 - IL_0012: ldarg.0 - IL_0013: ldloc.0 - IL_0014: ldfld string NDesk.DBus.Introspection.Member::Name - IL_0019: ldc.i4 1478 - IL_001e: ldloc.0 - IL_001f: ldfld class NDesk.DBus.Introspection.Argument[] NDesk.DBus.Introspection.Method::Arguments - IL_0024: ldc.i4.0 - IL_0025: call class [mscorlib]System.Reflection.Emit.MethodBuilder class NDesk.DBus.TypeDefiner::DefineMethod(class [mscorlib]System.Reflection.Emit.TypeBuilder, string, valuetype [mscorlib]System.Reflection.MethodAttributes, class NDesk.DBus.Introspection.Argument[], bool) - IL_002a: pop - IL_002b: ldloc.2 - IL_002c: ldc.i4.1 - IL_002d: add - IL_002e: stloc.2 - IL_002f: ldloc.2 - IL_0030: ldloc.1 - IL_0031: ldlen - IL_0032: conv.i4 - IL_0033: blt IL_000e - - IL_0038: ldarg.1 - IL_0039: ldfld class NDesk.DBus.Introspection.Property[] NDesk.DBus.Introspection.Interface::Properties - IL_003e: brfalse IL_011c - - IL_0043: ldarg.1 - IL_0044: ldfld class NDesk.DBus.Introspection.Property[] NDesk.DBus.Introspection.Interface::Properties - IL_0049: stloc.s 4 - IL_004b: ldc.i4.0 - IL_004c: stloc.s 5 - IL_004e: br IL_0111 + IL_0001: ldstr "# Message" + IL_0006: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_000b: ldarg.1 + IL_000c: ldstr "# Header" + IL_0011: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0016: ldarg.0 + IL_0017: callvirt instance unsigned int8[] class NDesk.DBus.Message::GetHeaderData() + IL_001c: ldarg.1 + IL_001d: call void class NDesk.DBus.MessageDumper::WriteBlock(unsigned int8[], class [mscorlib]System.IO.TextWriter) + IL_0022: ldarg.1 + IL_0023: ldstr "# Body" + IL_0028: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_002d: ldarg.0 + IL_002e: ldfld unsigned int8[] NDesk.DBus.Message::Body + IL_0033: ldarg.1 + IL_0034: call void class NDesk.DBus.MessageDumper::WriteBlock(unsigned int8[], class [mscorlib]System.IO.TextWriter) + IL_0039: ldarg.1 + IL_003a: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() + IL_003f: ldarg.1 + IL_0040: callvirt instance void class [mscorlib]System.IO.TextWriter::Flush() + IL_0045: ret + } // end of method MessageDumper::WriteMessage - IL_0053: ldloc.s 4 - IL_0055: ldloc.s 5 - IL_0057: ldelem.ref - IL_0058: stloc.3 - IL_0059: ldloca.s 7 - IL_005b: ldloc.3 - IL_005c: ldfld string NDesk.DBus.Introspection.Property::Type - IL_0061: call instance void valuetype NDesk.DBus.Signature::'.ctor'(string) - IL_0066: ldloca.s 7 - IL_0068: call instance class [mscorlib]System.Type valuetype NDesk.DBus.Signature::ToType() - IL_006d: stloc.s 6 - IL_006f: ldarg.0 - IL_0070: ldloc.3 - IL_0071: ldfld string NDesk.DBus.Introspection.Member::Name - IL_0076: ldc.i4.0 - IL_0077: ldloc.s 6 - IL_0079: ldsfld class [mscorlib]System.Type[] [mscorlib]System.Type::EmptyTypes - IL_007e: callvirt instance class [mscorlib]System.Reflection.Emit.PropertyBuilder class [mscorlib]System.Reflection.Emit.TypeBuilder::DefineProperty(string, valuetype [mscorlib]System.Reflection.PropertyAttributes, class [mscorlib]System.Type, class [mscorlib]System.Type[]) - IL_0083: stloc.s 8 - IL_0085: ldloc.3 - IL_0086: ldfld valuetype NDesk.DBus.Introspection.propertyAccess NDesk.DBus.Introspection.Property::Access - IL_008b: brfalse IL_009c + // method line 797 + .method public static hidebysig + default class NDesk.DBus.Message ReadMessage (class [mscorlib]System.IO.TextReader r) cil managed + { + // Method begins at RVA 0x8d74 + // Code size 44 (0x2c) + .maxstack 2 + .locals init ( + unsigned int8[] V_0, + unsigned int8[] V_1, + class NDesk.DBus.Message V_2) + IL_0000: ldarg.0 + IL_0001: call unsigned int8[] class NDesk.DBus.MessageDumper::ReadBlock(class [mscorlib]System.IO.TextReader) + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: brtrue IL_000f - IL_0090: ldloc.3 - IL_0091: ldfld valuetype NDesk.DBus.Introspection.propertyAccess NDesk.DBus.Introspection.Property::Access - IL_0096: ldc.i4.2 - IL_0097: bne.un IL_00c5 + IL_000d: ldnull + IL_000e: ret + IL_000f: ldarg.0 + IL_0010: call unsigned int8[] class NDesk.DBus.MessageDumper::ReadBlock(class [mscorlib]System.IO.TextReader) + IL_0015: stloc.1 + IL_0016: newobj instance void class NDesk.DBus.Message::'.ctor'() + IL_001b: stloc.2 + IL_001c: ldloc.2 + IL_001d: ldloc.0 + IL_001e: callvirt instance void class NDesk.DBus.Message::SetHeaderData(unsigned int8[]) + IL_0023: ldloc.2 + IL_0024: ldloc.1 + IL_0025: stfld unsigned int8[] NDesk.DBus.Message::Body + IL_002a: ldloc.2 + IL_002b: ret + } // end of method MessageDumper::ReadMessage - IL_009c: ldloc.s 8 - IL_009e: ldarg.0 - IL_009f: ldstr "get_" - IL_00a4: ldloc.3 - IL_00a5: ldfld string NDesk.DBus.Introspection.Member::Name - IL_00aa: call string string::Concat(string, string) - IL_00af: ldc.i4 3526 - IL_00b4: ldloc.s 6 - IL_00b6: ldsfld class [mscorlib]System.Type[] [mscorlib]System.Type::EmptyTypes - IL_00bb: callvirt instance class [mscorlib]System.Reflection.Emit.MethodBuilder class [mscorlib]System.Reflection.Emit.TypeBuilder::DefineMethod(string, valuetype [mscorlib]System.Reflection.MethodAttributes, class [mscorlib]System.Type, class [mscorlib]System.Type[]) - IL_00c0: callvirt instance void class [mscorlib]System.Reflection.Emit.PropertyBuilder::SetGetMethod(class [mscorlib]System.Reflection.Emit.MethodBuilder) - IL_00c5: ldloc.3 - IL_00c6: ldfld valuetype NDesk.DBus.Introspection.propertyAccess NDesk.DBus.Introspection.Property::Access - IL_00cb: ldc.i4.1 - IL_00cc: beq IL_00dd + // method line 798 + .method private static hidebysig + default unsigned int8 FromHexChar (char c) cil managed + { + // Method begins at RVA 0x8dac + // Code size 83 (0x53) + .maxstack 2 + IL_0000: ldarg.0 + IL_0001: ldc.i4.s 0x61 + IL_0003: blt IL_0019 - IL_00d1: ldloc.3 - IL_00d2: ldfld valuetype NDesk.DBus.Introspection.propertyAccess NDesk.DBus.Introspection.Property::Access - IL_00d7: ldc.i4.2 - IL_00d8: bne.un IL_010b + IL_0008: ldarg.0 + IL_0009: ldc.i4.s 0x66 + IL_000b: bgt IL_0019 - IL_00dd: ldloc.s 8 - IL_00df: ldarg.0 - IL_00e0: ldstr "set_" - IL_00e5: ldloc.3 - IL_00e6: ldfld string NDesk.DBus.Introspection.Member::Name - IL_00eb: call string string::Concat(string, string) - IL_00f0: ldc.i4 3526 - IL_00f5: ldnull - IL_00f6: ldc.i4.1 - IL_00f7: newarr [mscorlib]System.Type - IL_00fc: dup - IL_00fd: ldc.i4.0 - IL_00fe: ldloc.s 6 - IL_0100: stelem.ref - IL_0101: callvirt instance class [mscorlib]System.Reflection.Emit.MethodBuilder class [mscorlib]System.Reflection.Emit.TypeBuilder::DefineMethod(string, valuetype [mscorlib]System.Reflection.MethodAttributes, class [mscorlib]System.Type, class [mscorlib]System.Type[]) - IL_0106: callvirt instance void class [mscorlib]System.Reflection.Emit.PropertyBuilder::SetSetMethod(class [mscorlib]System.Reflection.Emit.MethodBuilder) - IL_010b: ldloc.s 5 - IL_010d: ldc.i4.1 - IL_010e: add - IL_010f: stloc.s 5 - IL_0111: ldloc.s 5 - IL_0113: ldloc.s 4 - IL_0115: ldlen - IL_0116: conv.i4 - IL_0117: blt IL_0053 + IL_0010: ldarg.0 + IL_0011: ldc.i4.s 0x61 + IL_0013: sub + IL_0014: ldc.i4.s 0x0a + IL_0016: add + IL_0017: conv.u1 + IL_0018: ret + IL_0019: ldarg.0 + IL_001a: ldc.i4.s 0x41 + IL_001c: blt IL_0032 - IL_011c: ldarg.1 - IL_011d: ldfld class NDesk.DBus.Introspection.Signal[] NDesk.DBus.Introspection.Interface::Signals - IL_0122: brfalse IL_01cd + IL_0021: ldarg.0 + IL_0022: ldc.i4.s 0x46 + IL_0024: bgt IL_0032 - IL_0127: ldarg.1 - IL_0128: ldfld class NDesk.DBus.Introspection.Signal[] NDesk.DBus.Introspection.Interface::Signals - IL_012d: stloc.s 10 - IL_012f: ldc.i4.0 - IL_0130: stloc.s 11 - IL_0132: br IL_01c2 + IL_0029: ldarg.0 + IL_002a: ldc.i4.s 0x41 + IL_002c: sub + IL_002d: ldc.i4.s 0x0a + IL_002f: add + IL_0030: conv.u1 + IL_0031: ret + IL_0032: ldarg.0 + IL_0033: ldc.i4.s 0x30 + IL_0035: blt IL_0048 - IL_0137: ldloc.s 10 - IL_0139: ldloc.s 11 - IL_013b: ldelem.ref - IL_013c: stloc.s 9 - IL_013e: ldsfld class [mscorlib]System.Reflection.Emit.ModuleBuilder NDesk.DBus.TypeDefiner::modBdef - IL_0143: ldloc.s 9 - IL_0145: call class [mscorlib]System.Type class NDesk.DBus.TypeDefiner::DefineHandler(class [mscorlib]System.Reflection.Emit.ModuleBuilder, class NDesk.DBus.Introspection.Signal) - IL_014a: stloc.s 12 - IL_014c: ldarg.0 - IL_014d: ldloc.s 9 - IL_014f: ldfld string NDesk.DBus.Introspection.Member::Name - IL_0154: ldc.i4.0 - IL_0155: ldloc.s 12 - IL_0157: callvirt instance class [mscorlib]System.Reflection.Emit.EventBuilder class [mscorlib]System.Reflection.Emit.TypeBuilder::DefineEvent(string, valuetype [mscorlib]System.Reflection.EventAttributes, class [mscorlib]System.Type) - IL_015c: stloc.s 13 - IL_015e: ldloc.s 13 - IL_0160: ldarg.0 - IL_0161: ldstr "add_" - IL_0166: ldloc.s 9 - IL_0168: ldfld string NDesk.DBus.Introspection.Member::Name - IL_016d: call string string::Concat(string, string) - IL_0172: ldc.i4 3526 - IL_0177: ldnull - IL_0178: ldc.i4.1 - IL_0179: newarr [mscorlib]System.Type - IL_017e: dup - IL_017f: ldc.i4.0 - IL_0180: ldloc.s 12 - IL_0182: stelem.ref - IL_0183: callvirt instance class [mscorlib]System.Reflection.Emit.MethodBuilder class [mscorlib]System.Reflection.Emit.TypeBuilder::DefineMethod(string, valuetype [mscorlib]System.Reflection.MethodAttributes, class [mscorlib]System.Type, class [mscorlib]System.Type[]) - IL_0188: callvirt instance void class [mscorlib]System.Reflection.Emit.EventBuilder::SetAddOnMethod(class [mscorlib]System.Reflection.Emit.MethodBuilder) - IL_018d: ldloc.s 13 - IL_018f: ldarg.0 - IL_0190: ldstr "remove_" - IL_0195: ldloc.s 9 - IL_0197: ldfld string NDesk.DBus.Introspection.Member::Name - IL_019c: call string string::Concat(string, string) - IL_01a1: ldc.i4 3526 - IL_01a6: ldnull - IL_01a7: ldc.i4.1 - IL_01a8: newarr [mscorlib]System.Type - IL_01ad: dup - IL_01ae: ldc.i4.0 - IL_01af: ldloc.s 12 - IL_01b1: stelem.ref - IL_01b2: callvirt instance class [mscorlib]System.Reflection.Emit.MethodBuilder class [mscorlib]System.Reflection.Emit.TypeBuilder::DefineMethod(string, valuetype [mscorlib]System.Reflection.MethodAttributes, class [mscorlib]System.Type, class [mscorlib]System.Type[]) - IL_01b7: callvirt instance void class [mscorlib]System.Reflection.Emit.EventBuilder::SetRemoveOnMethod(class [mscorlib]System.Reflection.Emit.MethodBuilder) - IL_01bc: ldloc.s 11 - IL_01be: ldc.i4.1 - IL_01bf: add - IL_01c0: stloc.s 11 - IL_01c2: ldloc.s 11 - IL_01c4: ldloc.s 10 - IL_01c6: ldlen - IL_01c7: conv.i4 - IL_01c8: blt IL_0137 + IL_003a: ldarg.0 + IL_003b: ldc.i4.s 0x39 + IL_003d: bgt IL_0048 - IL_01cd: ldtoken NDesk.DBus.InterfaceAttribute - IL_01d2: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_01d7: ldc.i4.1 - IL_01d8: newarr [mscorlib]System.Type - IL_01dd: dup - IL_01de: ldc.i4.0 - IL_01df: ldtoken [mscorlib]System.String - IL_01e4: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_01e9: stelem.ref - IL_01ea: callvirt instance class [mscorlib]System.Reflection.ConstructorInfo class [mscorlib]System.Type::GetConstructor(class [mscorlib]System.Type[]) - IL_01ef: stloc.s 14 - IL_01f1: ldloc.s 14 - IL_01f3: ldc.i4.1 - IL_01f4: newarr [mscorlib]System.Object - IL_01f9: dup - IL_01fa: ldc.i4.0 - IL_01fb: ldarg.1 - IL_01fc: ldfld string NDesk.DBus.Introspection.Interface::Name - IL_0201: stelem.ref - IL_0202: newobj instance void class [mscorlib]System.Reflection.Emit.CustomAttributeBuilder::'.ctor'(class [mscorlib]System.Reflection.ConstructorInfo, object[]) - IL_0207: stloc.s 15 - IL_0209: ldarg.0 - IL_020a: ldloc.s 15 - IL_020c: callvirt instance void class [mscorlib]System.Reflection.Emit.TypeBuilder::SetCustomAttribute(class [mscorlib]System.Reflection.Emit.CustomAttributeBuilder) - IL_0211: ret - } // end of method TypeDefiner::Define + IL_0042: ldarg.0 + IL_0043: ldc.i4.s 0x30 + IL_0045: sub + IL_0046: conv.u1 + IL_0047: ret + IL_0048: ldstr "Invalid hex char" + IL_004d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0052: throw + } // end of method MessageDumper::FromHexChar - // method line 801 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + // method line 799 + .method private static hidebysig + default bool ReadFromHex (class [mscorlib]System.IO.Stream ms, string hex) cil managed { - // Method begins at RVA 0x955a - // Code size 1 (0x1) - .maxstack 8 - IL_0000: ret - } // end of method TypeDefiner::.cctor + // Method begins at RVA 0x8e0c + // Code size 140 (0x8c) + .maxstack 5 + .locals init ( + int32 V_0, + unsigned int8 V_1) + IL_0000: ldarg.1 + IL_0001: ldstr "#" + IL_0006: callvirt instance bool string::StartsWith(string) + IL_000b: brfalse IL_0012 - } // end of class NDesk.DBus.TypeDefiner -} + IL_0010: ldc.i4.1 + IL_0011: ret + IL_0012: ldc.i4.0 + IL_0013: stloc.0 + IL_0014: br IL_0078 -.namespace NDesk.DBus -{ - .class private auto ansi beforefieldinit MethodCall - extends [mscorlib]System.Object - { - .field public class NDesk.DBus.Message message - .field public class NDesk.DBus.ObjectPath Path - .field public string Interface - .field public string Member - .field public string Destination - .field public string Sender - .field public valuetype NDesk.DBus.Signature Signature + IL_0019: ldarg.1 + IL_001a: ldloc.0 + IL_001b: callvirt instance char string::get_Chars(int32) + IL_0020: call bool char::IsWhiteSpace(char) + IL_0025: brfalse IL_0033 - // method line 802 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NDesk.DBus.ObjectPath path, string 'interface', string member, string destination, valuetype NDesk.DBus.Signature signature) cil managed - { - // Method begins at RVA 0x955c - // Code size 133 (0x85) - .maxstack 3 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NDesk.DBus.Message::'.ctor'() - IL_0006: stfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message - IL_000b: ldarg.0 - IL_000c: call instance void object::'.ctor'() - IL_0011: ldarg.0 - IL_0012: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message - IL_0017: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_001c: ldc.i4.1 - IL_001d: stfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType - IL_0022: ldarg.0 - IL_0023: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message - IL_0028: ldc.i4.1 - IL_0029: callvirt instance void class NDesk.DBus.Message::set_ReplyExpected(bool) - IL_002e: ldarg.0 - IL_002f: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message - IL_0034: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0039: ldc.i4.1 - IL_003a: ldarg.1 - IL_003b: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) - IL_0040: ldarg.0 - IL_0041: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message - IL_0046: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_004b: ldc.i4.2 - IL_004c: ldarg.2 - IL_004d: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) - IL_0052: ldarg.0 - IL_0053: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message - IL_0058: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_005d: ldc.i4.3 - IL_005e: ldarg.3 - IL_005f: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) - IL_0064: ldarg.0 - IL_0065: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message - IL_006a: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_006f: ldc.i4.6 - IL_0070: ldarg.s 4 - IL_0072: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) - IL_0077: ldarg.0 - IL_0078: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message - IL_007d: ldarg.s 5 - IL_007f: callvirt instance void class NDesk.DBus.Message::set_Signature(valuetype NDesk.DBus.Signature) - IL_0084: ret - } // end of method MethodCall::.ctor + IL_002a: ldloc.0 + IL_002b: ldc.i4.1 + IL_002c: add + IL_002d: stloc.0 + IL_002e: br IL_0078 - // method line 803 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NDesk.DBus.Message message) cil managed - { - // Method begins at RVA 0x95f0 - // Code size 152 (0x98) - .maxstack 3 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NDesk.DBus.Message::'.ctor'() - IL_0006: stfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message - IL_000b: ldarg.0 - IL_000c: call instance void object::'.ctor'() - IL_0011: ldarg.0 - IL_0012: ldarg.1 - IL_0013: stfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message - IL_0018: ldarg.0 - IL_0019: ldarg.1 - IL_001a: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_001f: ldc.i4.1 - IL_0020: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) - IL_0025: castclass NDesk.DBus.ObjectPath - IL_002a: stfld class NDesk.DBus.ObjectPath NDesk.DBus.MethodCall::Path - IL_002f: ldarg.0 - IL_0030: ldarg.1 - IL_0031: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0036: ldc.i4.2 - IL_0037: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) - IL_003c: castclass [mscorlib]System.String - IL_0041: stfld string NDesk.DBus.MethodCall::Interface - IL_0046: ldarg.0 - IL_0047: ldarg.1 - IL_0048: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_004d: ldc.i4.3 - IL_004e: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) - IL_0053: castclass [mscorlib]System.String - IL_0058: stfld string NDesk.DBus.MethodCall::Member - IL_005d: ldarg.0 + IL_0033: ldarg.1 + IL_0034: ldloc.0 + IL_0035: callvirt instance char string::get_Chars(int32) + IL_003a: ldc.i4.s 0x2e + IL_003c: bne.un IL_0049 + + IL_0041: ldarg.0 + IL_0042: callvirt instance void class [mscorlib]System.IO.Stream::Flush() + IL_0047: ldc.i4.0 + IL_0048: ret + IL_0049: ldarg.1 + IL_004a: ldloc.0 + IL_004b: dup + IL_004c: ldc.i4.1 + IL_004d: add + IL_004e: stloc.0 + IL_004f: callvirt instance char string::get_Chars(int32) + IL_0054: call unsigned int8 class NDesk.DBus.MessageDumper::FromHexChar(char) + IL_0059: ldc.i4.4 + IL_005a: shl + IL_005b: conv.u1 + IL_005c: stloc.1 + IL_005d: ldloc.1 IL_005e: ldarg.1 - IL_005f: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0064: ldc.i4.6 - IL_0065: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) - IL_006a: castclass [mscorlib]System.String - IL_006f: stfld string NDesk.DBus.MethodCall::Destination - IL_0074: ldarg.0 - IL_0075: ldarg.1 - IL_0076: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_007b: ldc.i4.7 - IL_007c: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) - IL_0081: castclass [mscorlib]System.String - IL_0086: stfld string NDesk.DBus.MethodCall::Sender - IL_008b: ldarg.0 - IL_008c: ldarg.1 - IL_008d: callvirt instance valuetype NDesk.DBus.Signature class NDesk.DBus.Message::get_Signature() - IL_0092: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MethodCall::Signature - IL_0097: ret - } // end of method MethodCall::.ctor + IL_005f: ldloc.0 + IL_0060: dup + IL_0061: ldc.i4.1 + IL_0062: add + IL_0063: stloc.0 + IL_0064: callvirt instance char string::get_Chars(int32) + IL_0069: call unsigned int8 class NDesk.DBus.MessageDumper::FromHexChar(char) + IL_006e: add + IL_006f: conv.u1 + IL_0070: stloc.1 + IL_0071: ldarg.0 + IL_0072: ldloc.1 + IL_0073: callvirt instance void class [mscorlib]System.IO.Stream::WriteByte(unsigned int8) + IL_0078: ldloc.0 + IL_0079: ldarg.1 + IL_007a: callvirt instance int32 string::get_Length() + IL_007f: blt IL_0019 - // method line 804 - .method public hidebysig - instance default class NDesk.DBus.Error CreateError (string errorName, string errorMessage) cil managed - { - // Method begins at RVA 0x9694 - // Code size 87 (0x57) - .maxstack 2 - .locals init ( - class NDesk.DBus.Error V_0, - class NDesk.DBus.MessageWriter V_1) - IL_0000: ldarg.1 - IL_0001: ldarg.0 - IL_0002: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message - IL_0007: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_000c: ldfld unsigned int32 NDesk.DBus.Header::Serial - IL_0011: newobj instance void class NDesk.DBus.Error::'.ctor'(string, unsigned int32) - IL_0016: stloc.0 - IL_0017: ldloc.0 - IL_0018: ldfld class NDesk.DBus.Message NDesk.DBus.Error::message - IL_001d: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::StringSig - IL_0022: callvirt instance void class NDesk.DBus.Message::set_Signature(valuetype NDesk.DBus.Signature) - IL_0027: ldarg.0 - IL_0028: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message - IL_002d: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0032: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Header::Endianness - IL_0037: newobj instance void class NDesk.DBus.MessageWriter::'.ctor'(valuetype NDesk.DBus.EndianFlag) - IL_003c: stloc.1 - IL_003d: ldloc.1 - IL_003e: ldarg.2 - IL_003f: callvirt instance void class NDesk.DBus.MessageWriter::Write(string) - IL_0044: ldloc.0 - IL_0045: ldfld class NDesk.DBus.Message NDesk.DBus.Error::message - IL_004a: ldloc.1 - IL_004b: callvirt instance unsigned int8[] class NDesk.DBus.MessageWriter::ToArray() - IL_0050: stfld unsigned int8[] NDesk.DBus.Message::Body - IL_0055: ldloc.0 - IL_0056: ret - } // end of method MethodCall::CreateError + IL_0084: ldarg.0 + IL_0085: callvirt instance void class [mscorlib]System.IO.Stream::Flush() + IL_008a: ldc.i4.1 + IL_008b: ret + } // end of method MessageDumper::ReadFromHex - } // end of class NDesk.DBus.MethodCall + } // end of class NDesk.DBus.MessageDumper } -.namespace NDesk.DBus +.namespace NDesk.DBus.Transports { - .class private auto ansi beforefieldinit MethodReturn - extends [mscorlib]System.Object + .class private auto ansi abstract beforefieldinit UnixTransport + extends NDesk.DBus.Transports.Transport { - .field public class NDesk.DBus.Message message - .field public unsigned int32 ReplySerial - - // method line 805 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (unsigned int32 reply_serial) cil managed - { - // Method begins at RVA 0x96f8 - // Code size 75 (0x4b) - .maxstack 3 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NDesk.DBus.Message::'.ctor'() - IL_0006: stfld class NDesk.DBus.Message NDesk.DBus.MethodReturn::message - IL_000b: ldarg.0 - IL_000c: call instance void object::'.ctor'() - IL_0011: ldarg.0 - IL_0012: ldfld class NDesk.DBus.Message NDesk.DBus.MethodReturn::message - IL_0017: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_001c: ldc.i4.2 - IL_001d: stfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType - IL_0022: ldarg.0 - IL_0023: ldfld class NDesk.DBus.Message NDesk.DBus.MethodReturn::message - IL_0028: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_002d: ldc.i4.3 - IL_002e: stfld valuetype NDesk.DBus.HeaderFlag NDesk.DBus.Header::Flags - IL_0033: ldarg.0 - IL_0034: ldfld class NDesk.DBus.Message NDesk.DBus.MethodReturn::message - IL_0039: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_003e: ldc.i4.5 - IL_003f: ldarg.1 - IL_0040: box [mscorlib]System.UInt32 - IL_0045: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) - IL_004a: ret - } // end of method MethodReturn::.ctor - // method line 806 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NDesk.DBus.Message message) cil managed + // method line 800 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x974f - // Code size 48 (0x30) + // Method begins at RVA 0x98ab + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: newobj instance void class NDesk.DBus.Message::'.ctor'() - IL_0006: stfld class NDesk.DBus.Message NDesk.DBus.MethodReturn::message - IL_000b: ldarg.0 - IL_000c: call instance void object::'.ctor'() - IL_0011: ldarg.0 - IL_0012: ldarg.1 - IL_0013: stfld class NDesk.DBus.Message NDesk.DBus.MethodReturn::message - IL_0018: ldarg.0 - IL_0019: ldarg.1 - IL_001a: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_001f: ldc.i4.5 - IL_0020: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) - IL_0025: unbox.any [mscorlib]System.UInt32 - IL_002a: stfld unsigned int32 NDesk.DBus.MethodReturn::ReplySerial - IL_002f: ret - } // end of method MethodReturn::.ctor - - } // end of class NDesk.DBus.MethodReturn -} - -.namespace NDesk.DBus -{ - .class private auto ansi beforefieldinit Error - extends [mscorlib]System.Object - { - .field public class NDesk.DBus.Message message - .field public string ErrorName - .field public unsigned int32 ReplySerial + IL_0001: call instance void class NDesk.DBus.Transports.Transport::'.ctor'() + IL_0006: ret + } // end of method UnixTransport::.ctor - // method line 807 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string error_name, unsigned int32 reply_serial) cil managed + // method line 801 + .method public virtual hidebysig + instance default void Open (class NDesk.DBus.AddressEntry entry) cil managed { - // Method begins at RVA 0x9780 - // Code size 93 (0x5d) + // Method begins at RVA 0x98b4 + // Code size 80 (0x50) .maxstack 3 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NDesk.DBus.Message::'.ctor'() - IL_0006: stfld class NDesk.DBus.Message NDesk.DBus.Error::message - IL_000b: ldarg.0 - IL_000c: call instance void object::'.ctor'() - IL_0011: ldarg.0 - IL_0012: ldfld class NDesk.DBus.Message NDesk.DBus.Error::message - IL_0017: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_001c: ldc.i4.3 - IL_001d: stfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType - IL_0022: ldarg.0 - IL_0023: ldfld class NDesk.DBus.Message NDesk.DBus.Error::message - IL_0028: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_002d: ldc.i4.3 - IL_002e: stfld valuetype NDesk.DBus.HeaderFlag NDesk.DBus.Header::Flags - IL_0033: ldarg.0 - IL_0034: ldfld class NDesk.DBus.Message NDesk.DBus.Error::message - IL_0039: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_003e: ldc.i4.4 - IL_003f: ldarg.1 - IL_0040: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) - IL_0045: ldarg.0 - IL_0046: ldfld class NDesk.DBus.Message NDesk.DBus.Error::message - IL_004b: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0050: ldc.i4.5 - IL_0051: ldarg.2 - IL_0052: box [mscorlib]System.UInt32 - IL_0057: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) - IL_005c: ret - } // end of method Error::.ctor + .locals init ( + string V_0, + bool V_1) + IL_0000: ldarg.1 + IL_0001: ldfld class [mscorlib]System.Collections.Generic.IDictionary`2 NDesk.DBus.AddressEntry::Properties + IL_0006: ldstr "path" + IL_000b: ldloca.s 0 + IL_000d: callvirt instance bool class [mscorlib]System.Collections.Generic.IDictionary`2::TryGetValue(!0, [out] !1&) + IL_0012: brfalse IL_001e - // method line 808 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NDesk.DBus.Message message) cil managed - { - // Method begins at RVA 0x97ec - // Code size 71 (0x47) - .maxstack 3 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NDesk.DBus.Message::'.ctor'() - IL_0006: stfld class NDesk.DBus.Message NDesk.DBus.Error::message - IL_000b: ldarg.0 - IL_000c: call instance void object::'.ctor'() - IL_0011: ldarg.0 - IL_0012: ldarg.1 - IL_0013: stfld class NDesk.DBus.Message NDesk.DBus.Error::message - IL_0018: ldarg.0 - IL_0019: ldarg.1 - IL_001a: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_001f: ldc.i4.4 - IL_0020: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) - IL_0025: castclass [mscorlib]System.String - IL_002a: stfld string NDesk.DBus.Error::ErrorName - IL_002f: ldarg.0 - IL_0030: ldarg.1 - IL_0031: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0036: ldc.i4.5 - IL_0037: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) - IL_003c: unbox.any [mscorlib]System.UInt32 - IL_0041: stfld unsigned int32 NDesk.DBus.Error::ReplySerial - IL_0046: ret - } // end of method Error::.ctor + IL_0017: ldc.i4.0 + IL_0018: stloc.1 + IL_0019: br IL_0047 - } // end of class NDesk.DBus.Error -} + IL_001e: ldarg.1 + IL_001f: ldfld class [mscorlib]System.Collections.Generic.IDictionary`2 NDesk.DBus.AddressEntry::Properties + IL_0024: ldstr "abstract" + IL_0029: ldloca.s 0 + IL_002b: callvirt instance bool class [mscorlib]System.Collections.Generic.IDictionary`2::TryGetValue(!0, [out] !1&) + IL_0030: brfalse IL_003c -.namespace NDesk.DBus -{ - .class private auto ansi beforefieldinit Signal - extends [mscorlib]System.Object - { - .field public class NDesk.DBus.Message message - .field public class NDesk.DBus.ObjectPath Path - .field public string Interface - .field public string Member - .field public string Sender + IL_0035: ldc.i4.1 + IL_0036: stloc.1 + IL_0037: br IL_0047 - // method line 809 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NDesk.DBus.ObjectPath path, string 'interface', string member) cil managed - { - // Method begins at RVA 0x9840 - // Code size 106 (0x6a) - .maxstack 3 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NDesk.DBus.Message::'.ctor'() - IL_0006: stfld class NDesk.DBus.Message NDesk.DBus.Signal::message - IL_000b: ldarg.0 - IL_000c: call instance void object::'.ctor'() - IL_0011: ldarg.0 - IL_0012: ldfld class NDesk.DBus.Message NDesk.DBus.Signal::message - IL_0017: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_001c: ldc.i4.4 - IL_001d: stfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType - IL_0022: ldarg.0 - IL_0023: ldfld class NDesk.DBus.Message NDesk.DBus.Signal::message - IL_0028: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_002d: ldc.i4.3 - IL_002e: stfld valuetype NDesk.DBus.HeaderFlag NDesk.DBus.Header::Flags - IL_0033: ldarg.0 - IL_0034: ldfld class NDesk.DBus.Message NDesk.DBus.Signal::message - IL_0039: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_003e: ldc.i4.1 - IL_003f: ldarg.1 - IL_0040: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) - IL_0045: ldarg.0 - IL_0046: ldfld class NDesk.DBus.Message NDesk.DBus.Signal::message - IL_004b: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0050: ldc.i4.2 - IL_0051: ldarg.2 - IL_0052: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) - IL_0057: ldarg.0 - IL_0058: ldfld class NDesk.DBus.Message NDesk.DBus.Signal::message - IL_005d: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0062: ldc.i4.3 - IL_0063: ldarg.3 - IL_0064: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) - IL_0069: ret - } // end of method Signal::.ctor + IL_003c: ldstr "No path specified for UNIX transport" + IL_0041: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0046: throw + IL_0047: ldarg.0 + IL_0048: ldloc.0 + IL_0049: ldloc.1 + IL_004a: callvirt instance void class NDesk.DBus.Transports.UnixTransport::Open(string, bool) + IL_004f: ret + } // end of method UnixTransport::Open - // method line 810 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NDesk.DBus.Message message) cil managed + // method line 802 + .method public virtual hidebysig newslot abstract + instance default void Open (string path, bool 'abstract') cil managed { - // Method begins at RVA 0x98b8 - // Code size 117 (0x75) - .maxstack 3 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NDesk.DBus.Message::'.ctor'() - IL_0006: stfld class NDesk.DBus.Message NDesk.DBus.Signal::message - IL_000b: ldarg.0 - IL_000c: call instance void object::'.ctor'() - IL_0011: ldarg.0 - IL_0012: ldarg.1 - IL_0013: stfld class NDesk.DBus.Message NDesk.DBus.Signal::message - IL_0018: ldarg.0 - IL_0019: ldarg.1 - IL_001a: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_001f: ldc.i4.1 - IL_0020: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) - IL_0025: castclass NDesk.DBus.ObjectPath - IL_002a: stfld class NDesk.DBus.ObjectPath NDesk.DBus.Signal::Path - IL_002f: ldarg.0 - IL_0030: ldarg.1 - IL_0031: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0036: ldc.i4.2 - IL_0037: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) - IL_003c: castclass [mscorlib]System.String - IL_0041: stfld string NDesk.DBus.Signal::Interface - IL_0046: ldarg.0 - IL_0047: ldarg.1 - IL_0048: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_004d: ldc.i4.3 - IL_004e: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) - IL_0053: castclass [mscorlib]System.String - IL_0058: stfld string NDesk.DBus.Signal::Member - IL_005d: ldarg.0 - IL_005e: ldarg.1 - IL_005f: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0064: ldc.i4.7 - IL_0065: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) - IL_006a: castclass [mscorlib]System.String - IL_006f: stfld string NDesk.DBus.Signal::Sender - IL_0074: ret - } // end of method Signal::.ctor + // Method begins at RVA 0x0 + } // end of method UnixTransport::Open - } // end of class NDesk.DBus.Signal + } // end of class NDesk.DBus.Transports.UnixTransport } .namespace NDesk.DBus.Transports @@ -20653,11 +19338,11 @@ { .field assembly class [System]System.Net.Sockets.Socket socket - // method line 811 + // method line 803 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xa33f + // Method begins at RVA 0x9910 // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 @@ -20665,11 +19350,11 @@ IL_0006: ret } // end of method SocketTransport::.ctor - // method line 812 + // method line 804 .method public virtual hidebysig instance default void Open (class NDesk.DBus.AddressEntry entry) cil managed { - // Method begins at RVA 0xa348 + // Method begins at RVA 0x9918 // Code size 138 (0x8a) .maxstack 4 .locals init ( @@ -20725,11 +19410,11 @@ IL_0089: ret } // end of method SocketTransport::Open - // method line 813 + // method line 805 .method public hidebysig instance default void Open (string host, int32 port, string 'family') cil managed { - // Method begins at RVA 0xa3e0 + // Method begins at RVA 0x99b0 // Code size 55 (0x37) .maxstack 2 .locals init ( @@ -20755,11 +19440,11 @@ IL_0036: ret } // end of method SocketTransport::Open - // method line 814 + // method line 806 .method public hidebysig instance default void Open (class [System]System.Net.Sockets.Socket socket) cil managed { - // Method begins at RVA 0xa423 + // Method begins at RVA 0x99f3 // Code size 44 (0x2c) .maxstack 8 IL_0000: ldarg.0 @@ -20780,11 +19465,11 @@ IL_002b: ret } // end of method SocketTransport::Open - // method line 815 + // method line 807 .method public virtual hidebysig instance default void WriteCred () cil managed { - // Method begins at RVA 0xa450 + // Method begins at RVA 0x9a20 // Code size 13 (0xd) .maxstack 8 IL_0000: ldarg.0 @@ -20794,11 +19479,11 @@ IL_000c: ret } // end of method SocketTransport::WriteCred - // method line 816 + // method line 808 .method public virtual hidebysig instance default string AuthString () cil managed { - // Method begins at RVA 0xa45e + // Method begins at RVA 0x9a2e // Code size 6 (0x6) .maxstack 8 IL_0000: ldsfld string [mscorlib]System.String::Empty @@ -20808,806 +19493,147 @@ } // end of class NDesk.DBus.Transports.SocketTransport } -.namespace NDesk.DBus.Introspection -{ - .class private auto ansi beforefieldinit Member - extends [mscorlib]System.Object - { - .custom instance void class [System.Xml]System.Xml.Serialization.XmlRootAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 49 73 4E 75 6C 6C 61 62 6C // ....T..IsNullabl - 65 01 ) // e. - - .field public string Name - .custom instance void class [System.Xml]System.Xml.Serialization.XmlAttributeAttribute::'.ctor'(string) = (01 00 04 6E 61 6D 65 00 00 ) // ...name.. - - - // method line 817 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xa465 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method Member::.ctor - - } // end of class NDesk.DBus.Introspection.Member -} - -.namespace NDesk.DBus.Introspection -{ - .class private auto ansi beforefieldinit Node - extends [mscorlib]System.Object - { - .custom instance void class [System.Xml]System.Xml.Serialization.XmlRootAttribute::'.ctor'(string) = ( - 01 00 04 6E 6F 64 65 01 00 54 02 0A 49 73 4E 75 // ...node..T..IsNu - 6C 6C 61 62 6C 65 01 ) // llable. - - .field public string Name - .custom instance void class [System.Xml]System.Xml.Serialization.XmlAttributeAttribute::'.ctor'(string) = (01 00 04 6E 61 6D 65 00 00 ) // ...name.. - - .field public class NDesk.DBus.Introspection.Interface[] Interfaces - .custom instance void class [System.Xml]System.Xml.Serialization.XmlElementAttribute::'.ctor'(string) = ( - 01 00 09 69 6E 74 65 72 66 61 63 65 01 00 54 50 // ...interface..TP - 04 54 79 70 65 22 4E 44 65 73 6B 2E 44 42 75 73 // .Type"NDesk.DBus - 2E 49 6E 74 72 6F 73 70 65 63 74 69 6F 6E 2E 49 // .Introspection.I - 6E 74 65 72 66 61 63 65 ) // nterface - - .field public class NDesk.DBus.Introspection.Node[] Nodes - .custom instance void class [System.Xml]System.Xml.Serialization.XmlElementAttribute::'.ctor'(string) = ( - 01 00 04 6E 6F 64 65 01 00 54 50 04 54 79 70 65 // ...node..TP.Type - 1D 4E 44 65 73 6B 2E 44 42 75 73 2E 49 6E 74 72 // .NDesk.DBus.Intr - 6F 73 70 65 63 74 69 6F 6E 2E 4E 6F 64 65 ) // ospection.Node - - - // method line 818 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xa46d - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method Node::.ctor - - } // end of class NDesk.DBus.Introspection.Node -} - -.namespace NDesk.DBus.Introspection -{ - .class private auto ansi beforefieldinit Interface - extends [mscorlib]System.Object - { - .custom instance void class [System.Xml]System.Xml.Serialization.XmlRootAttribute::'.ctor'(string) = ( - 01 00 09 69 6E 74 65 72 66 61 63 65 01 00 54 02 // ...interface..T. - 0A 49 73 4E 75 6C 6C 61 62 6C 65 01 ) // .IsNullable. - - .field public string Name - .custom instance void class [System.Xml]System.Xml.Serialization.XmlAttributeAttribute::'.ctor'(string) = (01 00 04 6E 61 6D 65 00 00 ) // ...name.. - - .field public class NDesk.DBus.Introspection.Method[] Methods - .custom instance void class [System.Xml]System.Xml.Serialization.XmlElementAttribute::'.ctor'(string) = ( - 01 00 06 6D 65 74 68 6F 64 01 00 54 50 04 54 79 // ...method..TP.Ty - 70 65 1F 4E 44 65 73 6B 2E 44 42 75 73 2E 49 6E // pe.NDesk.DBus.In - 74 72 6F 73 70 65 63 74 69 6F 6E 2E 4D 65 74 68 // trospection.Meth - 6F 64 ) // od - - .field public class NDesk.DBus.Introspection.Signal[] Signals - .custom instance void class [System.Xml]System.Xml.Serialization.XmlElementAttribute::'.ctor'(string) = ( - 01 00 06 73 69 67 6E 61 6C 01 00 54 50 04 54 79 // ...signal..TP.Ty - 70 65 1F 4E 44 65 73 6B 2E 44 42 75 73 2E 49 6E // pe.NDesk.DBus.In - 74 72 6F 73 70 65 63 74 69 6F 6E 2E 53 69 67 6E // trospection.Sign - 61 6C ) // al - - .field public class NDesk.DBus.Introspection.Property[] Properties - .custom instance void class [System.Xml]System.Xml.Serialization.XmlElementAttribute::'.ctor'(string) = ( - 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 50 04 // ...property..TP. - 54 79 70 65 21 4E 44 65 73 6B 2E 44 42 75 73 2E // Type!NDesk.DBus. - 49 6E 74 72 6F 73 70 65 63 74 69 6F 6E 2E 50 72 // Introspection.Pr - 6F 70 65 72 74 79 ) // operty - - - // method line 819 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xa475 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method Interface::.ctor - - } // end of class NDesk.DBus.Introspection.Interface -} - -.namespace NDesk.DBus.Introspection -{ - .class private auto ansi beforefieldinit Method - extends NDesk.DBus.Introspection.Member - { - .custom instance void class [System.Xml]System.Xml.Serialization.XmlRootAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 49 73 4E 75 6C 6C 61 62 6C // ....T..IsNullabl - 65 01 ) // e. - - .field public class NDesk.DBus.Introspection.Argument[] Arguments - .custom instance void class [System.Xml]System.Xml.Serialization.XmlElementAttribute::'.ctor'(string) = ( - 01 00 03 61 72 67 01 00 54 50 04 54 79 70 65 21 // ...arg..TP.Type! - 4E 44 65 73 6B 2E 44 42 75 73 2E 49 6E 74 72 6F // NDesk.DBus.Intro - 73 70 65 63 74 69 6F 6E 2E 41 72 67 75 6D 65 6E // spection.Argumen - 74 ) // t - - - // method line 820 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xa47d - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NDesk.DBus.Introspection.Member::'.ctor'() - IL_0006: ret - } // end of method Method::.ctor - - } // end of class NDesk.DBus.Introspection.Method -} - -.namespace NDesk.DBus.Introspection -{ - .class private auto ansi beforefieldinit Argument - extends [mscorlib]System.Object - { - .custom instance void class [System.Xml]System.Xml.Serialization.XmlRootAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 49 73 4E 75 6C 6C 61 62 6C // ....T..IsNullabl - 65 01 ) // e. - - .field public string Name - .custom instance void class [System.Xml]System.Xml.Serialization.XmlAttributeAttribute::'.ctor'(string) = (01 00 04 6E 61 6D 65 00 00 ) // ...name.. - - .field public string Type - .custom instance void class [System.Xml]System.Xml.Serialization.XmlAttributeAttribute::'.ctor'(string) = (01 00 04 74 79 70 65 00 00 ) // ...type.. - - .field public valuetype NDesk.DBus.Introspection.ArgDirection Direction - .custom instance void class [System]System.ComponentModel.DefaultValueAttribute::'.ctor'(object) = ( - 01 00 55 25 4E 44 65 73 6B 2E 44 42 75 73 2E 49 // ..U%NDesk.DBus.I - 6E 74 72 6F 73 70 65 63 74 69 6F 6E 2E 41 72 67 // ntrospection.Arg - 44 69 72 65 63 74 69 6F 6E 00 00 00 00 00 00 ) // Direction...... - - .custom instance void class [System.Xml]System.Xml.Serialization.XmlAttributeAttribute::'.ctor'(string) = (01 00 09 64 69 72 65 63 74 69 6F 6E 00 00 ) // ...direction.. - - - // method line 821 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xa485 - // Code size 18 (0x12) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldsfld string [mscorlib]System.String::Empty - IL_0006: stfld string NDesk.DBus.Introspection.Argument::Name - IL_000b: ldarg.0 - IL_000c: call instance void object::'.ctor'() - IL_0011: ret - } // end of method Argument::.ctor - - } // end of class NDesk.DBus.Introspection.Argument -} - -.namespace NDesk.DBus.Introspection -{ - .class private auto ansi sealed ArgDirection - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NDesk.DBus.Introspection.ArgDirection 'in' = int32(0x00000000) - .field public static literal valuetype NDesk.DBus.Introspection.ArgDirection 'out' = int32(0x00000001) - - } // end of class NDesk.DBus.Introspection.ArgDirection -} - -.namespace NDesk.DBus.Introspection -{ - .class private auto ansi beforefieldinit Annotation - extends [mscorlib]System.Object - { - .custom instance void class [System.Xml]System.Xml.Serialization.XmlRootAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 49 73 4E 75 6C 6C 61 62 6C // ....T..IsNullabl - 65 01 ) // e. - - .field public string Name - .custom instance void class [System.Xml]System.Xml.Serialization.XmlAttributeAttribute::'.ctor'(string) = (01 00 04 6E 61 6D 65 00 00 ) // ...name.. - - .field public string Value - .custom instance void class [System.Xml]System.Xml.Serialization.XmlAttributeAttribute::'.ctor'(string) = (01 00 05 76 61 6C 75 65 00 00 ) // ...value.. - - - // method line 822 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xa498 - // Code size 29 (0x1d) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldsfld string [mscorlib]System.String::Empty - IL_0006: stfld string NDesk.DBus.Introspection.Annotation::Name - IL_000b: ldarg.0 - IL_000c: ldsfld string [mscorlib]System.String::Empty - IL_0011: stfld string NDesk.DBus.Introspection.Annotation::Value - IL_0016: ldarg.0 - IL_0017: call instance void object::'.ctor'() - IL_001c: ret - } // end of method Annotation::.ctor - - } // end of class NDesk.DBus.Introspection.Annotation -} - -.namespace NDesk.DBus.Introspection +.namespace NDesk.DBus.Transports { - .class private auto ansi beforefieldinit Signal - extends NDesk.DBus.Introspection.Method + .class private auto ansi beforefieldinit UnixMonoTransport + extends NDesk.DBus.Transports.UnixTransport { - .custom instance void class [System.Xml]System.Xml.Serialization.XmlRootAttribute::'.ctor'(string) = ( - 01 00 06 73 69 67 6E 61 6C 01 00 54 02 0A 49 73 // ...signal..T..Is - 4E 75 6C 6C 61 62 6C 65 01 ) // Nullable. - + .field family class [System]System.Net.Sockets.Socket socket - // method line 823 + // method line 809 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xa4b6 + // Method begins at RVA 0x9a35 // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NDesk.DBus.Introspection.Method::'.ctor'() + IL_0001: call instance void class NDesk.DBus.Transports.UnixTransport::'.ctor'() IL_0006: ret - } // end of method Signal::.ctor - - } // end of class NDesk.DBus.Introspection.Signal -} - -.namespace NDesk.DBus.Introspection -{ - .class private auto ansi beforefieldinit Property - extends NDesk.DBus.Introspection.Member - { - .custom instance void class [System.Xml]System.Xml.Serialization.XmlRootAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 49 73 4E 75 6C 6C 61 62 6C // ....T..IsNullabl - 65 01 ) // e. - - .field public string Type - .custom instance void class [System.Xml]System.Xml.Serialization.XmlAttributeAttribute::'.ctor'(string) = (01 00 04 74 79 70 65 00 00 ) // ...type.. - - .field public valuetype NDesk.DBus.Introspection.propertyAccess Access - .custom instance void class [System.Xml]System.Xml.Serialization.XmlAttributeAttribute::'.ctor'(string) = (01 00 06 61 63 63 65 73 73 00 00 ) // ...access.. - - .field public class NDesk.DBus.Introspection.Annotation[] Annotations - .custom instance void class [System.Xml]System.Xml.Serialization.XmlElementAttribute::'.ctor'(string) = (01 00 0A 61 6E 6E 6F 74 61 74 69 6F 6E 00 00 ) // ...annotation.. - - - // method line 824 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xa4be - // Code size 18 (0x12) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldsfld string [mscorlib]System.String::Empty - IL_0006: stfld string NDesk.DBus.Introspection.Property::Type - IL_000b: ldarg.0 - IL_000c: call instance void class NDesk.DBus.Introspection.Member::'.ctor'() - IL_0011: ret - } // end of method Property::.ctor - - } // end of class NDesk.DBus.Introspection.Property -} - -.namespace NDesk.DBus.Introspection -{ - .class private auto ansi sealed propertyAccess - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NDesk.DBus.Introspection.propertyAccess read = int32(0x00000000) - .field public static literal valuetype NDesk.DBus.Introspection.propertyAccess write = int32(0x00000001) - .field public static literal valuetype NDesk.DBus.Introspection.propertyAccess readwrite = int32(0x00000002) - - } // end of class NDesk.DBus.Introspection.propertyAccess -} - -.namespace NDesk.DBus -{ - .class private auto ansi sealed beforefieldinit Bus - extends NDesk.DBus.Connection - { - .field private static class NDesk.DBus.Bus systemBus - .field private static class NDesk.DBus.Bus sessionBus - .field private static class NDesk.DBus.Bus starterBus - .field private static class [mscorlib]System.Collections.Generic.Dictionary`2 buses - .field private class org.freedesktop.DBus.IBus bus - .field private static initonly string DBusName - .field private static initonly class NDesk.DBus.ObjectPath DBusPath - .field private string unique_name - - // method line 825 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string address) cil managed - { - // Method begins at RVA 0xa4d1 - // Code size 36 (0x24) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call instance void class NDesk.DBus.Connection::'.ctor'(string) - IL_0007: ldarg.0 - IL_0008: ldarg.0 - IL_0009: ldsfld string NDesk.DBus.Bus::DBusName - IL_000e: ldsfld class NDesk.DBus.ObjectPath NDesk.DBus.Bus::DBusPath - IL_0013: call instance !!0 class NDesk.DBus.Connection::GetObject (string, class NDesk.DBus.ObjectPath) - IL_0018: stfld class org.freedesktop.DBus.IBus NDesk.DBus.Bus::bus - IL_001d: ldarg.0 - IL_001e: call instance void class NDesk.DBus.Bus::Register() - IL_0023: ret - } // end of method Bus::.ctor - - // method line 826 - .method public static hidebysig specialname - default class NDesk.DBus.Bus get_System () cil managed - { - // Method begins at RVA 0xa4f8 - // Code size 84 (0x54) - .maxstack 2 - .locals init ( - class [mscorlib]System.Exception V_0) - IL_0000: ldsfld class NDesk.DBus.Bus NDesk.DBus.Bus::systemBus - IL_0005: brtrue IL_004e - - .try { // 0 - IL_000a: call string class NDesk.DBus.Address::get_StarterBusType() - IL_000f: ldstr "system" - IL_0014: call bool string::op_Equality(string, string) - IL_0019: brfalse IL_002d - - IL_001e: call class NDesk.DBus.Bus class NDesk.DBus.Bus::get_Starter() - IL_0023: stsfld class NDesk.DBus.Bus NDesk.DBus.Bus::systemBus - IL_0028: br IL_003c - - IL_002d: call string class NDesk.DBus.Address::get_System() - IL_0032: call class NDesk.DBus.Bus class NDesk.DBus.Bus::Open(string) - IL_0037: stsfld class NDesk.DBus.Bus NDesk.DBus.Bus::systemBus - IL_003c: leave IL_004e - - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0041: stloc.0 - IL_0042: ldstr "Unable to open the system message bus." - IL_0047: ldloc.0 - IL_0048: newobj instance void class [mscorlib]System.Exception::'.ctor'(string, class [mscorlib]System.Exception) - IL_004d: throw - } // end handler 0 - IL_004e: ldsfld class NDesk.DBus.Bus NDesk.DBus.Bus::systemBus - IL_0053: ret - } // end of method Bus::get_System - - // method line 827 - .method public static hidebysig specialname - default class NDesk.DBus.Bus get_Session () cil managed - { - // Method begins at RVA 0xa568 - // Code size 84 (0x54) - .maxstack 2 - .locals init ( - class [mscorlib]System.Exception V_0) - IL_0000: ldsfld class NDesk.DBus.Bus NDesk.DBus.Bus::sessionBus - IL_0005: brtrue IL_004e - - .try { // 0 - IL_000a: call string class NDesk.DBus.Address::get_StarterBusType() - IL_000f: ldstr "session" - IL_0014: call bool string::op_Equality(string, string) - IL_0019: brfalse IL_002d - - IL_001e: call class NDesk.DBus.Bus class NDesk.DBus.Bus::get_Starter() - IL_0023: stsfld class NDesk.DBus.Bus NDesk.DBus.Bus::sessionBus - IL_0028: br IL_003c - - IL_002d: call string class NDesk.DBus.Address::get_Session() - IL_0032: call class NDesk.DBus.Bus class NDesk.DBus.Bus::Open(string) - IL_0037: stsfld class NDesk.DBus.Bus NDesk.DBus.Bus::sessionBus - IL_003c: leave IL_004e - - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0041: stloc.0 - IL_0042: ldstr "Unable to open the session message bus." - IL_0047: ldloc.0 - IL_0048: newobj instance void class [mscorlib]System.Exception::'.ctor'(string, class [mscorlib]System.Exception) - IL_004d: throw - } // end handler 0 - IL_004e: ldsfld class NDesk.DBus.Bus NDesk.DBus.Bus::sessionBus - IL_0053: ret - } // end of method Bus::get_Session - - // method line 828 - .method public static hidebysig specialname - default class NDesk.DBus.Bus get_Starter () cil managed - { - // Method begins at RVA 0xa5d8 - // Code size 49 (0x31) - .maxstack 2 - .locals init ( - class [mscorlib]System.Exception V_0) - IL_0000: ldsfld class NDesk.DBus.Bus NDesk.DBus.Bus::starterBus - IL_0005: brtrue IL_002b - - .try { // 0 - IL_000a: call string class NDesk.DBus.Address::get_Starter() - IL_000f: call class NDesk.DBus.Bus class NDesk.DBus.Bus::Open(string) - IL_0014: stsfld class NDesk.DBus.Bus NDesk.DBus.Bus::starterBus - IL_0019: leave IL_002b - - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_001e: stloc.0 - IL_001f: ldstr "Unable to open the starter message bus." - IL_0024: ldloc.0 - IL_0025: newobj instance void class [mscorlib]System.Exception::'.ctor'(string, class [mscorlib]System.Exception) - IL_002a: throw - } // end handler 0 - IL_002b: ldsfld class NDesk.DBus.Bus NDesk.DBus.Bus::starterBus - IL_0030: ret - } // end of method Bus::get_Starter + } // end of method UnixMonoTransport::.ctor - // method line 829 - .method public static hidebysig - default class NDesk.DBus.Bus Open (string address) cil managed + // method line 810 + .method public virtual hidebysig + instance default void Open (string path, bool 'abstract') cil managed { - // Method begins at RVA 0xa628 - // Code size 58 (0x3a) + // Method begins at RVA 0x9a40 + // Code size 89 (0x59) .maxstack 3 - .locals init ( - class NDesk.DBus.Bus V_0) - IL_0000: ldarg.0 - IL_0001: brtrue IL_0011 + IL_0000: ldarg.2 + IL_0001: brfalse IL_0018 - IL_0006: ldstr "address" - IL_000b: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0010: throw - IL_0011: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Bus::buses - IL_0016: ldarg.0 - IL_0017: ldloca.s 0 - IL_0019: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) - IL_001e: brfalse IL_0025 + IL_0006: ldarg.0 + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance class [System]System.Net.Sockets.Socket class NDesk.DBus.Transports.UnixMonoTransport::OpenAbstractUnix(string) + IL_000e: stfld class [System]System.Net.Sockets.Socket NDesk.DBus.Transports.UnixMonoTransport::socket + IL_0013: br IL_0025 - IL_0023: ldloc.0 - IL_0024: ret + IL_0018: ldarg.0 + IL_0019: ldarg.0 + IL_001a: ldarg.1 + IL_001b: call instance class [System]System.Net.Sockets.Socket class NDesk.DBus.Transports.UnixMonoTransport::OpenUnix(string) + IL_0020: stfld class [System]System.Net.Sockets.Socket NDesk.DBus.Transports.UnixMonoTransport::socket IL_0025: ldarg.0 - IL_0026: newobj instance void class NDesk.DBus.Bus::'.ctor'(string) - IL_002b: stloc.0 - IL_002c: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Bus::buses + IL_0026: ldfld class [System]System.Net.Sockets.Socket NDesk.DBus.Transports.UnixMonoTransport::socket + IL_002b: ldc.i4.1 + IL_002c: callvirt instance void class [System]System.Net.Sockets.Socket::set_Blocking(bool) IL_0031: ldarg.0 - IL_0032: ldloc.0 - IL_0033: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::set_Item(!0, !1) - IL_0038: ldloc.0 - IL_0039: ret - } // end of method Bus::Open - - // method line 830 - .method private hidebysig - instance default void Register () cil managed - { - // Method begins at RVA 0xa66e - // Code size 40 (0x28) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld string NDesk.DBus.Bus::unique_name - IL_0006: brfalse IL_0016 - - IL_000b: ldstr "Bus already has a unique name" - IL_0010: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0015: throw - IL_0016: ldarg.0 - IL_0017: ldarg.0 - IL_0018: ldfld class org.freedesktop.DBus.IBus NDesk.DBus.Bus::bus - IL_001d: callvirt instance string class org.freedesktop.DBus.IBus::Hello() - IL_0022: stfld string NDesk.DBus.Bus::unique_name - IL_0027: ret - } // end of method Bus::Register - - // method line 831 - .method public hidebysig - instance default unsigned int64 GetUnixUser (string name) cil managed - { - // Method begins at RVA 0xa697 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class org.freedesktop.DBus.IBus NDesk.DBus.Bus::bus - IL_0006: ldarg.1 - IL_0007: callvirt instance unsigned int32 class org.freedesktop.DBus.IBus::GetConnectionUnixUser(string) - IL_000c: conv.u8 - IL_000d: ret - } // end of method Bus::GetUnixUser - - // method line 832 - .method public hidebysig - instance default valuetype org.freedesktop.DBus.RequestNameReply RequestName (string name) cil managed - { - // Method begins at RVA 0xa6a6 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldc.i4.0 - IL_0003: call instance valuetype org.freedesktop.DBus.RequestNameReply class NDesk.DBus.Bus::RequestName(string, valuetype org.freedesktop.DBus.NameFlag) - IL_0008: ret - } // end of method Bus::RequestName - - // method line 833 - .method public hidebysig - instance default valuetype org.freedesktop.DBus.RequestNameReply RequestName (string name, valuetype org.freedesktop.DBus.NameFlag 'flags') cil managed - { - // Method begins at RVA 0xa6b0 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class org.freedesktop.DBus.IBus NDesk.DBus.Bus::bus - IL_0006: ldarg.1 - IL_0007: ldarg.2 - IL_0008: callvirt instance valuetype org.freedesktop.DBus.RequestNameReply class org.freedesktop.DBus.IBus::RequestName(string, valuetype org.freedesktop.DBus.NameFlag) - IL_000d: ret - } // end of method Bus::RequestName - - // method line 834 - .method public hidebysig - instance default valuetype org.freedesktop.DBus.ReleaseNameReply ReleaseName (string name) cil managed - { - // Method begins at RVA 0xa6bf - // Code size 13 (0xd) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class org.freedesktop.DBus.IBus NDesk.DBus.Bus::bus - IL_0006: ldarg.1 - IL_0007: callvirt instance valuetype org.freedesktop.DBus.ReleaseNameReply class org.freedesktop.DBus.IBus::ReleaseName(string) - IL_000c: ret - } // end of method Bus::ReleaseName + IL_0032: ldarg.0 + IL_0033: ldfld class [System]System.Net.Sockets.Socket NDesk.DBus.Transports.UnixMonoTransport::socket + IL_0038: callvirt instance native int class [System]System.Net.Sockets.Socket::get_Handle() + IL_003d: call int64 native int::op_Explicit(native int) + IL_0042: stfld int64 NDesk.DBus.Transports.Transport::SocketHandle + IL_0047: ldarg.0 + IL_0048: ldarg.0 + IL_0049: ldfld class [System]System.Net.Sockets.Socket NDesk.DBus.Transports.UnixMonoTransport::socket + IL_004e: newobj instance void class [System]System.Net.Sockets.NetworkStream::'.ctor'(class [System]System.Net.Sockets.Socket) + IL_0053: stfld class [mscorlib]System.IO.Stream NDesk.DBus.Transports.Transport::Stream + IL_0058: ret + } // end of method UnixMonoTransport::Open - // method line 835 - .method public hidebysig - instance default bool NameHasOwner (string name) cil managed + // method line 811 + .method public virtual hidebysig + instance default void WriteCred () cil managed { - // Method begins at RVA 0xa6cd + // Method begins at RVA 0x9aa5 // Code size 13 (0xd) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld class org.freedesktop.DBus.IBus NDesk.DBus.Bus::bus - IL_0006: ldarg.1 - IL_0007: callvirt instance bool class org.freedesktop.DBus.IBus::NameHasOwner(string) + IL_0001: ldfld class [mscorlib]System.IO.Stream NDesk.DBus.Transports.Transport::Stream + IL_0006: ldc.i4.0 + IL_0007: callvirt instance void class [mscorlib]System.IO.Stream::WriteByte(unsigned int8) IL_000c: ret - } // end of method Bus::NameHasOwner - - // method line 836 - .method public hidebysig - instance default valuetype org.freedesktop.DBus.StartReply StartServiceByName (string name) cil managed - { - // Method begins at RVA 0xa6db - // Code size 9 (0x9) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldc.i4.0 - IL_0003: call instance valuetype org.freedesktop.DBus.StartReply class NDesk.DBus.Bus::StartServiceByName(string, unsigned int32) - IL_0008: ret - } // end of method Bus::StartServiceByName - - // method line 837 - .method public hidebysig - instance default valuetype org.freedesktop.DBus.StartReply StartServiceByName (string name, unsigned int32 'flags') cil managed - { - // Method begins at RVA 0xa6e5 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class org.freedesktop.DBus.IBus NDesk.DBus.Bus::bus - IL_0006: ldarg.1 - IL_0007: ldarg.2 - IL_0008: callvirt instance valuetype org.freedesktop.DBus.StartReply class org.freedesktop.DBus.IBus::StartServiceByName(string, unsigned int32) - IL_000d: ret - } // end of method Bus::StartServiceByName + } // end of method UnixMonoTransport::WriteCred - // method line 838 - .method famorassem virtual hidebysig - instance default void AddMatch (string rule) cil managed + // method line 812 + .method public virtual hidebysig + instance default string AuthString () cil managed { - // Method begins at RVA 0xa6f4 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class org.freedesktop.DBus.IBus NDesk.DBus.Bus::bus - IL_0006: ldarg.1 - IL_0007: callvirt instance void class org.freedesktop.DBus.IBus::AddMatch(string) - IL_000c: ret - } // end of method Bus::AddMatch + // Method begins at RVA 0x9ab4 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + int64 V_0) + IL_0000: call int64 class [Mono.Posix]Mono.Unix.UnixUserInfo::GetRealUserId() + IL_0005: stloc.0 + IL_0006: ldloca.s 0 + IL_0008: constrained. [mscorlib]System.Int64 + IL_000e: callvirt instance string object::ToString() + IL_0013: ret + } // end of method UnixMonoTransport::AuthString - // method line 839 - .method famorassem virtual hidebysig - instance default void RemoveMatch (string rule) cil managed + // method line 813 + .method family hidebysig + instance default class [System]System.Net.Sockets.Socket OpenAbstractUnix (string path) cil managed { - // Method begins at RVA 0xa702 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class org.freedesktop.DBus.IBus NDesk.DBus.Bus::bus - IL_0006: ldarg.1 - IL_0007: callvirt instance void class org.freedesktop.DBus.IBus::RemoveMatch(string) - IL_000c: ret - } // end of method Bus::RemoveMatch + // Method begins at RVA 0x9ad4 + // Code size 25 (0x19) + .maxstack 3 + .locals init ( + class [Mono.Posix]Mono.Unix.AbstractUnixEndPoint V_0, + class [System]System.Net.Sockets.Socket V_1) + IL_0000: ldarg.1 + IL_0001: newobj instance void class [Mono.Posix]Mono.Unix.AbstractUnixEndPoint::'.ctor'(string) + IL_0006: stloc.0 + IL_0007: ldc.i4.1 + IL_0008: ldc.i4.1 + IL_0009: ldc.i4.0 + IL_000a: newobj instance void class [System]System.Net.Sockets.Socket::'.ctor'(valuetype [System]System.Net.Sockets.AddressFamily, valuetype [System]System.Net.Sockets.SocketType, valuetype [System]System.Net.Sockets.ProtocolType) + IL_000f: stloc.1 + IL_0010: ldloc.1 + IL_0011: ldloc.0 + IL_0012: callvirt instance void class [System]System.Net.Sockets.Socket::Connect(class [System]System.Net.EndPoint) + IL_0017: ldloc.1 + IL_0018: ret + } // end of method UnixMonoTransport::OpenAbstractUnix - // method line 840 + // method line 814 .method public hidebysig - instance default string GetId () cil managed - { - // Method begins at RVA 0xa710 - // Code size 12 (0xc) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class org.freedesktop.DBus.IBus NDesk.DBus.Bus::bus - IL_0006: callvirt instance string class org.freedesktop.DBus.IBus::GetId() - IL_000b: ret - } // end of method Bus::GetId - - // method line 841 - .method public hidebysig specialname - instance default string get_UniqueName () cil managed - { - // Method begins at RVA 0xa71d - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld string NDesk.DBus.Bus::unique_name - IL_0006: ret - } // end of method Bus::get_UniqueName - - // method line 842 - .method public hidebysig specialname - instance default void set_UniqueName (string 'value') cil managed - { - // Method begins at RVA 0xa725 - // Code size 30 (0x1e) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld string NDesk.DBus.Bus::unique_name - IL_0006: brfalse IL_0016 - - IL_000b: ldstr "Unique name can only be set once" - IL_0010: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0015: throw - IL_0016: ldarg.0 - IL_0017: ldarg.1 - IL_0018: stfld string NDesk.DBus.Bus::unique_name - IL_001d: ret - } // end of method Bus::set_UniqueName - - // method line 843 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0xa744 - // Code size 54 (0x36) - .maxstack 8 - IL_0000: ldnull - IL_0001: stsfld class NDesk.DBus.Bus NDesk.DBus.Bus::systemBus - IL_0006: ldnull - IL_0007: stsfld class NDesk.DBus.Bus NDesk.DBus.Bus::sessionBus - IL_000c: ldnull - IL_000d: stsfld class NDesk.DBus.Bus NDesk.DBus.Bus::starterBus - IL_0012: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() - IL_0017: stsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Bus::buses - IL_001c: ldstr "org.freedesktop.DBus" - IL_0021: stsfld string NDesk.DBus.Bus::DBusName - IL_0026: ldstr "/org/freedesktop/DBus" - IL_002b: newobj instance void class NDesk.DBus.ObjectPath::'.ctor'(string) - IL_0030: stsfld class NDesk.DBus.ObjectPath NDesk.DBus.Bus::DBusPath - IL_0035: ret - } // end of method Bus::.cctor - - .property class NDesk.DBus.Bus System () - { - .get default class NDesk.DBus.Bus NDesk.DBus.Bus::get_System () - } - .property class NDesk.DBus.Bus Session () - { - .get default class NDesk.DBus.Bus NDesk.DBus.Bus::get_Session () - } - .property class NDesk.DBus.Bus Starter () - { - .get default class NDesk.DBus.Bus NDesk.DBus.Bus::get_Starter () - } - .property instance string UniqueName () - { - .get instance default string NDesk.DBus.Bus::get_UniqueName () - .set instance default void NDesk.DBus.Bus::set_UniqueName (string 'value') - } - } // end of class NDesk.DBus.Bus -} - -.namespace NDesk.DBus.Transports -{ - .class private auto ansi abstract beforefieldinit UnixTransport - extends NDesk.DBus.Transports.Transport - { - - // method line 844 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xa77b - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NDesk.DBus.Transports.Transport::'.ctor'() - IL_0006: ret - } // end of method UnixTransport::.ctor - - // method line 845 - .method public virtual hidebysig - instance default void Open (class NDesk.DBus.AddressEntry entry) cil managed + instance default class [System]System.Net.Sockets.Socket OpenUnix (string path) cil managed { - // Method begins at RVA 0xa784 - // Code size 80 (0x50) + // Method begins at RVA 0x9afc + // Code size 25 (0x19) .maxstack 3 .locals init ( - string V_0, - bool V_1) + class [Mono.Posix]Mono.Unix.UnixEndPoint V_0, + class [System]System.Net.Sockets.Socket V_1) IL_0000: ldarg.1 - IL_0001: ldfld class [mscorlib]System.Collections.Generic.IDictionary`2 NDesk.DBus.AddressEntry::Properties - IL_0006: ldstr "path" - IL_000b: ldloca.s 0 - IL_000d: callvirt instance bool class [mscorlib]System.Collections.Generic.IDictionary`2::TryGetValue(!0, [out] !1&) - IL_0012: brfalse IL_001e - - IL_0017: ldc.i4.0 - IL_0018: stloc.1 - IL_0019: br IL_0047 - - IL_001e: ldarg.1 - IL_001f: ldfld class [mscorlib]System.Collections.Generic.IDictionary`2 NDesk.DBus.AddressEntry::Properties - IL_0024: ldstr "abstract" - IL_0029: ldloca.s 0 - IL_002b: callvirt instance bool class [mscorlib]System.Collections.Generic.IDictionary`2::TryGetValue(!0, [out] !1&) - IL_0030: brfalse IL_003c - - IL_0035: ldc.i4.1 - IL_0036: stloc.1 - IL_0037: br IL_0047 - - IL_003c: ldstr "No path specified for UNIX transport" - IL_0041: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0046: throw - IL_0047: ldarg.0 - IL_0048: ldloc.0 - IL_0049: ldloc.1 - IL_004a: callvirt instance void class NDesk.DBus.Transports.UnixTransport::Open(string, bool) - IL_004f: ret - } // end of method UnixTransport::Open - - // method line 846 - .method public virtual hidebysig newslot abstract - instance default void Open (string path, bool 'abstract') cil managed - { - // Method begins at RVA 0x0 - } // end of method UnixTransport::Open + IL_0001: newobj instance void class [Mono.Posix]Mono.Unix.UnixEndPoint::'.ctor'(string) + IL_0006: stloc.0 + IL_0007: ldc.i4.1 + IL_0008: ldc.i4.1 + IL_0009: ldc.i4.0 + IL_000a: newobj instance void class [System]System.Net.Sockets.Socket::'.ctor'(valuetype [System]System.Net.Sockets.AddressFamily, valuetype [System]System.Net.Sockets.SocketType, valuetype [System]System.Net.Sockets.ProtocolType) + IL_000f: stloc.1 + IL_0010: ldloc.1 + IL_0011: ldloc.0 + IL_0012: callvirt instance void class [System]System.Net.Sockets.Socket::Connect(class [System]System.Net.EndPoint) + IL_0017: ldloc.1 + IL_0018: ret + } // end of method UnixMonoTransport::OpenUnix - } // end of class NDesk.DBus.Transports.UnixTransport + } // end of class NDesk.DBus.Transports.UnixMonoTransport } .namespace NDesk.DBus @@ -21634,11 +19660,11 @@ .field private static class [mscorlib]System.Reflection.MethodInfo getBusObject .field private static class [mscorlib]System.Collections.Generic.Dictionary`2 readMethods - // method line 847 + // method line 815 .method public hidebysig specialname rtspecialname instance default void '.ctor' (string name, bool canSave) cil managed { - // Method begins at RVA 0xa7e0 + // Method begins at RVA 0x9b24 // Code size 79 (0x4f) .maxstack 4 IL_0000: ldarg.0 @@ -21668,11 +19694,11 @@ IL_004e: ret } // end of method TypeImplementer::.ctor - // method line 848 + // method line 816 .method public hidebysig instance default class [mscorlib]System.Type GetImplementation (class [mscorlib]System.Type declType) cil managed { - // Method begins at RVA 0xa83c + // Method begins at RVA 0x9b80 // Code size 217 (0xd9) .maxstack 4 .locals init ( @@ -21784,11 +19810,11 @@ IL_00d8: ret } // end of method TypeImplementer::GetImplementation - // method line 849 + // method line 817 .method private static hidebysig default void Implement (class [mscorlib]System.Reflection.Emit.TypeBuilder typeB, class [mscorlib]System.Type iface) cil managed { - // Method begins at RVA 0xa934 + // Method begins at RVA 0x9c78 // Code size 629 (0x275) .maxstack 5 .locals init ( @@ -22077,11 +20103,11 @@ IL_0274: ret } // end of method TypeImplementer::Implement - // method line 850 + // method line 818 .method public static hidebysig default class [mscorlib]System.Reflection.Emit.DynamicMethod GetHookupMethod (class [mscorlib]System.Reflection.EventInfo ei) cil managed { - // Method begins at RVA 0xabb8 + // Method begins at RVA 0x9efc // Code size 127 (0x7f) .maxstack 4 .locals init ( @@ -22129,11 +20155,11 @@ IL_007e: ret } // end of method TypeImplementer::GetHookupMethod - // method line 851 + // method line 819 .method public static hidebysig default class [mscorlib]System.Reflection.Emit.DynamicMethod GetHookupMethod (class [mscorlib]System.Reflection.MethodInfo declMethod, class [mscorlib]System.Reflection.MethodInfo invokeMethod, string 'interface', string member) cil managed { - // Method begins at RVA 0xac44 + // Method begins at RVA 0x9f88 // Code size 119 (0x77) .maxstack 5 .locals init ( @@ -22203,11 +20229,11 @@ IL_0076: ret } // end of method TypeImplementer::GetHookupMethod - // method line 852 + // method line 820 .method public static hidebysig default class [mscorlib]System.Reflection.MethodInfo GetWriteMethod (class [mscorlib]System.Type t) cil managed { - // Method begins at RVA 0xacc8 + // Method begins at RVA 0xa00c // Code size 149 (0x95) .maxstack 6 .locals init ( @@ -22269,11 +20295,11 @@ IL_0094: ret } // end of method TypeImplementer::GetWriteMethod - // method line 853 + // method line 821 .method public static hidebysig default class NDesk.DBus.TypeWriter`1 GetTypeWriter () cil managed { - // Method begins at RVA 0xad6c + // Method begins at RVA 0xa0b0 // Code size 103 (0x67) .maxstack 3 .locals init ( @@ -22321,11 +20347,11 @@ IL_0066: ret } // end of method TypeImplementer::GetTypeWriter - // method line 854 + // method line 822 .method public static hidebysig default void GenWriter (class [mscorlib]System.Reflection.Emit.ILGenerator ilg, class [mscorlib]System.Type t) cil managed { - // Method begins at RVA 0xade0 + // Method begins at RVA 0xa124 // Code size 351 (0x15f) .maxstack 8 .locals init ( @@ -22459,11 +20485,11 @@ IL_015e: ret } // end of method TypeImplementer::GenWriter - // method line 855 + // method line 823 .method public static hidebysig default class [mscorlib]System.Collections.Generic.IEnumerable`1 GetMarshalFields (class [mscorlib]System.Type 'type') cil managed { - // Method begins at RVA 0xaf4b + // Method begins at RVA 0xa28f // Code size 9 (0x9) .maxstack 8 IL_0000: ldarg.0 @@ -22472,11 +20498,11 @@ IL_0008: ret } // end of method TypeImplementer::GetMarshalFields - // method line 856 + // method line 824 .method public static hidebysig default void GenStructWriter (class [mscorlib]System.Reflection.Emit.ILGenerator ilg, class [mscorlib]System.Type 'type') cil managed { - // Method begins at RVA 0xaf58 + // Method begins at RVA 0xa29c // Code size 308 (0x134) .maxstack 3 .locals init ( @@ -22598,11 +20624,11 @@ IL_0133: ret } // end of method TypeImplementer::GenStructWriter - // method line 857 + // method line 825 .method public static hidebysig default void GenStructReader (class [mscorlib]System.Reflection.Emit.ILGenerator ilg, class [mscorlib]System.Type 'type') cil managed { - // Method begins at RVA 0xb0a8 + // Method begins at RVA 0xa3ec // Code size 236 (0xec) .maxstack 3 .locals init ( @@ -22699,11 +20725,11 @@ IL_00eb: ret } // end of method TypeImplementer::GenStructReader - // method line 858 + // method line 826 .method public static hidebysig default void GenHookupMethod (class [mscorlib]System.Reflection.Emit.ILGenerator ilg, class [mscorlib]System.Reflection.MethodInfo declMethod, class [mscorlib]System.Reflection.MethodInfo invokeMethod, string 'interface', string member) cil managed { - // Method begins at RVA 0xb1b0 + // Method begins at RVA 0xa4f4 // Code size 1183 (0x49f) .maxstack 5 .locals init ( @@ -23129,11 +21155,11 @@ IL_049e: ret } // end of method TypeImplementer::GenHookupMethod - // method line 859 + // method line 827 .method public static hidebysig default bool SigsForMethod (class [mscorlib]System.Reflection.MethodInfo mi, [out] valuetype NDesk.DBus.Signature& inSig, [out] valuetype NDesk.DBus.Signature& outSig) cil managed { - // Method begins at RVA 0xb65c + // Method begins at RVA 0xa9a0 // Code size 160 (0xa0) .maxstack 3 .locals init ( @@ -23202,11 +21228,11 @@ IL_009f: ret } // end of method TypeImplementer::SigsForMethod - // method line 860 + // method line 828 .method private static hidebysig default void InitReaders () cil managed { - // Method begins at RVA 0xb708 + // Method begins at RVA 0xaa4c // Code size 135 (0x87) .maxstack 3 .locals init ( @@ -23269,11 +21295,11 @@ IL_0086: ret } // end of method TypeImplementer::InitReaders - // method line 861 + // method line 829 .method assembly static hidebysig default class [mscorlib]System.Reflection.MethodInfo GetReadMethod (class [mscorlib]System.Type t) cil managed { - // Method begins at RVA 0xb79c + // Method begins at RVA 0xaae0 // Code size 42 (0x2a) .maxstack 3 .locals init ( @@ -23295,11 +21321,11 @@ IL_0029: ret } // end of method TypeImplementer::GetReadMethod - // method line 862 + // method line 830 .method assembly static hidebysig default class NDesk.DBus.MethodCaller2 GenCaller2 (class [mscorlib]System.Reflection.MethodInfo target) cil managed { - // Method begins at RVA 0xb7d4 + // Method begins at RVA 0xab18 // Code size 31 (0x1f) .maxstack 2 .locals init ( @@ -23318,11 +21344,11 @@ IL_001e: ret } // end of method TypeImplementer::GenCaller2 - // method line 863 + // method line 831 .method assembly static hidebysig default class NDesk.DBus.MethodCaller GenCaller (class [mscorlib]System.Reflection.MethodInfo target, object targetInstance) cil managed { - // Method begins at RVA 0xb800 + // Method begins at RVA 0xab44 // Code size 32 (0x20) .maxstack 3 .locals init ( @@ -23342,11 +21368,11 @@ IL_001f: ret } // end of method TypeImplementer::GenCaller - // method line 864 + // method line 832 .method assembly static hidebysig default class [mscorlib]System.Reflection.Emit.DynamicMethod GenReadMethod (class [mscorlib]System.Reflection.MethodInfo target) cil managed { - // Method begins at RVA 0xb82c + // Method begins at RVA 0xab70 // Code size 100 (0x64) .maxstack 4 .locals init ( @@ -23390,11 +21416,11 @@ IL_0063: ret } // end of method TypeImplementer::GenReadMethod - // method line 865 + // method line 833 .method private static hidebysig default void Gen (class [mscorlib]System.Reflection.Emit.DynamicMethod hookupMethod, class [mscorlib]System.Reflection.MethodInfo declMethod) cil managed { - // Method begins at RVA 0xb89c + // Method begins at RVA 0xabe0 // Code size 383 (0x17f) .maxstack 3 .locals init ( @@ -23560,11 +21586,11 @@ IL_017e: ret } // end of method TypeImplementer::Gen - // method line 866 + // method line 834 .method public static hidebysig default void GenReader (class [mscorlib]System.Reflection.Emit.ILGenerator ilg, class [mscorlib]System.Type t) cil managed { - // Method begins at RVA 0xba28 + // Method begins at RVA 0xad6c // Code size 278 (0x116) .maxstack 3 .locals init ( @@ -23672,11 +21698,11 @@ IL_0115: ret } // end of method TypeImplementer::GenReader - // method line 867 + // method line 835 .method public static hidebysig default void GenFallbackReader (class [mscorlib]System.Reflection.Emit.ILGenerator ilg, class [mscorlib]System.Type t) cil managed { - // Method begins at RVA 0xbb4c + // Method begins at RVA 0xae90 // Code size 173 (0xad) .maxstack 6 .locals init ( @@ -23737,11 +21763,11 @@ IL_00ac: ret } // end of method TypeImplementer::GenFallbackReader - // method line 868 + // method line 836 .method public static hidebysig default void GenReadArrayFixed (class [mscorlib]System.Reflection.Emit.ILGenerator ilg, class [mscorlib]System.Type t, int32 knownElemSize) cil managed { - // Method begins at RVA 0xbc08 + // Method begins at RVA 0xaf4c // Code size 1122 (0x462) .maxstack 3 .locals init ( @@ -24133,11 +22159,11 @@ IL_0461: ret } // end of method TypeImplementer::GenReadArrayFixed - // method line 869 + // method line 837 .method public static hidebysig default void GenReadCollection (class [mscorlib]System.Reflection.Emit.ILGenerator ilg, class [mscorlib]System.Type 'type') cil managed { - // Method begins at RVA 0xc078 + // Method begins at RVA 0xb3bc // Code size 729 (0x2d9) .maxstack 4 .locals init ( @@ -24416,11 +22442,11 @@ IL_02d8: ret } // end of method TypeImplementer::GenReadCollection - // method line 870 + // method line 838 .method private static hidebysig specialname rtspecialname default void '.cctor' () cil managed { - // Method begins at RVA 0xc360 + // Method begins at RVA 0xb6a4 // Code size 363 (0x16b) .maxstack 6 IL_0000: ldstr "NDesk.DBus.Proxies" @@ -24521,7 +22547,7 @@ extends [mscorlib]System.MulticastDelegate { - // method line 871 + // method line 839 .method public hidebysig specialname rtspecialname instance default void '.ctor' (object 'object', native int 'method') runtime managed { @@ -24529,7 +22555,7 @@ // Disassembly of native methods is not supported } // end of method TypeWriter`1::.ctor - // method line 872 + // method line 840 .method public virtual hidebysig newslot instance default void Invoke (class NDesk.DBus.MessageWriter writer, !T 'value') runtime managed { @@ -24537,7 +22563,7 @@ // Disassembly of native methods is not supported } // end of method TypeWriter`1::Invoke - // method line 873 + // method line 841 .method public virtual hidebysig newslot instance default class [mscorlib]System.IAsyncResult BeginInvoke (class NDesk.DBus.MessageWriter writer, !T 'value', class [mscorlib]System.AsyncCallback callback, object 'object') runtime managed { @@ -24545,7 +22571,7 @@ // Disassembly of native methods is not supported } // end of method TypeWriter`1::BeginInvoke - // method line 874 + // method line 842 .method public virtual hidebysig newslot instance default void EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed { @@ -24562,7 +22588,7 @@ extends [mscorlib]System.MulticastDelegate { - // method line 875 + // method line 843 .method public hidebysig specialname rtspecialname instance default void '.ctor' (object 'object', native int 'method') runtime managed { @@ -24570,7 +22596,7 @@ // Disassembly of native methods is not supported } // end of method MethodCaller::.ctor - // method line 876 + // method line 844 .method public virtual hidebysig newslot instance default void Invoke (class NDesk.DBus.MessageReader rdr, class NDesk.DBus.Message msg, class NDesk.DBus.MessageWriter 'ret') runtime managed { @@ -24578,7 +22604,7 @@ // Disassembly of native methods is not supported } // end of method MethodCaller::Invoke - // method line 877 + // method line 845 .method public virtual hidebysig newslot instance default class [mscorlib]System.IAsyncResult BeginInvoke (class NDesk.DBus.MessageReader rdr, class NDesk.DBus.Message msg, class NDesk.DBus.MessageWriter 'ret', class [mscorlib]System.AsyncCallback callback, object 'object') runtime managed { @@ -24586,7 +22612,7 @@ // Disassembly of native methods is not supported } // end of method MethodCaller::BeginInvoke - // method line 878 + // method line 846 .method public virtual hidebysig newslot instance default void EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed { @@ -24603,7 +22629,7 @@ extends [mscorlib]System.MulticastDelegate { - // method line 879 + // method line 847 .method public hidebysig specialname rtspecialname instance default void '.ctor' (object 'object', native int 'method') runtime managed { @@ -24611,7 +22637,7 @@ // Disassembly of native methods is not supported } // end of method MethodCaller2::.ctor - // method line 880 + // method line 848 .method public virtual hidebysig newslot instance default void Invoke (object 'instance', class NDesk.DBus.MessageReader rdr, class NDesk.DBus.Message msg, class NDesk.DBus.MessageWriter 'ret') runtime managed { @@ -24619,7 +22645,7 @@ // Disassembly of native methods is not supported } // end of method MethodCaller2::Invoke - // method line 881 + // method line 849 .method public virtual hidebysig newslot instance default class [mscorlib]System.IAsyncResult BeginInvoke (object 'instance', class NDesk.DBus.MessageReader rdr, class NDesk.DBus.Message msg, class NDesk.DBus.MessageWriter 'ret', class [mscorlib]System.AsyncCallback callback, object 'object') runtime managed { @@ -24627,7 +22653,7 @@ // Disassembly of native methods is not supported } // end of method MethodCaller2::BeginInvoke - // method line 882 + // method line 850 .method public virtual hidebysig newslot instance default void EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed { @@ -24638,2401 +22664,320 @@ } // end of class NDesk.DBus.MethodCaller2 } -.namespace NDesk.DBus +.namespace NDesk.DBus.Introspection { - .class private auto ansi beforefieldinit Introspector + .class private auto ansi beforefieldinit Member extends [mscorlib]System.Object { - .field private static literal string NAMESPACE = "http://www.freedesktop.org/standards/dbus" - .field private static literal string PUBLIC_IDENTIFIER = "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" - .field private static literal string SYSTEM_IDENTIFIER = "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd" - .field public class [mscorlib]System.Text.StringBuilder sb - .field public string xml - .field public class NDesk.DBus.ObjectPath root_path - .field public bool ExtendedAnnotations - .field family class [System.Xml]System.Xml.XmlWriter writer - .field private static literal valuetype [mscorlib]System.Reflection.BindingFlags relevantBindingFlags = int32(0x00000016) - - // method line 883 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xc4d8 - // Code size 78 (0x4e) - .maxstack 3 - .locals init ( - class [System.Xml]System.Xml.XmlWriterSettings V_0) - IL_0000: ldarg.0 - IL_0001: ldsfld class NDesk.DBus.ObjectPath NDesk.DBus.ObjectPath::Root - IL_0006: stfld class NDesk.DBus.ObjectPath NDesk.DBus.Introspector::root_path - IL_000b: ldarg.0 - IL_000c: call instance void object::'.ctor'() - IL_0011: newobj instance void class [System.Xml]System.Xml.XmlWriterSettings::'.ctor'() - IL_0016: stloc.0 - IL_0017: ldloc.0 - IL_0018: ldc.i4.1 - IL_0019: callvirt instance void class [System.Xml]System.Xml.XmlWriterSettings::set_Indent(bool) - IL_001e: ldloc.0 - IL_001f: ldstr " " - IL_0024: callvirt instance void class [System.Xml]System.Xml.XmlWriterSettings::set_IndentChars(string) - IL_0029: ldloc.0 - IL_002a: ldc.i4.1 - IL_002b: callvirt instance void class [System.Xml]System.Xml.XmlWriterSettings::set_OmitXmlDeclaration(bool) - IL_0030: ldarg.0 - IL_0031: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0036: stfld class [mscorlib]System.Text.StringBuilder NDesk.DBus.Introspector::sb - IL_003b: ldarg.0 - IL_003c: ldarg.0 - IL_003d: ldfld class [mscorlib]System.Text.StringBuilder NDesk.DBus.Introspector::sb - IL_0042: ldloc.0 - IL_0043: call class [System.Xml]System.Xml.XmlWriter class [System.Xml]System.Xml.XmlWriter::Create(class [mscorlib]System.Text.StringBuilder, class [System.Xml]System.Xml.XmlWriterSettings) - IL_0048: stfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_004d: ret - } // end of method Introspector::.ctor - - // method line 884 - .method private static hidebysig - default string GetProductDescription () cil managed - { - // Method begins at RVA 0xc534 - // Code size 83 (0x53) - .maxstack 3 - .locals init ( - string V_0, - class [mscorlib]System.Reflection.Assembly V_1, - class [mscorlib]System.Reflection.AssemblyName V_2, - class [mscorlib]System.Reflection.AssemblyInformationalVersionAttribute V_3) - IL_0000: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetExecutingAssembly() - IL_0005: stloc.1 - IL_0006: ldloc.1 - IL_0007: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() - IL_000c: stloc.2 - IL_000d: ldloc.1 - IL_000e: ldtoken [mscorlib]System.Reflection.AssemblyInformationalVersionAttribute - IL_0013: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0018: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.Assembly, class [mscorlib]System.Type) - IL_001d: isinst [mscorlib]System.Reflection.AssemblyInformationalVersionAttribute - IL_0022: stloc.3 - IL_0023: ldloc.3 - IL_0024: brfalse IL_0035 - - IL_0029: ldloc.3 - IL_002a: callvirt instance string class [mscorlib]System.Reflection.AssemblyInformationalVersionAttribute::get_InformationalVersion() - IL_002f: stloc.0 - IL_0030: br IL_0041 - - IL_0035: ldloc.2 - IL_0036: callvirt instance class [mscorlib]System.Version class [mscorlib]System.Reflection.AssemblyName::get_Version() - IL_003b: callvirt instance string object::ToString() - IL_0040: stloc.0 - IL_0041: ldloc.2 - IL_0042: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() - IL_0047: ldstr " " - IL_004c: ldloc.0 - IL_004d: call string string::Concat(string, string, string) - IL_0052: ret - } // end of method Introspector::GetProductDescription - - // method line 885 - .method public hidebysig - instance default void WriteStart () cil managed - { - // Method begins at RVA 0xc594 - // Code size 75 (0x4b) - .maxstack 5 - IL_0000: ldarg.0 - IL_0001: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0006: ldstr "node" - IL_000b: ldstr "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" - IL_0010: ldstr "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd" - IL_0015: ldnull - IL_0016: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteDocType(string, string, string, string) - IL_001b: ldarg.0 - IL_001c: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0021: ldstr " " - IL_0026: call string class NDesk.DBus.Introspector::GetProductDescription() - IL_002b: ldstr " " - IL_0030: call string string::Concat(string, string, string) - IL_0035: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteComment(string) - IL_003a: ldarg.0 - IL_003b: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0040: ldstr "node" - IL_0045: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) - IL_004a: ret - } // end of method Introspector::WriteStart - - // method line 886 - .method public hidebysig - instance default void WriteNode (string name) cil managed - { - // Method begins at RVA 0xc5eb - // Code size 45 (0x2d) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0006: ldstr "node" - IL_000b: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) - IL_0010: ldarg.0 - IL_0011: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0016: ldstr "name" - IL_001b: ldarg.1 - IL_001c: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) - IL_0021: ldarg.0 - IL_0022: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0027: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() - IL_002c: ret - } // end of method Introspector::WriteNode - - // method line 887 - .method public hidebysig - instance default void WriteEnd () cil managed - { - // Method begins at RVA 0xc619 - // Code size 40 (0x28) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0006: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() - IL_000b: ldarg.0 - IL_000c: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0011: callvirt instance void class [System.Xml]System.Xml.XmlWriter::Flush() - IL_0016: ldarg.0 - IL_0017: ldarg.0 - IL_0018: ldfld class [mscorlib]System.Text.StringBuilder NDesk.DBus.Introspector::sb - IL_001d: callvirt instance string object::ToString() - IL_0022: stfld string NDesk.DBus.Introspector::xml - IL_0027: ret - } // end of method Introspector::WriteEnd - - // method line 888 - .method public hidebysig - instance default void WriteType (class [mscorlib]System.Type target_type) cil managed - { - // Method begins at RVA 0xc644 - // Code size 74 (0x4a) - .maxstack 2 - .locals init ( - class [mscorlib]System.Type V_0, - class [mscorlib]System.Type[] V_1, - int32 V_2) - IL_0000: ldarg.0 - IL_0001: ldtoken org.freedesktop.DBus.Introspectable - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: call instance void class NDesk.DBus.Introspector::WriteInterface(class [mscorlib]System.Type) - IL_0010: ldarg.1 - IL_0011: ldnull - IL_0012: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0017: brfalse IL_0049 - - IL_001c: ldarg.0 - IL_001d: ldarg.1 - IL_001e: call instance void class NDesk.DBus.Introspector::WriteInterface(class [mscorlib]System.Type) - IL_0023: ldarg.1 - IL_0024: callvirt instance class [mscorlib]System.Type[] class [mscorlib]System.Type::GetInterfaces() - IL_0029: stloc.1 - IL_002a: ldc.i4.0 - IL_002b: stloc.2 - IL_002c: br IL_0040 - - IL_0031: ldloc.1 - IL_0032: ldloc.2 - IL_0033: ldelem.ref - IL_0034: stloc.0 - IL_0035: ldarg.0 - IL_0036: ldloc.0 - IL_0037: call instance void class NDesk.DBus.Introspector::WriteInterface(class [mscorlib]System.Type) - IL_003c: ldloc.2 - IL_003d: ldc.i4.1 - IL_003e: add - IL_003f: stloc.2 - IL_0040: ldloc.2 - IL_0041: ldloc.1 - IL_0042: ldlen - IL_0043: conv.i4 - IL_0044: blt IL_0031 - - IL_0049: ret - } // end of method Introspector::WriteType - - // method line 889 - .method public hidebysig - instance default void WriteArg (class [mscorlib]System.Reflection.ParameterInfo pi) cil managed - { - // Method begins at RVA 0xc69a - // Code size 26 (0x1a) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_0007: ldarg.1 - IL_0008: call string class NDesk.DBus.Mapper::GetArgumentName(class [mscorlib]System.Reflection.ParameterInfo) - IL_000d: ldarg.1 - IL_000e: callvirt instance bool class [mscorlib]System.Reflection.ParameterInfo::get_IsOut() - IL_0013: ldc.i4.0 - IL_0014: call instance void class NDesk.DBus.Introspector::WriteArg(class [mscorlib]System.Type, string, bool, bool) - IL_0019: ret - } // end of method Introspector::WriteArg - - // method line 890 - .method public hidebysig - instance default void WriteArgReverse (class [mscorlib]System.Reflection.ParameterInfo pi) cil managed - { - // Method begins at RVA 0xc6b5 - // Code size 26 (0x1a) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_0007: ldarg.1 - IL_0008: call string class NDesk.DBus.Mapper::GetArgumentName(class [mscorlib]System.Reflection.ParameterInfo) - IL_000d: ldarg.1 - IL_000e: callvirt instance bool class [mscorlib]System.Reflection.ParameterInfo::get_IsOut() - IL_0013: ldc.i4.1 - IL_0014: call instance void class NDesk.DBus.Introspector::WriteArg(class [mscorlib]System.Type, string, bool, bool) - IL_0019: ret - } // end of method Introspector::WriteArgReverse - - // method line 891 - .method public hidebysig - instance default void WriteArg (class [mscorlib]System.Type argType, string argName, bool argIsOut, bool reverse) cil managed - { - // Method begins at RVA 0xc6d0 - // Code size 215 (0xd7) - .maxstack 3 - .locals init ( - valuetype NDesk.DBus.Signature V_0) - IL_0000: ldarg.3 - IL_0001: brfalse IL_0011 - - IL_0006: ldarg.1 - IL_0007: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() - IL_000c: br IL_0012 - - IL_0011: ldarg.1 - IL_0012: starg.s 1 - IL_0014: ldarg.1 - IL_0015: ldtoken [mscorlib]System.Void - IL_001a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_001f: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0024: brfalse IL_002a - - IL_0029: ret - IL_002a: ldarg.0 - IL_002b: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0030: ldstr "arg" - IL_0035: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) - IL_003a: ldarg.2 - IL_003b: call bool string::IsNullOrEmpty(string) - IL_0040: brtrue IL_0056 - - IL_0045: ldarg.0 - IL_0046: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_004b: ldstr "name" - IL_0050: ldarg.2 - IL_0051: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) - IL_0056: ldarg.3 - IL_0057: brfalse IL_0087 - - IL_005c: ldarg.0 - IL_005d: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0062: ldstr "direction" - IL_0067: ldarg.s 4 - IL_0069: brtrue IL_0078 - - IL_006e: ldstr "out" - IL_0073: br IL_007d - - IL_0078: ldstr "in" - IL_007d: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) - IL_0082: br IL_00ad - - IL_0087: ldarg.0 - IL_0088: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_008d: ldstr "direction" - IL_0092: ldarg.s 4 - IL_0094: brtrue IL_00a3 - - IL_0099: ldstr "in" - IL_009e: br IL_00a8 - - IL_00a3: ldstr "out" - IL_00a8: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) - IL_00ad: ldarg.1 - IL_00ae: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) - IL_00b3: stloc.0 - IL_00b4: ldarg.0 - IL_00b5: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_00ba: ldstr "type" - IL_00bf: ldloca.s 0 - IL_00c1: call instance string valuetype NDesk.DBus.Signature::get_Value() - IL_00c6: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) - IL_00cb: ldarg.0 - IL_00cc: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_00d1: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() - IL_00d6: ret - } // end of method Introspector::WriteArg - - // method line 892 - .method public hidebysig - instance default void WriteMethod (class [mscorlib]System.Reflection.MethodInfo mi) cil managed - { - // Method begins at RVA 0xc7b4 - // Code size 125 (0x7d) - .maxstack 5 - .locals init ( - class [mscorlib]System.Reflection.ParameterInfo V_0, - class [mscorlib]System.Reflection.ParameterInfo[] V_1, - int32 V_2) - IL_0000: ldarg.0 - IL_0001: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0006: ldstr "method" - IL_000b: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) - IL_0010: ldarg.0 - IL_0011: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0016: ldstr "name" - IL_001b: ldarg.1 - IL_001c: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_0021: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) - IL_0026: ldarg.1 - IL_0027: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_002c: stloc.1 - IL_002d: ldc.i4.0 - IL_002e: stloc.2 - IL_002f: br IL_0043 - - IL_0034: ldloc.1 - IL_0035: ldloc.2 - IL_0036: ldelem.ref - IL_0037: stloc.0 - IL_0038: ldarg.0 - IL_0039: ldloc.0 - IL_003a: call instance void class NDesk.DBus.Introspector::WriteArg(class [mscorlib]System.Reflection.ParameterInfo) - IL_003f: ldloc.2 - IL_0040: ldc.i4.1 - IL_0041: add - IL_0042: stloc.2 - IL_0043: ldloc.2 - IL_0044: ldloc.1 - IL_0045: ldlen - IL_0046: conv.i4 - IL_0047: blt IL_0034 - - IL_004c: ldarg.0 - IL_004d: ldarg.1 - IL_004e: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MethodInfo::get_ReturnType() - IL_0053: ldarg.1 - IL_0054: callvirt instance class [mscorlib]System.Reflection.ICustomAttributeProvider class [mscorlib]System.Reflection.MethodInfo::get_ReturnTypeCustomAttributes() - IL_0059: ldstr "ret" - IL_005e: call string class NDesk.DBus.Mapper::GetArgumentName(class [mscorlib]System.Reflection.ICustomAttributeProvider, string) - IL_0063: ldc.i4.0 - IL_0064: ldc.i4.1 - IL_0065: call instance void class NDesk.DBus.Introspector::WriteArg(class [mscorlib]System.Type, string, bool, bool) - IL_006a: ldarg.0 - IL_006b: ldarg.1 - IL_006c: call instance void class NDesk.DBus.Introspector::WriteAnnotations(class [mscorlib]System.Reflection.ICustomAttributeProvider) - IL_0071: ldarg.0 - IL_0072: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0077: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() - IL_007c: ret - } // end of method Introspector::WriteMethod - - // method line 893 - .method public hidebysig - instance default void WriteProperty (class [mscorlib]System.Reflection.PropertyInfo pri) cil managed - { - // Method begins at RVA 0xc840 - // Code size 167 (0xa7) - .maxstack 3 - .locals init ( - valuetype NDesk.DBus.Signature V_0, - string V_1) - IL_0000: ldarg.0 - IL_0001: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0006: ldstr "property" - IL_000b: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) - IL_0010: ldarg.0 - IL_0011: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0016: ldstr "name" - IL_001b: ldarg.1 - IL_001c: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_0021: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) - IL_0026: ldarg.0 - IL_0027: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_002c: ldstr "type" - IL_0031: ldarg.1 - IL_0032: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_0037: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) - IL_003c: stloc.0 - IL_003d: ldloca.s 0 - IL_003f: call instance string valuetype NDesk.DBus.Signature::get_Value() - IL_0044: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) - IL_0049: ldarg.1 - IL_004a: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanRead() - IL_004f: brfalse IL_005e - - IL_0054: ldstr "read" - IL_0059: br IL_0063 - - IL_005e: ldsfld string [mscorlib]System.String::Empty - IL_0063: ldarg.1 - IL_0064: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() - IL_0069: brfalse IL_0078 - - IL_006e: ldstr "write" - IL_0073: br IL_007d - - IL_0078: ldsfld string [mscorlib]System.String::Empty - IL_007d: call string string::Concat(string, string) - IL_0082: stloc.1 - IL_0083: ldarg.0 - IL_0084: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0089: ldstr "access" - IL_008e: ldloc.1 - IL_008f: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) - IL_0094: ldarg.0 - IL_0095: ldarg.1 - IL_0096: call instance void class NDesk.DBus.Introspector::WriteAnnotations(class [mscorlib]System.Reflection.ICustomAttributeProvider) - IL_009b: ldarg.0 - IL_009c: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_00a1: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() - IL_00a6: ret - } // end of method Introspector::WriteProperty - - // method line 894 - .method public hidebysig - instance default void WriteSignal (class [mscorlib]System.Reflection.EventInfo ei) cil managed - { - // Method begins at RVA 0xc8f4 - // Code size 145 (0x91) - .maxstack 3 - .locals init ( - class [mscorlib]System.Reflection.ParameterInfo V_0, - class [mscorlib]System.Reflection.ParameterInfo[] V_1, - int32 V_2, - string V_3) - IL_0000: ldarg.0 - IL_0001: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0006: ldstr "signal" - IL_000b: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) - IL_0010: ldarg.0 - IL_0011: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0016: ldstr "name" - IL_001b: ldarg.1 - IL_001c: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_0021: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) - IL_0026: ldarg.1 - IL_0027: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.EventInfo::get_EventHandlerType() - IL_002c: ldstr "Invoke" - IL_0031: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) - IL_0036: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_003b: stloc.1 - IL_003c: ldc.i4.0 - IL_003d: stloc.2 - IL_003e: br IL_0052 - - IL_0043: ldloc.1 - IL_0044: ldloc.2 - IL_0045: ldelem.ref - IL_0046: stloc.0 - IL_0047: ldarg.0 - IL_0048: ldloc.0 - IL_0049: call instance void class NDesk.DBus.Introspector::WriteArgReverse(class [mscorlib]System.Reflection.ParameterInfo) - IL_004e: ldloc.2 - IL_004f: ldc.i4.1 - IL_0050: add - IL_0051: stloc.2 - IL_0052: ldloc.2 - IL_0053: ldloc.1 - IL_0054: ldlen - IL_0055: conv.i4 - IL_0056: blt IL_0043 - - IL_005b: ldarg.0 - IL_005c: ldfld bool NDesk.DBus.Introspector::ExtendedAnnotations - IL_0061: brfalse IL_007e - - IL_0066: ldarg.1 - IL_0067: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.EventInfo::get_EventHandlerType() - IL_006c: call string class NDesk.DBus.Mapper::GetInterfaceName(class [mscorlib]System.Type) - IL_0071: stloc.3 - IL_0072: ldarg.0 - IL_0073: ldstr "org.ndesk.DBus.SignalHandler" - IL_0078: ldloc.3 - IL_0079: call instance void class NDesk.DBus.Introspector::WriteAnnotation(string, string) - IL_007e: ldarg.0 - IL_007f: ldarg.1 - IL_0080: call instance void class NDesk.DBus.Introspector::WriteAnnotations(class [mscorlib]System.Reflection.ICustomAttributeProvider) - IL_0085: ldarg.0 - IL_0086: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_008b: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() - IL_0090: ret - } // end of method Introspector::WriteSignal - - // method line 895 - .method public hidebysig - instance default void WriteInterface (class [mscorlib]System.Type 'type') cil managed - { - // Method begins at RVA 0xc994 - // Code size 236 (0xec) - .maxstack 3 - .locals init ( - class [mscorlib]System.Reflection.MethodInfo V_0, - class [mscorlib]System.Reflection.MethodInfo[] V_1, - int32 V_2, - class [mscorlib]System.Reflection.EventInfo V_3, - class [mscorlib]System.Reflection.EventInfo[] V_4, - int32 V_5, - class [mscorlib]System.Reflection.PropertyInfo V_6, - class [mscorlib]System.Reflection.PropertyInfo[] V_7, - int32 V_8) - IL_0000: ldarg.1 - IL_0001: ldnull - IL_0002: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0007: brfalse IL_000d - - IL_000c: ret - IL_000d: ldarg.1 - IL_000e: call bool class NDesk.DBus.Mapper::IsPublic(class [mscorlib]System.Type) - IL_0013: brtrue IL_0019 - - IL_0018: ret - IL_0019: ldarg.0 - IL_001a: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_001f: ldstr "interface" - IL_0024: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) - IL_0029: ldarg.0 - IL_002a: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_002f: ldstr "name" - IL_0034: ldarg.1 - IL_0035: call string class NDesk.DBus.Mapper::GetInterfaceName(class [mscorlib]System.Type) - IL_003a: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) - IL_003f: ldarg.1 - IL_0040: ldc.i4.s 0x16 - IL_0042: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods(valuetype [mscorlib]System.Reflection.BindingFlags) - IL_0047: stloc.1 - IL_0048: ldc.i4.0 - IL_0049: stloc.2 - IL_004a: br IL_0069 - - IL_004f: ldloc.1 - IL_0050: ldloc.2 - IL_0051: ldelem.ref - IL_0052: stloc.0 - IL_0053: ldloc.0 - IL_0054: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsSpecialName() - IL_0059: brtrue IL_0065 - - IL_005e: ldarg.0 - IL_005f: ldloc.0 - IL_0060: call instance void class NDesk.DBus.Introspector::WriteMethod(class [mscorlib]System.Reflection.MethodInfo) - IL_0065: ldloc.2 - IL_0066: ldc.i4.1 - IL_0067: add - IL_0068: stloc.2 - IL_0069: ldloc.2 - IL_006a: ldloc.1 - IL_006b: ldlen - IL_006c: conv.i4 - IL_006d: blt IL_004f - - IL_0072: ldarg.1 - IL_0073: ldc.i4.s 0x16 - IL_0075: callvirt instance class [mscorlib]System.Reflection.EventInfo[] class [mscorlib]System.Type::GetEvents(valuetype [mscorlib]System.Reflection.BindingFlags) - IL_007a: stloc.s 4 - IL_007c: ldc.i4.0 - IL_007d: stloc.s 5 - IL_007f: br IL_0097 - - IL_0084: ldloc.s 4 - IL_0086: ldloc.s 5 - IL_0088: ldelem.ref - IL_0089: stloc.3 - IL_008a: ldarg.0 - IL_008b: ldloc.3 - IL_008c: call instance void class NDesk.DBus.Introspector::WriteSignal(class [mscorlib]System.Reflection.EventInfo) - IL_0091: ldloc.s 5 - IL_0093: ldc.i4.1 - IL_0094: add - IL_0095: stloc.s 5 - IL_0097: ldloc.s 5 - IL_0099: ldloc.s 4 - IL_009b: ldlen - IL_009c: conv.i4 - IL_009d: blt IL_0084 - - IL_00a2: ldarg.1 - IL_00a3: ldc.i4.s 0x16 - IL_00a5: callvirt instance class [mscorlib]System.Reflection.PropertyInfo[] class [mscorlib]System.Type::GetProperties(valuetype [mscorlib]System.Reflection.BindingFlags) - IL_00aa: stloc.s 7 - IL_00ac: ldc.i4.0 - IL_00ad: stloc.s 8 - IL_00af: br IL_00c9 - - IL_00b4: ldloc.s 7 - IL_00b6: ldloc.s 8 - IL_00b8: ldelem.ref - IL_00b9: stloc.s 6 - IL_00bb: ldarg.0 - IL_00bc: ldloc.s 6 - IL_00be: call instance void class NDesk.DBus.Introspector::WriteProperty(class [mscorlib]System.Reflection.PropertyInfo) - IL_00c3: ldloc.s 8 - IL_00c5: ldc.i4.1 - IL_00c6: add - IL_00c7: stloc.s 8 - IL_00c9: ldloc.s 8 - IL_00cb: ldloc.s 7 - IL_00cd: ldlen - IL_00ce: conv.i4 - IL_00cf: blt IL_00b4 - - IL_00d4: ldarg.0 - IL_00d5: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_00da: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() - IL_00df: ldarg.0 - IL_00e0: ldarg.1 - IL_00e1: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::get_BaseType() - IL_00e6: call instance void class NDesk.DBus.Introspector::WriteInterface(class [mscorlib]System.Type) - IL_00eb: ret - } // end of method Introspector::WriteInterface - - // method line 896 - .method public hidebysig - instance default void WriteAnnotations (class [mscorlib]System.Reflection.ICustomAttributeProvider attrProvider) cil managed - { - // Method begins at RVA 0xca8c - // Code size 28 (0x1c) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: call bool class NDesk.DBus.Mapper::IsDeprecated(class [mscorlib]System.Reflection.ICustomAttributeProvider) - IL_0006: brfalse IL_001b - - IL_000b: ldarg.0 - IL_000c: ldstr "org.freedesktop.DBus.Deprecated" - IL_0011: ldstr "true" - IL_0016: call instance void class NDesk.DBus.Introspector::WriteAnnotation(string, string) - IL_001b: ret - } // end of method Introspector::WriteAnnotations - - // method line 897 - .method public hidebysig - instance default void WriteAnnotation (string name, string 'value') cil managed - { - // Method begins at RVA 0xcaa9 - // Code size 62 (0x3e) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0006: ldstr "annotation" - IL_000b: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) - IL_0010: ldarg.0 - IL_0011: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0016: ldstr "name" - IL_001b: ldarg.1 - IL_001c: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) - IL_0021: ldarg.0 - IL_0022: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0027: ldstr "value" - IL_002c: ldarg.2 - IL_002d: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) - IL_0032: ldarg.0 - IL_0033: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0038: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() - IL_003d: ret - } // end of method Introspector::WriteAnnotation - - // method line 898 - .method public hidebysig - instance default void WriteEnum (class [mscorlib]System.Type 'type') cil managed - { - // Method begins at RVA 0xcae8 - // Code size 295 (0x127) - .maxstack 6 - .locals init ( - valuetype NDesk.DBus.Signature V_0, - string[] V_1, - int32 V_2, - class [mscorlib]System.Enum V_3, - class [mscorlib]System.Collections.IEnumerator V_4, - class [mscorlib]System.IDisposable V_5) - IL_0000: ldarg.0 - IL_0001: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0006: ldstr "enum" - IL_000b: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) - IL_0010: ldarg.0 - IL_0011: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0016: ldstr "name" - IL_001b: ldarg.1 - IL_001c: call string class NDesk.DBus.Mapper::GetInterfaceName(class [mscorlib]System.Type) - IL_0021: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) - IL_0026: ldarg.0 - IL_0027: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_002c: ldstr "type" - IL_0031: ldarg.1 - IL_0032: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() - IL_0037: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) - IL_003c: stloc.0 - IL_003d: ldloca.s 0 - IL_003f: call instance string valuetype NDesk.DBus.Signature::get_Value() - IL_0044: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) - IL_0049: ldarg.0 - IL_004a: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_004f: ldstr "flags" - IL_0054: ldarg.1 - IL_0055: ldtoken [mscorlib]System.FlagsAttribute - IL_005a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_005f: ldc.i4.0 - IL_0060: callvirt instance bool class [mscorlib]System.Reflection.MemberInfo::IsDefined(class [mscorlib]System.Type, bool) - IL_0065: brfalse IL_0074 - - IL_006a: ldstr "true" - IL_006f: br IL_0079 - - IL_0074: ldstr "false" - IL_0079: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) - IL_007e: ldarg.1 - IL_007f: call string[] class [mscorlib]System.Enum::GetNames(class [mscorlib]System.Type) - IL_0084: stloc.1 - IL_0085: ldc.i4.0 - IL_0086: stloc.2 - IL_0087: ldarg.1 - IL_0088: call class [mscorlib]System.Array class [mscorlib]System.Enum::GetValues(class [mscorlib]System.Type) - IL_008d: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Array::GetEnumerator() - IL_0092: stloc.s 4 - .try { // 0 - IL_0094: br IL_00f3 - - IL_0099: ldloc.s 4 - IL_009b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_00a0: castclass [mscorlib]System.Enum - IL_00a5: stloc.3 - IL_00a6: ldarg.0 - IL_00a7: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_00ac: ldstr "element" - IL_00b1: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) - IL_00b6: ldarg.0 - IL_00b7: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_00bc: ldstr "name" - IL_00c1: ldloc.1 - IL_00c2: ldloc.2 - IL_00c3: dup - IL_00c4: ldc.i4.1 - IL_00c5: add - IL_00c6: stloc.2 - IL_00c7: ldelem.ref - IL_00c8: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) - IL_00cd: ldarg.0 - IL_00ce: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_00d3: ldstr "value" - IL_00d8: ldloc.3 - IL_00d9: ldstr "d" - IL_00de: callvirt instance string class [mscorlib]System.Enum::ToString(string) - IL_00e3: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) - IL_00e8: ldarg.0 - IL_00e9: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_00ee: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() - IL_00f3: ldloc.s 4 - IL_00f5: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00fa: brtrue IL_0099 - - IL_00ff: leave IL_011b - - } // end .try 0 - finally { // 0 - IL_0104: ldloc.s 4 - IL_0106: isinst [mscorlib]System.IDisposable - IL_010b: dup - IL_010c: stloc.s 5 - IL_010e: brfalse IL_011a - - IL_0113: ldloc.s 5 - IL_0115: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_011a: endfinally - } // end handler 0 - IL_011b: ldarg.0 - IL_011c: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer - IL_0121: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() - IL_0126: ret - } // end of method Introspector::WriteEnum + .custom instance void class [System.Xml]System.Xml.Serialization.XmlRootAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 49 73 4E 75 6C 6C 61 62 6C // ....T..IsNullabl + 65 01 ) // e. - } // end of class NDesk.DBus.Introspector -} + .field public string Name + .custom instance void class [System.Xml]System.Xml.Serialization.XmlAttributeAttribute::'.ctor'(string) = (01 00 04 6E 61 6D 65 00 00 ) // ...name.. -.namespace NDesk.DBus -{ - .class private auto ansi beforefieldinit InvalidAddressException - extends NDesk.DBus.BadAddressException - { - // method line 899 + // method line 851 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string reason) cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xcc35 - // Code size 8 (0x8) + // Method begins at RVA 0xb81b + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call instance void class NDesk.DBus.BadAddressException::'.ctor'(string) - IL_0007: ret - } // end of method InvalidAddressException::.ctor + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method Member::.ctor - } // end of class NDesk.DBus.InvalidAddressException + } // end of class NDesk.DBus.Introspection.Member } -.namespace NDesk.DBus +.namespace NDesk.DBus.Introspection { - .class private auto ansi beforefieldinit BadAddressException - extends [mscorlib]System.Exception + .class private auto ansi beforefieldinit Node + extends [mscorlib]System.Object { + .custom instance void class [System.Xml]System.Xml.Serialization.XmlRootAttribute::'.ctor'(string) = ( + 01 00 04 6E 6F 64 65 01 00 54 02 0A 49 73 4E 75 // ...node..T..IsNu + 6C 6C 61 62 6C 65 01 ) // llable. - // method line 900 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string reason) cil managed - { - // Method begins at RVA 0xcc2c - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0007: ret - } // end of method BadAddressException::.ctor + .field public string Name + .custom instance void class [System.Xml]System.Xml.Serialization.XmlAttributeAttribute::'.ctor'(string) = (01 00 04 6E 61 6D 65 00 00 ) // ...name.. - } // end of class NDesk.DBus.BadAddressException -} + .field public class NDesk.DBus.Introspection.Interface[] Interfaces + .custom instance void class [System.Xml]System.Xml.Serialization.XmlElementAttribute::'.ctor'(string) = ( + 01 00 09 69 6E 74 65 72 66 61 63 65 01 00 54 50 // ...interface..TP + 04 54 79 70 65 22 4E 44 65 73 6B 2E 44 42 75 73 // .Type"NDesk.DBus + 2E 49 6E 74 72 6F 73 70 65 63 74 69 6F 6E 2E 49 // .Introspection.I + 6E 74 65 72 66 61 63 65 ) // nterface -.namespace NDesk.DBus -{ - .class private auto ansi beforefieldinit AddressEntry - extends [mscorlib]System.Object - { - .field public string Method - .field public initonly class [mscorlib]System.Collections.Generic.IDictionary`2 Properties - .field public valuetype NDesk.DBus.UUID GUID + .field public class NDesk.DBus.Introspection.Node[] Nodes + .custom instance void class [System.Xml]System.Xml.Serialization.XmlElementAttribute::'.ctor'(string) = ( + 01 00 04 6E 6F 64 65 01 00 54 50 04 54 79 70 65 // ...node..TP.Type + 1D 4E 44 65 73 6B 2E 44 42 75 73 2E 49 6E 74 72 // .NDesk.DBus.Intr + 6F 73 70 65 63 74 69 6F 6E 2E 4E 6F 64 65 ) // ospection.Node - // method line 901 + + // method line 852 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xcc3e - // Code size 29 (0x1d) + // Method begins at RVA 0xb823 + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() - IL_0006: stfld class [mscorlib]System.Collections.Generic.IDictionary`2 NDesk.DBus.AddressEntry::Properties - IL_000b: ldarg.0 - IL_000c: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero - IL_0011: stfld valuetype NDesk.DBus.UUID NDesk.DBus.AddressEntry::GUID - IL_0016: ldarg.0 - IL_0017: call instance void object::'.ctor'() - IL_001c: ret - } // end of method AddressEntry::.ctor - - // method line 902 - .method public virtual hidebysig - instance default string ToString () cil managed - { - // Method begins at RVA 0xcc5c - // Code size 245 (0xf5) - .maxstack 2 - .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - bool V_1, - valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2 V_2, - class [mscorlib]System.Collections.Generic.IEnumerator`1> V_3) - IL_0000: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0005: stloc.0 - IL_0006: ldloc.0 - IL_0007: ldarg.0 - IL_0008: ldfld string NDesk.DBus.AddressEntry::Method - IL_000d: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0012: pop - IL_0013: ldloc.0 - IL_0014: ldc.i4.s 0x3a - IL_0016: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_001b: pop - IL_001c: ldc.i4.1 - IL_001d: stloc.1 - IL_001e: ldarg.0 - IL_001f: ldfld class [mscorlib]System.Collections.Generic.IDictionary`2 NDesk.DBus.AddressEntry::Properties - IL_0024: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1>::GetEnumerator() - IL_0029: stloc.3 - .try { // 0 - IL_002a: br IL_0076 - - IL_002f: ldloc.3 - IL_0030: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1>::get_Current() - IL_0035: stloc.2 - IL_0036: ldloc.1 - IL_0037: brfalse IL_0043 - - IL_003c: ldc.i4.0 - IL_003d: stloc.1 - IL_003e: br IL_004c - - IL_0043: ldloc.0 - IL_0044: ldc.i4.s 0x2c - IL_0046: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_004b: pop - IL_004c: ldloc.0 - IL_004d: ldloca.s 2 - IL_004f: call instance !0 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Key() - IL_0054: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0059: pop - IL_005a: ldloc.0 - IL_005b: ldc.i4.s 0x3d - IL_005d: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_0062: pop - IL_0063: ldloc.0 - IL_0064: ldloca.s 2 - IL_0066: call instance !1 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Value() - IL_006b: call string class NDesk.DBus.AddressEntry::Escape(string) - IL_0070: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0075: pop - IL_0076: ldloc.3 - IL_0077: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_007c: brtrue IL_002f - - IL_0081: leave IL_0093 - - } // end .try 0 - finally { // 0 - IL_0086: ldloc.3 - IL_0087: brfalse IL_0092 - - IL_008c: ldloc.3 - IL_008d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0092: endfinally - } // end handler 0 - IL_0093: ldarg.0 - IL_0094: ldfld valuetype NDesk.DBus.UUID NDesk.DBus.AddressEntry::GUID - IL_0099: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero - IL_009e: call bool valuetype NDesk.DBus.UUID::op_Inequality(valuetype NDesk.DBus.UUID, valuetype NDesk.DBus.UUID) - IL_00a3: brfalse IL_00ee - - IL_00a8: ldarg.0 - IL_00a9: ldfld class [mscorlib]System.Collections.Generic.IDictionary`2 NDesk.DBus.AddressEntry::Properties - IL_00ae: callvirt instance int32 class [mscorlib]System.Collections.Generic.ICollection`1>::get_Count() - IL_00b3: brfalse IL_00c1 - - IL_00b8: ldloc.0 - IL_00b9: ldc.i4.s 0x2c - IL_00bb: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_00c0: pop - IL_00c1: ldloc.0 - IL_00c2: ldstr "guid" - IL_00c7: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00cc: pop - IL_00cd: ldloc.0 - IL_00ce: ldc.i4.s 0x3d - IL_00d0: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_00d5: pop - IL_00d6: ldloc.0 - IL_00d7: ldarg.0 - IL_00d8: ldflda valuetype NDesk.DBus.UUID NDesk.DBus.AddressEntry::GUID - IL_00dd: constrained. NDesk.DBus.UUID - IL_00e3: callvirt instance string object::ToString() - IL_00e8: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00ed: pop - IL_00ee: ldloc.0 - IL_00ef: callvirt instance string object::ToString() - IL_00f4: ret - } // end of method AddressEntry::ToString - - // method line 903 - .method private static hidebysig - default string Escape (string str) cil managed - { - // Method begins at RVA 0xcd70 - // Code size 135 (0x87) - .maxstack 2 - .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - int32 V_1, - int32 V_2, - char V_3) - IL_0000: ldarg.0 - IL_0001: brtrue IL_000c - - IL_0006: ldsfld string [mscorlib]System.String::Empty - IL_000b: ret - IL_000c: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0011: stloc.0 - IL_0012: ldarg.0 - IL_0013: callvirt instance int32 string::get_Length() - IL_0018: stloc.1 - IL_0019: ldc.i4.0 - IL_001a: stloc.2 - IL_001b: br IL_0079 - - IL_0020: ldarg.0 - IL_0021: ldloc.2 - IL_0022: callvirt instance char string::get_Chars(int32) - IL_0027: stloc.3 - IL_0028: ldloc.3 - IL_0029: call bool char::IsLetterOrDigit(char) - IL_002e: brtrue IL_005b - - IL_0033: ldloc.3 - IL_0034: ldc.i4.s 0x2d - IL_0036: beq IL_005b - - IL_003b: ldloc.3 - IL_003c: ldc.i4.s 0x5f - IL_003e: beq IL_005b - - IL_0043: ldloc.3 - IL_0044: ldc.i4.s 0x2f - IL_0046: beq IL_005b - - IL_004b: ldloc.3 - IL_004c: ldc.i4.s 0x5c - IL_004e: beq IL_005b - - IL_0053: ldloc.3 - IL_0054: ldc.i4.s 0x2e - IL_0056: bne.un IL_0068 - - IL_005b: ldloc.0 - IL_005c: ldloc.3 - IL_005d: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_0062: pop - IL_0063: br IL_0075 - - IL_0068: ldloc.0 - IL_0069: ldloc.3 - IL_006a: call string class [System]System.Uri::HexEscape(char) - IL_006f: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0074: pop - IL_0075: ldloc.2 - IL_0076: ldc.i4.1 - IL_0077: add - IL_0078: stloc.2 - IL_0079: ldloc.2 - IL_007a: ldloc.1 - IL_007b: bne.un IL_0020 - - IL_0080: ldloc.0 - IL_0081: callvirt instance string object::ToString() - IL_0086: ret - } // end of method AddressEntry::Escape - - // method line 904 - .method private static hidebysig - default string Unescape (string str) cil managed - { - // Method begins at RVA 0xce04 - // Code size 96 (0x60) - .maxstack 5 - .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - int32 V_1, - int32 V_2) - IL_0000: ldarg.0 - IL_0001: brtrue IL_000c - - IL_0006: ldsfld string [mscorlib]System.String::Empty - IL_000b: ret - IL_000c: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0011: stloc.0 - IL_0012: ldarg.0 - IL_0013: callvirt instance int32 string::get_Length() - IL_0018: stloc.1 - IL_0019: ldc.i4.0 - IL_001a: stloc.2 - IL_001b: br IL_0052 - - IL_0020: ldarg.0 - IL_0021: ldloc.2 - IL_0022: call bool class [System]System.Uri::IsHexEncoding(string, int32) - IL_0027: brfalse IL_0040 - - IL_002c: ldloc.0 - IL_002d: ldarg.0 - IL_002e: ldloca.s 2 - IL_0030: call char class [System]System.Uri::HexUnescape(string, [out] int32&) - IL_0035: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_003a: pop - IL_003b: br IL_0052 - - IL_0040: ldloc.0 - IL_0041: ldarg.0 - IL_0042: ldloc.2 - IL_0043: dup - IL_0044: ldc.i4.1 - IL_0045: add - IL_0046: stloc.2 - IL_0047: callvirt instance char string::get_Chars(int32) - IL_004c: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_0051: pop - IL_0052: ldloc.2 - IL_0053: ldloc.1 - IL_0054: bne.un IL_0020 - - IL_0059: ldloc.0 - IL_005a: callvirt instance string object::ToString() - IL_005f: ret - } // end of method AddressEntry::Unescape - - // method line 905 - .method public static hidebysig - default class NDesk.DBus.AddressEntry Parse (string s) cil managed - { - // Method begins at RVA 0xce70 - // Code size 258 (0x102) - .maxstack 5 - .locals init ( - class NDesk.DBus.AddressEntry V_0, - string[] V_1, - string V_2, - string[] V_3, - int32 V_4) - IL_0000: newobj instance void class NDesk.DBus.AddressEntry::'.ctor'() - IL_0005: stloc.0 - IL_0006: ldarg.0 - IL_0007: ldc.i4.1 - IL_0008: newarr [mscorlib]System.Char - IL_000d: dup - IL_000e: ldc.i4.0 - IL_000f: ldc.i4.s 0x3a - IL_0011: stelem.i2 - IL_0012: callvirt instance string[] string::Split(char[]) - IL_0017: stloc.1 - IL_0018: ldloc.1 - IL_0019: ldlen - IL_001a: conv.i4 - IL_001b: ldc.i4.2 - IL_001c: bge IL_002c - - IL_0021: ldstr "No colon found" - IL_0026: newobj instance void class NDesk.DBus.InvalidAddressException::'.ctor'(string) - IL_002b: throw - IL_002c: ldloc.1 - IL_002d: ldlen - IL_002e: conv.i4 - IL_002f: ldc.i4.2 - IL_0030: ble IL_0040 - - IL_0035: ldstr "Too many colons found" - IL_003a: newobj instance void class NDesk.DBus.InvalidAddressException::'.ctor'(string) - IL_003f: throw - IL_0040: ldloc.0 - IL_0041: ldloc.1 - IL_0042: ldc.i4.0 - IL_0043: ldelem.ref - IL_0044: stfld string NDesk.DBus.AddressEntry::Method - IL_0049: ldloc.1 - IL_004a: ldc.i4.1 - IL_004b: ldelem.ref - IL_004c: ldc.i4.1 - IL_004d: newarr [mscorlib]System.Char - IL_0052: dup - IL_0053: ldc.i4.0 - IL_0054: ldc.i4.s 0x2c - IL_0056: stelem.i2 - IL_0057: callvirt instance string[] string::Split(char[]) - IL_005c: stloc.3 - IL_005d: ldc.i4.0 - IL_005e: stloc.s 4 - IL_0060: br IL_00f6 - - IL_0065: ldloc.3 - IL_0066: ldloc.s 4 - IL_0068: ldelem.ref - IL_0069: stloc.2 - IL_006a: ldloc.2 - IL_006b: ldc.i4.1 - IL_006c: newarr [mscorlib]System.Char - IL_0071: dup - IL_0072: ldc.i4.0 - IL_0073: ldc.i4.s 0x3d - IL_0075: stelem.i2 - IL_0076: callvirt instance string[] string::Split(char[]) - IL_007b: stloc.1 - IL_007c: ldloc.1 - IL_007d: ldlen - IL_007e: conv.i4 - IL_007f: ldc.i4.2 - IL_0080: bge IL_0090 - - IL_0085: ldstr "No equals sign found" - IL_008a: newobj instance void class NDesk.DBus.InvalidAddressException::'.ctor'(string) - IL_008f: throw - IL_0090: ldloc.1 - IL_0091: ldlen - IL_0092: conv.i4 - IL_0093: ldc.i4.2 - IL_0094: ble IL_00a4 - - IL_0099: ldstr "Too many equals signs found" - IL_009e: newobj instance void class NDesk.DBus.InvalidAddressException::'.ctor'(string) - IL_00a3: throw - IL_00a4: ldloc.1 - IL_00a5: ldc.i4.0 - IL_00a6: ldelem.ref - IL_00a7: ldstr "guid" - IL_00ac: call bool string::op_Equality(string, string) - IL_00b1: brfalse IL_00da - - .try { // 0 - IL_00b6: ldloc.0 - IL_00b7: ldloc.1 - IL_00b8: ldc.i4.1 - IL_00b9: ldelem.ref - IL_00ba: call valuetype NDesk.DBus.UUID valuetype NDesk.DBus.UUID::Parse(string) - IL_00bf: stfld valuetype NDesk.DBus.UUID NDesk.DBus.AddressEntry::GUID - IL_00c4: leave IL_00d5 - - } // end .try 0 - catch class [mscorlib]System.Object { // 0 - IL_00c9: pop - IL_00ca: ldstr "Invalid guid specified" - IL_00cf: newobj instance void class NDesk.DBus.InvalidAddressException::'.ctor'(string) - IL_00d4: throw - } // end handler 0 - IL_00d5: br IL_00f0 - - IL_00da: ldloc.0 - IL_00db: ldfld class [mscorlib]System.Collections.Generic.IDictionary`2 NDesk.DBus.AddressEntry::Properties - IL_00e0: ldloc.1 - IL_00e1: ldc.i4.0 - IL_00e2: ldelem.ref - IL_00e3: ldloc.1 - IL_00e4: ldc.i4.1 - IL_00e5: ldelem.ref - IL_00e6: call string class NDesk.DBus.AddressEntry::Unescape(string) - IL_00eb: callvirt instance void class [mscorlib]System.Collections.Generic.IDictionary`2::set_Item(!0, !1) - IL_00f0: ldloc.s 4 - IL_00f2: ldc.i4.1 - IL_00f3: add - IL_00f4: stloc.s 4 - IL_00f6: ldloc.s 4 - IL_00f8: ldloc.3 - IL_00f9: ldlen - IL_00fa: conv.i4 - IL_00fb: blt IL_0065 - - IL_0100: ldloc.0 - IL_0101: ret - } // end of method AddressEntry::Parse + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method Node::.ctor - } // end of class NDesk.DBus.AddressEntry + } // end of class NDesk.DBus.Introspection.Node } -.namespace NDesk.DBus +.namespace NDesk.DBus.Introspection { - .class private auto ansi abstract sealed beforefieldinit Address + .class private auto ansi beforefieldinit Interface extends [mscorlib]System.Object { - .field private static literal string SYSTEM_BUS_ADDRESS = "unix:path=/var/run/dbus/system_bus_socket" - - // method line 906 - .method public static hidebysig - default class NDesk.DBus.AddressEntry[] Parse (string addresses) cil managed - { - // Method begins at RVA 0xcf90 - // Code size 80 (0x50) - .maxstack 5 - .locals init ( - class [mscorlib]System.Collections.Generic.List`1 V_0, - string V_1, - string[] V_2, - int32 V_3) - IL_0000: ldarg.0 - IL_0001: brtrue IL_000d - - IL_0006: ldarg.0 - IL_0007: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_000c: throw - IL_000d: newobj instance void class [mscorlib]System.Collections.Generic.List`1::'.ctor'() - IL_0012: stloc.0 - IL_0013: ldarg.0 - IL_0014: ldc.i4.1 - IL_0015: newarr [mscorlib]System.Char - IL_001a: dup - IL_001b: ldc.i4.0 - IL_001c: ldc.i4.s 0x3b - IL_001e: stelem.i2 - IL_001f: callvirt instance string[] string::Split(char[]) - IL_0024: stloc.2 - IL_0025: ldc.i4.0 - IL_0026: stloc.3 - IL_0027: br IL_0040 - - IL_002c: ldloc.2 - IL_002d: ldloc.3 - IL_002e: ldelem.ref - IL_002f: stloc.1 - IL_0030: ldloc.0 - IL_0031: ldloc.1 - IL_0032: call class NDesk.DBus.AddressEntry class NDesk.DBus.AddressEntry::Parse(string) - IL_0037: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Add(!0) - IL_003c: ldloc.3 - IL_003d: ldc.i4.1 - IL_003e: add - IL_003f: stloc.3 - IL_0040: ldloc.3 - IL_0041: ldloc.2 - IL_0042: ldlen - IL_0043: conv.i4 - IL_0044: blt IL_002c - - IL_0049: ldloc.0 - IL_004a: callvirt instance !0[] class [mscorlib]System.Collections.Generic.List`1::ToArray() - IL_004f: ret - } // end of method Address::Parse - - // method line 907 - .method public static hidebysig specialname - default string get_System () cil managed - { - // Method begins at RVA 0xcfec - // Code size 30 (0x1e) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: ldstr "DBUS_SYSTEM_BUS_ADDRESS" - IL_0005: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) - IL_000a: stloc.0 - IL_000b: ldloc.0 - IL_000c: call bool string::IsNullOrEmpty(string) - IL_0011: brfalse IL_001c - - IL_0016: ldstr "unix:path=/var/run/dbus/system_bus_socket" - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ret - } // end of method Address::get_System + .custom instance void class [System.Xml]System.Xml.Serialization.XmlRootAttribute::'.ctor'(string) = ( + 01 00 09 69 6E 74 65 72 66 61 63 65 01 00 54 02 // ...interface..T. + 0A 49 73 4E 75 6C 6C 61 62 6C 65 01 ) // .IsNullable. - // method line 908 - .method public static hidebysig specialname - default string get_Session () cil managed - { - // Method begins at RVA 0xd016 - // Code size 11 (0xb) - .maxstack 8 - IL_0000: ldstr "DBUS_SESSION_BUS_ADDRESS" - IL_0005: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) - IL_000a: ret - } // end of method Address::get_Session + .field public string Name + .custom instance void class [System.Xml]System.Xml.Serialization.XmlAttributeAttribute::'.ctor'(string) = (01 00 04 6E 61 6D 65 00 00 ) // ...name.. - // method line 909 - .method public static hidebysig specialname - default string get_Starter () cil managed - { - // Method begins at RVA 0xd022 - // Code size 11 (0xb) - .maxstack 8 - IL_0000: ldstr "DBUS_STARTER_ADDRESS" - IL_0005: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) - IL_000a: ret - } // end of method Address::get_Starter + .field public class NDesk.DBus.Introspection.Method[] Methods + .custom instance void class [System.Xml]System.Xml.Serialization.XmlElementAttribute::'.ctor'(string) = ( + 01 00 06 6D 65 74 68 6F 64 01 00 54 50 04 54 79 // ...method..TP.Ty + 70 65 1F 4E 44 65 73 6B 2E 44 42 75 73 2E 49 6E // pe.NDesk.DBus.In + 74 72 6F 73 70 65 63 74 69 6F 6E 2E 4D 65 74 68 // trospection.Meth + 6F 64 ) // od - // method line 910 - .method public static hidebysig specialname - default string get_StarterBusType () cil managed - { - // Method begins at RVA 0xd02e - // Code size 11 (0xb) - .maxstack 8 - IL_0000: ldstr "DBUS_STARTER_BUS_TYPE" - IL_0005: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) - IL_000a: ret - } // end of method Address::get_StarterBusType + .field public class NDesk.DBus.Introspection.Signal[] Signals + .custom instance void class [System.Xml]System.Xml.Serialization.XmlElementAttribute::'.ctor'(string) = ( + 01 00 06 73 69 67 6E 61 6C 01 00 54 50 04 54 79 // ...signal..TP.Ty + 70 65 1F 4E 44 65 73 6B 2E 44 42 75 73 2E 49 6E // pe.NDesk.DBus.In + 74 72 6F 73 70 65 63 74 69 6F 6E 2E 53 69 67 6E // trospection.Sign + 61 6C ) // al - .property string System () - { - .get default string NDesk.DBus.Address::get_System () - } - .property string Session () - { - .get default string NDesk.DBus.Address::get_Session () - } - .property string Starter () - { - .get default string NDesk.DBus.Address::get_Starter () - } - .property string StarterBusType () - { - .get default string NDesk.DBus.Address::get_StarterBusType () - } - } // end of class NDesk.DBus.Address -} + .field public class NDesk.DBus.Introspection.Property[] Properties + .custom instance void class [System.Xml]System.Xml.Serialization.XmlElementAttribute::'.ctor'(string) = ( + 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 50 04 // ...property..TP. + 54 79 70 65 21 4E 44 65 73 6B 2E 44 42 75 73 2E // Type!NDesk.DBus. + 49 6E 74 72 6F 73 70 65 63 74 69 6F 6E 2E 50 72 // Introspection.Pr + 6F 70 65 72 74 79 ) // operty -.namespace NDesk.DBus -{ - .class private auto ansi beforefieldinit BusObject - extends [mscorlib]System.Object - { - .field family class NDesk.DBus.Connection conn - .field private string bus_name - .field private string alt_bus_name - .field private class NDesk.DBus.ObjectPath object_path - .field private static class [mscorlib]System.Collections.Generic.Dictionary`2 boCache - // method line 911 + // method line 853 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xd03a + // Method begins at RVA 0xb82b // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 IL_0001: call instance void object::'.ctor'() IL_0006: ret - } // end of method BusObject::.ctor + } // end of method Interface::.ctor - // method line 912 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NDesk.DBus.Connection conn, string bus_name, class NDesk.DBus.ObjectPath object_path) cil managed - { - // Method begins at RVA 0xd042 - // Code size 28 (0x1c) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ldarg.0 - IL_0007: ldarg.1 - IL_0008: stfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_000d: ldarg.0 - IL_000e: ldarg.2 - IL_000f: stfld string NDesk.DBus.BusObject::bus_name - IL_0014: ldarg.0 - IL_0015: ldarg.3 - IL_0016: stfld class NDesk.DBus.ObjectPath NDesk.DBus.BusObject::object_path - IL_001b: ret - } // end of method BusObject::.ctor + } // end of class NDesk.DBus.Introspection.Interface +} - // method line 913 - .method public hidebysig specialname - instance default class NDesk.DBus.Connection get_Connection () cil managed - { - // Method begins at RVA 0xd05f - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_0006: ret - } // end of method BusObject::get_Connection +.namespace NDesk.DBus.Introspection +{ + .class private auto ansi beforefieldinit Method + extends NDesk.DBus.Introspection.Member + { + .custom instance void class [System.Xml]System.Xml.Serialization.XmlRootAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 49 73 4E 75 6C 6C 61 62 6C // ....T..IsNullabl + 65 01 ) // e. - // method line 914 - .method public hidebysig specialname - instance default string get_BusName () cil managed - { - // Method begins at RVA 0xd067 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld string NDesk.DBus.BusObject::bus_name - IL_0006: ret - } // end of method BusObject::get_BusName + .field public class NDesk.DBus.Introspection.Argument[] Arguments + .custom instance void class [System.Xml]System.Xml.Serialization.XmlElementAttribute::'.ctor'(string) = ( + 01 00 03 61 72 67 01 00 54 50 04 54 79 70 65 21 // ...arg..TP.Type! + 4E 44 65 73 6B 2E 44 42 75 73 2E 49 6E 74 72 6F // NDesk.DBus.Intro + 73 70 65 63 74 69 6F 6E 2E 41 72 67 75 6D 65 6E // spection.Argumen + 74 ) // t - // method line 915 - .method public hidebysig specialname - instance default class NDesk.DBus.ObjectPath get_Path () cil managed + + // method line 854 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xd06f + // Method begins at RVA 0xb833 // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.BusObject::object_path + IL_0001: call instance void class NDesk.DBus.Introspection.Member::'.ctor'() IL_0006: ret - } // end of method BusObject::get_Path - - // method line 916 - .method public hidebysig - instance default void ToggleSignal (string iface, string member, class [mscorlib]System.Delegate dlg, bool adding) cil managed - { - // Method begins at RVA 0xd078 - // Code size 347 (0x15b) - .maxstack 4 - .locals init ( - class NDesk.DBus.MatchRule V_0) - IL_0000: newobj instance void class NDesk.DBus.MatchRule::'.ctor'() - IL_0005: stloc.0 - IL_0006: ldloc.0 - IL_0007: ldc.i4.4 - IL_0008: newobj instance void valuetype [mscorlib]System.Nullable`1::'.ctor'(!0) - IL_000d: stfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.MatchRule::MessageType - IL_0012: ldloc.0 - IL_0013: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields - IL_0018: ldc.i4.2 - IL_0019: ldarg.1 - IL_001a: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(string) - IL_001f: callvirt instance void class [System]System.Collections.Generic.SortedList`2::Add(!0, !1) - IL_0024: ldloc.0 - IL_0025: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields - IL_002a: ldc.i4.3 - IL_002b: ldarg.2 - IL_002c: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(string) - IL_0031: callvirt instance void class [System]System.Collections.Generic.SortedList`2::Add(!0, !1) - IL_0036: ldloc.0 - IL_0037: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields - IL_003c: ldc.i4.1 - IL_003d: ldarg.0 - IL_003e: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.BusObject::object_path - IL_0043: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(class NDesk.DBus.ObjectPath) - IL_0048: callvirt instance void class [System]System.Collections.Generic.SortedList`2::Add(!0, !1) - IL_004d: ldloc.0 - IL_004e: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields - IL_0053: ldc.i4.7 - IL_0054: ldarg.0 - IL_0055: ldfld string NDesk.DBus.BusObject::alt_bus_name - IL_005a: dup - IL_005b: brtrue IL_0067 - - IL_0060: pop - IL_0061: ldarg.0 - IL_0062: ldfld string NDesk.DBus.BusObject::bus_name - IL_0067: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(string) - IL_006c: callvirt instance void class [System]System.Collections.Generic.SortedList`2::Add(!0, !1) - IL_0071: ldarg.s 4 - IL_0073: brfalse IL_00e3 - - IL_0078: ldarg.0 - IL_0079: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_007e: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers - IL_0083: ldloc.0 - IL_0084: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::ContainsKey(!0) - IL_0089: brfalse IL_00bb - - IL_008e: ldarg.0 - IL_008f: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_0094: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers - IL_0099: ldloc.0 - IL_009a: ldarg.0 - IL_009b: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_00a0: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers - IL_00a5: ldloc.0 - IL_00a6: callvirt instance !1 class [mscorlib]System.Collections.Generic.Dictionary`2::get_Item(!0) - IL_00ab: ldarg.3 - IL_00ac: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Combine(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) - IL_00b1: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::set_Item(!0, !1) - IL_00b6: br IL_00de - - IL_00bb: ldarg.0 - IL_00bc: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_00c1: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers - IL_00c6: ldloc.0 - IL_00c7: ldarg.3 - IL_00c8: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::set_Item(!0, !1) - IL_00cd: ldarg.0 - IL_00ce: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_00d3: ldloc.0 - IL_00d4: callvirt instance string object::ToString() - IL_00d9: callvirt instance void class NDesk.DBus.Connection::AddMatch(string) - IL_00de: br IL_015a - - IL_00e3: ldarg.0 - IL_00e4: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_00e9: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers - IL_00ee: ldloc.0 - IL_00ef: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::ContainsKey(!0) - IL_00f4: brfalse IL_015a - - IL_00f9: ldarg.0 - IL_00fa: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_00ff: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers - IL_0104: ldloc.0 - IL_0105: ldarg.0 - IL_0106: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_010b: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers - IL_0110: ldloc.0 - IL_0111: callvirt instance !1 class [mscorlib]System.Collections.Generic.Dictionary`2::get_Item(!0) - IL_0116: ldarg.3 - IL_0117: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Remove(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) - IL_011c: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::set_Item(!0, !1) - IL_0121: ldarg.0 - IL_0122: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_0127: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers - IL_012c: ldloc.0 - IL_012d: callvirt instance !1 class [mscorlib]System.Collections.Generic.Dictionary`2::get_Item(!0) - IL_0132: brtrue IL_015a - - IL_0137: ldarg.0 - IL_0138: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_013d: ldloc.0 - IL_013e: callvirt instance string object::ToString() - IL_0143: callvirt instance void class NDesk.DBus.Connection::RemoveMatch(string) - IL_0148: ldarg.0 - IL_0149: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_014e: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers - IL_0153: ldloc.0 - IL_0154: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::Remove(!0) - IL_0159: pop - IL_015a: ret - } // end of method BusObject::ToggleSignal - - // method line 917 - .method public hidebysig - instance default void SendSignal (string iface, string member, string inSigStr, class NDesk.DBus.MessageWriter writer, class [mscorlib]System.Type retType, [out] class [mscorlib]System.Exception& exception) cil managed - { - // Method begins at RVA 0xd1e0 - // Code size 92 (0x5c) - .maxstack 3 - .locals init ( - valuetype NDesk.DBus.Signature V_0, - class NDesk.DBus.Signal V_1, - class NDesk.DBus.Message V_2) - IL_0000: ldarg.s 6 - IL_0002: ldnull - IL_0003: stind.ref - IL_0004: ldarg.3 - IL_0005: call bool string::IsNullOrEmpty(string) - IL_000a: brfalse IL_0019 - - IL_000f: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty - IL_0014: br IL_001f - - IL_0019: ldarg.3 - IL_001a: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(string) - IL_001f: stloc.0 - IL_0020: ldarg.0 - IL_0021: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.BusObject::object_path - IL_0026: ldarg.1 - IL_0027: ldarg.2 - IL_0028: newobj instance void class NDesk.DBus.Signal::'.ctor'(class NDesk.DBus.ObjectPath, string, string) - IL_002d: stloc.1 - IL_002e: ldloc.1 - IL_002f: ldfld class NDesk.DBus.Message NDesk.DBus.Signal::message - IL_0034: ldloc.0 - IL_0035: callvirt instance void class NDesk.DBus.Message::set_Signature(valuetype NDesk.DBus.Signature) - IL_003a: ldloc.1 - IL_003b: ldfld class NDesk.DBus.Message NDesk.DBus.Signal::message - IL_0040: stloc.2 - IL_0041: ldloc.2 - IL_0042: ldarg.s 4 - IL_0044: callvirt instance unsigned int8[] class NDesk.DBus.MessageWriter::ToArray() - IL_0049: stfld unsigned int8[] NDesk.DBus.Message::Body - IL_004e: ldarg.0 - IL_004f: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_0054: ldloc.2 - IL_0055: callvirt instance unsigned int32 class NDesk.DBus.Connection::Send(class NDesk.DBus.Message) - IL_005a: pop - IL_005b: ret - } // end of method BusObject::SendSignal - - // method line 918 - .method public hidebysig - instance default object SendMethodCallOld (string iface, string member, string inSigStr, class NDesk.DBus.MessageWriter writer, class [mscorlib]System.Type retType, [out] class [mscorlib]System.Exception& exception) cil managed - { - // Method begins at RVA 0xd248 - // Code size 350 (0x15e) - .maxstack 5 - .locals init ( - valuetype NDesk.DBus.Signature V_0, - class NDesk.DBus.MethodCall V_1, - class NDesk.DBus.Message V_2, - class [mscorlib]System.Type[] V_3, - bool V_4, - class NDesk.DBus.Message V_5, - object V_6, - valuetype NDesk.DBus.MessageType V_7, - object[] V_8, - class NDesk.DBus.Error V_9, - string V_10, - valuetype NDesk.DBus.Signature V_11, - class NDesk.DBus.MessageReader V_12) - IL_0000: ldarg.s 6 - IL_0002: ldnull - IL_0003: stind.ref - IL_0004: ldarg.3 - IL_0005: call bool string::IsNullOrEmpty(string) - IL_000a: brfalse IL_0019 - - IL_000f: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty - IL_0014: br IL_001f - - IL_0019: ldarg.3 - IL_001a: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(string) - IL_001f: stloc.0 - IL_0020: ldarg.0 - IL_0021: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.BusObject::object_path - IL_0026: ldarg.1 - IL_0027: ldarg.2 - IL_0028: ldarg.0 - IL_0029: ldfld string NDesk.DBus.BusObject::bus_name - IL_002e: ldloc.0 - IL_002f: newobj instance void class NDesk.DBus.MethodCall::'.ctor'(class NDesk.DBus.ObjectPath, string, string, string, valuetype NDesk.DBus.Signature) - IL_0034: stloc.1 - IL_0035: ldloc.1 - IL_0036: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message - IL_003b: stloc.2 - IL_003c: ldloc.2 - IL_003d: ldarg.s 4 - IL_003f: callvirt instance unsigned int8[] class NDesk.DBus.MessageWriter::ToArray() - IL_0044: stfld unsigned int8[] NDesk.DBus.Message::Body - IL_0049: ldc.i4.1 - IL_004a: newarr [mscorlib]System.Type - IL_004f: stloc.3 - IL_0050: ldloc.3 - IL_0051: ldc.i4.0 - IL_0052: ldarg.s 5 - IL_0054: stelem.ref - IL_0055: ldc.i4.1 - IL_0056: stloc.s 4 - IL_0058: ldloc.2 - IL_0059: ldloc.s 4 - IL_005b: callvirt instance void class NDesk.DBus.Message::set_ReplyExpected(bool) - IL_0060: ldloc.2 - IL_0061: ldloc.0 - IL_0062: callvirt instance void class NDesk.DBus.Message::set_Signature(valuetype NDesk.DBus.Signature) - IL_0067: ldloc.s 4 - IL_0069: brtrue IL_007d - - IL_006e: ldarg.0 - IL_006f: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_0074: ldloc.2 - IL_0075: callvirt instance unsigned int32 class NDesk.DBus.Connection::Send(class NDesk.DBus.Message) - IL_007a: pop - IL_007b: ldnull - IL_007c: ret - IL_007d: ldarg.0 - IL_007e: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_0083: ldloc.2 - IL_0084: callvirt instance class NDesk.DBus.Message class NDesk.DBus.Connection::SendWithReplyAndBlock(class NDesk.DBus.Message) - IL_0089: stloc.s 5 - IL_008b: ldnull - IL_008c: stloc.s 6 - IL_008e: ldloc.s 5 - IL_0090: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0095: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType - IL_009a: stloc.s 7 - IL_009c: ldloc.s 7 - IL_009e: ldc.i4.2 - IL_009f: beq IL_00b1 - - IL_00a4: ldloc.s 7 - IL_00a6: ldc.i4.3 - IL_00a7: beq IL_00d4 - - IL_00ac: br IL_0135 - - IL_00b1: ldloc.s 5 - IL_00b3: ldloc.3 - IL_00b4: call object[] class NDesk.DBus.MessageHelper::GetDynamicValues(class NDesk.DBus.Message, class [mscorlib]System.Type[]) - IL_00b9: stloc.s 8 - IL_00bb: ldloc.s 8 - IL_00bd: ldlen - IL_00be: conv.i4 - IL_00bf: brfalse IL_00cf - - IL_00c4: ldloc.s 8 - IL_00c6: ldloc.s 8 - IL_00c8: ldlen - IL_00c9: conv.i4 - IL_00ca: ldc.i4.1 - IL_00cb: sub - IL_00cc: ldelem.ref - IL_00cd: stloc.s 6 - IL_00cf: br IL_015b - - IL_00d4: ldloc.s 5 - IL_00d6: newobj instance void class NDesk.DBus.Error::'.ctor'(class NDesk.DBus.Message) - IL_00db: stloc.s 9 - IL_00dd: ldsfld string [mscorlib]System.String::Empty - IL_00e2: stloc.s 10 - IL_00e4: ldloc.s 5 - IL_00e6: callvirt instance valuetype NDesk.DBus.Signature class NDesk.DBus.Message::get_Signature() - IL_00eb: stloc.s 11 - IL_00ed: ldloca.s 11 - IL_00ef: call instance string valuetype NDesk.DBus.Signature::get_Value() - IL_00f4: ldstr "s" - IL_00f9: callvirt instance bool string::StartsWith(string) - IL_00fe: brfalse IL_0115 - - IL_0103: ldloc.s 5 - IL_0105: newobj instance void class NDesk.DBus.MessageReader::'.ctor'(class NDesk.DBus.Message) - IL_010a: stloc.s 12 - IL_010c: ldloc.s 12 - IL_010e: callvirt instance string class NDesk.DBus.MessageReader::ReadString() - IL_0113: stloc.s 10 - IL_0115: ldarg.s 6 - IL_0117: ldloc.s 9 - IL_0119: ldfld string NDesk.DBus.Error::ErrorName - IL_011e: ldstr ": " - IL_0123: ldloc.s 10 - IL_0125: call string string::Concat(string, string, string) - IL_012a: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_012f: stind.ref - IL_0130: br IL_015b - - IL_0135: ldstr "Got unexpected message of type " - IL_013a: ldloc.s 5 - IL_013c: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0141: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType - IL_0146: box NDesk.DBus.MessageType - IL_014b: ldstr " while waiting for a MethodReturn or Error" - IL_0150: call string string::Concat(object, object, object) - IL_0155: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_015a: throw - IL_015b: ldloc.s 6 - IL_015d: ret - } // end of method BusObject::SendMethodCallOld - - // method line 919 - .method public hidebysig - instance default class NDesk.DBus.MessageReader SendMethodCall (string iface, string member, string inSigStr, class NDesk.DBus.MessageWriter writer, class [mscorlib]System.Type retType, [out] class [mscorlib]System.Exception& exception) cil managed - { - // Method begins at RVA 0xd3b4 - // Code size 387 (0x183) - .maxstack 5 - .locals init ( - valuetype NDesk.DBus.Signature V_0, - class NDesk.DBus.MethodCall V_1, - class NDesk.DBus.Message V_2, - class [mscorlib]System.Type[] V_3, - bool V_4, - class NDesk.DBus.Message V_5, - class NDesk.DBus.MessageReader V_6, - valuetype NDesk.DBus.MessageType V_7, - class NDesk.DBus.Error V_8, - string V_9, - valuetype NDesk.DBus.Signature V_10, - class NDesk.DBus.MessageReader V_11) - IL_0000: ldarg.s 6 - IL_0002: ldnull - IL_0003: stind.ref - IL_0004: ldarg.3 - IL_0005: call bool string::IsNullOrEmpty(string) - IL_000a: brfalse IL_0019 - - IL_000f: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty - IL_0014: br IL_001f - - IL_0019: ldarg.3 - IL_001a: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(string) - IL_001f: stloc.0 - IL_0020: ldarg.0 - IL_0021: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.BusObject::object_path - IL_0026: ldarg.1 - IL_0027: ldarg.2 - IL_0028: ldarg.0 - IL_0029: ldfld string NDesk.DBus.BusObject::bus_name - IL_002e: ldloc.0 - IL_002f: newobj instance void class NDesk.DBus.MethodCall::'.ctor'(class NDesk.DBus.ObjectPath, string, string, string, valuetype NDesk.DBus.Signature) - IL_0034: stloc.1 - IL_0035: ldloc.1 - IL_0036: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message - IL_003b: stloc.2 - IL_003c: ldloc.2 - IL_003d: ldarg.s 4 - IL_003f: callvirt instance unsigned int8[] class NDesk.DBus.MessageWriter::ToArray() - IL_0044: stfld unsigned int8[] NDesk.DBus.Message::Body - IL_0049: ldc.i4.1 - IL_004a: newarr [mscorlib]System.Type - IL_004f: stloc.3 - IL_0050: ldloc.3 - IL_0051: ldc.i4.0 - IL_0052: ldarg.s 5 - IL_0054: stelem.ref - IL_0055: ldc.i4.1 - IL_0056: stloc.s 4 - IL_0058: ldloc.2 - IL_0059: ldloc.s 4 - IL_005b: callvirt instance void class NDesk.DBus.Message::set_ReplyExpected(bool) - IL_0060: ldloc.2 - IL_0061: ldloc.0 - IL_0062: callvirt instance void class NDesk.DBus.Message::set_Signature(valuetype NDesk.DBus.Signature) - IL_0067: ldloc.s 4 - IL_0069: brtrue IL_007d - - IL_006e: ldarg.0 - IL_006f: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_0074: ldloc.2 - IL_0075: callvirt instance unsigned int32 class NDesk.DBus.Connection::Send(class NDesk.DBus.Message) - IL_007a: pop - IL_007b: ldnull - IL_007c: ret - IL_007d: ldarg.0 - IL_007e: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_0083: ldloc.2 - IL_0084: callvirt instance class NDesk.DBus.Message class NDesk.DBus.Connection::SendWithReplyAndBlock(class NDesk.DBus.Message) - IL_0089: stloc.s 5 - IL_008b: ldnull - IL_008c: stloc.s 6 - IL_008e: ldloc.s 5 - IL_0090: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0095: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType - IL_009a: stloc.s 7 - IL_009c: ldloc.s 7 - IL_009e: ldc.i4.2 - IL_009f: beq IL_00b1 - - IL_00a4: ldloc.s 7 - IL_00a6: ldc.i4.3 - IL_00a7: beq IL_00f9 - - IL_00ac: br IL_015a - - IL_00b1: ldloc.s 5 - IL_00b3: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_00b8: ldc.i4.7 - IL_00b9: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) - IL_00be: castclass [mscorlib]System.String - IL_00c3: ldarg.0 - IL_00c4: ldfld string NDesk.DBus.BusObject::bus_name - IL_00c9: call bool string::op_Inequality(string, string) - IL_00ce: brfalse IL_00eb - - IL_00d3: ldarg.0 - IL_00d4: ldloc.s 5 - IL_00d6: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_00db: ldc.i4.7 - IL_00dc: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) - IL_00e1: castclass [mscorlib]System.String - IL_00e6: stfld string NDesk.DBus.BusObject::alt_bus_name - IL_00eb: ldloc.s 5 - IL_00ed: newobj instance void class NDesk.DBus.MessageReader::'.ctor'(class NDesk.DBus.Message) - IL_00f2: stloc.s 6 - IL_00f4: br IL_0180 - - IL_00f9: ldloc.s 5 - IL_00fb: newobj instance void class NDesk.DBus.Error::'.ctor'(class NDesk.DBus.Message) - IL_0100: stloc.s 8 - IL_0102: ldsfld string [mscorlib]System.String::Empty - IL_0107: stloc.s 9 - IL_0109: ldloc.s 5 - IL_010b: callvirt instance valuetype NDesk.DBus.Signature class NDesk.DBus.Message::get_Signature() - IL_0110: stloc.s 10 - IL_0112: ldloca.s 10 - IL_0114: call instance string valuetype NDesk.DBus.Signature::get_Value() - IL_0119: ldstr "s" - IL_011e: callvirt instance bool string::StartsWith(string) - IL_0123: brfalse IL_013a - - IL_0128: ldloc.s 5 - IL_012a: newobj instance void class NDesk.DBus.MessageReader::'.ctor'(class NDesk.DBus.Message) - IL_012f: stloc.s 11 - IL_0131: ldloc.s 11 - IL_0133: callvirt instance string class NDesk.DBus.MessageReader::ReadString() - IL_0138: stloc.s 9 - IL_013a: ldarg.s 6 - IL_013c: ldloc.s 8 - IL_013e: ldfld string NDesk.DBus.Error::ErrorName - IL_0143: ldstr ": " - IL_0148: ldloc.s 9 - IL_014a: call string string::Concat(string, string, string) - IL_014f: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0154: stind.ref - IL_0155: br IL_0180 - - IL_015a: ldstr "Got unexpected message of type " - IL_015f: ldloc.s 5 - IL_0161: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0166: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType - IL_016b: box NDesk.DBus.MessageType - IL_0170: ldstr " while waiting for a MethodReturn or Error" - IL_0175: call string string::Concat(object, object, object) - IL_017a: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_017f: throw - IL_0180: ldloc.s 6 - IL_0182: ret - } // end of method BusObject::SendMethodCall - - // method line 920 - .method public hidebysig - instance default void Invoke (class [mscorlib]System.Reflection.MethodBase methodBase, string methodName, object[] inArgs, [out] object[]& outArgs, [out] object& retVal, [out] class [mscorlib]System.Exception& exception) cil managed - { - // Method begins at RVA 0xd544 - // Code size 655 (0x28f) - .maxstack 6 - .locals init ( - class [mscorlib]System.Reflection.MethodInfo V_0, - string[] V_1, - string V_2, - class [mscorlib]System.Delegate V_3, - class [mscorlib]System.Type[] V_4, - valuetype NDesk.DBus.Signature V_5, - class NDesk.DBus.MethodCall V_6, - class NDesk.DBus.Message V_7, - string V_8, - class NDesk.DBus.MessageWriter V_9, - int32 V_10, - class [mscorlib]System.Type[] V_11, - bool V_12, - class NDesk.DBus.Message V_13, - valuetype NDesk.DBus.MessageType V_14, - object[] V_15, - class NDesk.DBus.Error V_16, - string V_17, - valuetype NDesk.DBus.Signature V_18, - class NDesk.DBus.MessageReader V_19) - IL_0000: ldarg.s 4 - IL_0002: ldc.i4.0 - IL_0003: newarr [mscorlib]System.Object - IL_0008: stind.ref - IL_0009: ldarg.s 5 - IL_000b: ldnull - IL_000c: stind.ref - IL_000d: ldarg.s 6 - IL_000f: ldnull - IL_0010: stind.ref - IL_0011: ldarg.1 - IL_0012: isinst [mscorlib]System.Reflection.MethodInfo - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldnull - IL_001a: call bool class [mscorlib]System.Reflection.MethodInfo::op_Inequality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_001f: brfalse IL_008b - - IL_0024: ldloc.0 - IL_0025: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsSpecialName() - IL_002a: brfalse IL_008b - - IL_002f: ldarg.2 - IL_0030: ldstr "add_" - IL_0035: callvirt instance bool string::StartsWith(string) - IL_003a: brtrue IL_004f - - IL_003f: ldarg.2 - IL_0040: ldstr "remove_" - IL_0045: callvirt instance bool string::StartsWith(string) - IL_004a: brfalse IL_008b - - IL_004f: ldarg.2 - IL_0050: ldc.i4.1 - IL_0051: newarr [mscorlib]System.Char - IL_0056: dup - IL_0057: ldc.i4.0 - IL_0058: ldc.i4.s 0x5f - IL_005a: stelem.i2 - IL_005b: ldc.i4.2 - IL_005c: callvirt instance string[] string::Split(char[], int32) - IL_0061: stloc.1 - IL_0062: ldloc.1 - IL_0063: ldc.i4.1 - IL_0064: ldelem.ref - IL_0065: stloc.2 - IL_0066: ldarg.3 - IL_0067: ldc.i4.0 - IL_0068: ldelem.ref - IL_0069: castclass [mscorlib]System.Delegate - IL_006e: stloc.3 - IL_006f: ldarg.0 - IL_0070: ldloc.0 - IL_0071: call string class NDesk.DBus.Mapper::GetInterfaceName(class [mscorlib]System.Reflection.MemberInfo) - IL_0076: ldloc.2 - IL_0077: ldloc.3 - IL_0078: ldloc.1 - IL_0079: ldc.i4.0 - IL_007a: ldelem.ref - IL_007b: ldstr "add" - IL_0080: call bool string::op_Equality(string, string) - IL_0085: call instance void class NDesk.DBus.BusObject::ToggleSignal(string, string, class [mscorlib]System.Delegate, bool) - IL_008a: ret - IL_008b: ldc.i4.0 - IL_008c: ldloc.0 - IL_008d: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_0092: call class [mscorlib]System.Type[] class NDesk.DBus.Mapper::GetTypes(valuetype NDesk.DBus.ArgDirection, class [mscorlib]System.Reflection.ParameterInfo[]) - IL_0097: stloc.s 4 - IL_0099: ldloc.s 4 - IL_009b: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type[]) - IL_00a0: stloc.s 5 - IL_00a2: ldnull - IL_00a3: stloc.s 8 - IL_00a5: ldloc.0 - IL_00a6: ldnull - IL_00a7: call bool class [mscorlib]System.Reflection.MethodInfo::op_Inequality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_00ac: brfalse IL_00b9 + } // end of method Method::.ctor - IL_00b1: ldloc.0 - IL_00b2: call string class NDesk.DBus.Mapper::GetInterfaceName(class [mscorlib]System.Reflection.MemberInfo) - IL_00b7: stloc.s 8 - IL_00b9: ldloc.0 - IL_00ba: ldnull - IL_00bb: call bool class [mscorlib]System.Reflection.MethodInfo::op_Inequality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_00c0: brfalse IL_00f4 + } // end of class NDesk.DBus.Introspection.Method +} - IL_00c5: ldloc.0 - IL_00c6: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsSpecialName() - IL_00cb: brfalse IL_00f4 +.namespace NDesk.DBus.Introspection +{ + .class private auto ansi beforefieldinit Argument + extends [mscorlib]System.Object + { + .custom instance void class [System.Xml]System.Xml.Serialization.XmlRootAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 49 73 4E 75 6C 6C 61 62 6C // ....T..IsNullabl + 65 01 ) // e. - IL_00d0: ldarg.2 - IL_00d1: ldstr "get_" - IL_00d6: ldstr "Get" - IL_00db: callvirt instance string string::Replace(string, string) - IL_00e0: starg.s 2 - IL_00e2: ldarg.2 - IL_00e3: ldstr "set_" - IL_00e8: ldstr "Set" - IL_00ed: callvirt instance string string::Replace(string, string) - IL_00f2: starg.s 2 - IL_00f4: ldarg.0 - IL_00f5: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.BusObject::object_path - IL_00fa: ldloc.s 8 - IL_00fc: ldarg.2 - IL_00fd: ldarg.0 - IL_00fe: ldfld string NDesk.DBus.BusObject::bus_name - IL_0103: ldloc.s 5 - IL_0105: newobj instance void class NDesk.DBus.MethodCall::'.ctor'(class NDesk.DBus.ObjectPath, string, string, string, valuetype NDesk.DBus.Signature) - IL_010a: stloc.s 6 - IL_010c: ldloc.s 6 - IL_010e: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message - IL_0113: stloc.s 7 - IL_0115: ldarg.3 - IL_0116: brfalse IL_0173 + .field public string Name + .custom instance void class [System.Xml]System.Xml.Serialization.XmlAttributeAttribute::'.ctor'(string) = (01 00 04 6E 61 6D 65 00 00 ) // ...name.. - IL_011b: ldarg.3 - IL_011c: ldlen - IL_011d: conv.i4 - IL_011e: brfalse IL_0173 + .field public string Type + .custom instance void class [System.Xml]System.Xml.Serialization.XmlAttributeAttribute::'.ctor'(string) = (01 00 04 74 79 70 65 00 00 ) // ...type.. - IL_0123: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness - IL_0128: newobj instance void class NDesk.DBus.MessageWriter::'.ctor'(valuetype NDesk.DBus.EndianFlag) - IL_012d: stloc.s 9 - IL_012f: ldloc.s 9 - IL_0131: ldarg.0 - IL_0132: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_0137: stfld class NDesk.DBus.Connection NDesk.DBus.MessageWriter::connection - IL_013c: ldc.i4.0 - IL_013d: stloc.s 10 - IL_013f: br IL_015a + .field public valuetype NDesk.DBus.Introspection.ArgDirection Direction + .custom instance void class [System]System.ComponentModel.DefaultValueAttribute::'.ctor'(object) = ( + 01 00 55 25 4E 44 65 73 6B 2E 44 42 75 73 2E 49 // ..U%NDesk.DBus.I + 6E 74 72 6F 73 70 65 63 74 69 6F 6E 2E 41 72 67 // ntrospection.Arg + 44 69 72 65 63 74 69 6F 6E 00 00 00 00 00 00 ) // Direction...... - IL_0144: ldloc.s 9 - IL_0146: ldloc.s 4 - IL_0148: ldloc.s 10 - IL_014a: ldelem.ref - IL_014b: ldarg.3 - IL_014c: ldloc.s 10 - IL_014e: ldelem.ref - IL_014f: callvirt instance void class NDesk.DBus.MessageWriter::Write(class [mscorlib]System.Type, object) - IL_0154: ldloc.s 10 - IL_0156: ldc.i4.1 - IL_0157: add - IL_0158: stloc.s 10 - IL_015a: ldloc.s 10 - IL_015c: ldloc.s 4 - IL_015e: ldlen - IL_015f: conv.i4 - IL_0160: bne.un IL_0144 + .custom instance void class [System.Xml]System.Xml.Serialization.XmlAttributeAttribute::'.ctor'(string) = (01 00 09 64 69 72 65 63 74 69 6F 6E 00 00 ) // ...direction.. - IL_0165: ldloc.s 7 - IL_0167: ldloc.s 9 - IL_0169: callvirt instance unsigned int8[] class NDesk.DBus.MessageWriter::ToArray() - IL_016e: stfld unsigned int8[] NDesk.DBus.Message::Body - IL_0173: ldc.i4.1 - IL_0174: newarr [mscorlib]System.Type - IL_0179: stloc.s 11 - IL_017b: ldloc.s 11 - IL_017d: ldc.i4.0 - IL_017e: ldloc.0 - IL_017f: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MethodInfo::get_ReturnType() - IL_0184: stelem.ref - IL_0185: ldc.i4.1 - IL_0186: stloc.s 12 - IL_0188: ldloc.s 7 - IL_018a: ldloc.s 12 - IL_018c: callvirt instance void class NDesk.DBus.Message::set_ReplyExpected(bool) - IL_0191: ldloc.s 7 - IL_0193: ldloc.s 5 - IL_0195: callvirt instance void class NDesk.DBus.Message::set_Signature(valuetype NDesk.DBus.Signature) - IL_019a: ldloc.s 12 - IL_019c: brtrue IL_01b0 - IL_01a1: ldarg.0 - IL_01a2: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_01a7: ldloc.s 7 - IL_01a9: callvirt instance unsigned int32 class NDesk.DBus.Connection::Send(class NDesk.DBus.Message) - IL_01ae: pop - IL_01af: ret - IL_01b0: ldarg.0 - IL_01b1: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_01b6: ldloc.s 7 - IL_01b8: callvirt instance class NDesk.DBus.Message class NDesk.DBus.Connection::SendWithReplyAndBlock(class NDesk.DBus.Message) - IL_01bd: stloc.s 13 - IL_01bf: ldloc.s 13 - IL_01c1: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_01c6: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType - IL_01cb: stloc.s 14 - IL_01cd: ldloc.s 14 - IL_01cf: ldc.i4.2 - IL_01d0: beq IL_01e2 + // method line 855 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xb83b + // Code size 18 (0x12) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldsfld string [mscorlib]System.String::Empty + IL_0006: stfld string NDesk.DBus.Introspection.Argument::Name + IL_000b: ldarg.0 + IL_000c: call instance void object::'.ctor'() + IL_0011: ret + } // end of method Argument::.ctor - IL_01d5: ldloc.s 14 - IL_01d7: ldc.i4.3 - IL_01d8: beq IL_0207 + } // end of class NDesk.DBus.Introspection.Argument +} - IL_01dd: br IL_0268 +.namespace NDesk.DBus.Introspection +{ + .class private auto ansi sealed ArgDirection + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NDesk.DBus.Introspection.ArgDirection 'in' = int32(0x00000000) + .field public static literal valuetype NDesk.DBus.Introspection.ArgDirection 'out' = int32(0x00000001) - IL_01e2: ldloc.s 13 - IL_01e4: ldloc.s 11 - IL_01e6: call object[] class NDesk.DBus.MessageHelper::GetDynamicValues(class NDesk.DBus.Message, class [mscorlib]System.Type[]) - IL_01eb: stloc.s 15 - IL_01ed: ldloc.s 15 - IL_01ef: ldlen - IL_01f0: conv.i4 - IL_01f1: brfalse IL_0202 + } // end of class NDesk.DBus.Introspection.ArgDirection +} - IL_01f6: ldarg.s 5 - IL_01f8: ldloc.s 15 - IL_01fa: ldloc.s 15 - IL_01fc: ldlen - IL_01fd: conv.i4 - IL_01fe: ldc.i4.1 - IL_01ff: sub - IL_0200: ldelem.ref - IL_0201: stind.ref - IL_0202: br IL_028e +.namespace NDesk.DBus.Introspection +{ + .class private auto ansi beforefieldinit Annotation + extends [mscorlib]System.Object + { + .custom instance void class [System.Xml]System.Xml.Serialization.XmlRootAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 49 73 4E 75 6C 6C 61 62 6C // ....T..IsNullabl + 65 01 ) // e. - IL_0207: ldloc.s 13 - IL_0209: newobj instance void class NDesk.DBus.Error::'.ctor'(class NDesk.DBus.Message) - IL_020e: stloc.s 16 - IL_0210: ldsfld string [mscorlib]System.String::Empty - IL_0215: stloc.s 17 - IL_0217: ldloc.s 13 - IL_0219: callvirt instance valuetype NDesk.DBus.Signature class NDesk.DBus.Message::get_Signature() - IL_021e: stloc.s 18 - IL_0220: ldloca.s 18 - IL_0222: call instance string valuetype NDesk.DBus.Signature::get_Value() - IL_0227: ldstr "s" - IL_022c: callvirt instance bool string::StartsWith(string) - IL_0231: brfalse IL_0248 + .field public string Name + .custom instance void class [System.Xml]System.Xml.Serialization.XmlAttributeAttribute::'.ctor'(string) = (01 00 04 6E 61 6D 65 00 00 ) // ...name.. - IL_0236: ldloc.s 13 - IL_0238: newobj instance void class NDesk.DBus.MessageReader::'.ctor'(class NDesk.DBus.Message) - IL_023d: stloc.s 19 - IL_023f: ldloc.s 19 - IL_0241: callvirt instance string class NDesk.DBus.MessageReader::ReadString() - IL_0246: stloc.s 17 - IL_0248: ldarg.s 6 - IL_024a: ldloc.s 16 - IL_024c: ldfld string NDesk.DBus.Error::ErrorName - IL_0251: ldstr ": " - IL_0256: ldloc.s 17 - IL_0258: call string string::Concat(string, string, string) - IL_025d: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0262: stind.ref - IL_0263: br IL_028e + .field public string Value + .custom instance void class [System.Xml]System.Xml.Serialization.XmlAttributeAttribute::'.ctor'(string) = (01 00 05 76 61 6C 75 65 00 00 ) // ...value.. - IL_0268: ldstr "Got unexpected message of type " - IL_026d: ldloc.s 13 - IL_026f: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0274: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType - IL_0279: box NDesk.DBus.MessageType - IL_027e: ldstr " while waiting for a MethodReturn or Error" - IL_0283: call string string::Concat(object, object, object) - IL_0288: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_028d: throw - IL_028e: ret - } // end of method BusObject::Invoke - // method line 921 - .method public static hidebysig - default object GetObject (class NDesk.DBus.Connection conn, string bus_name, class NDesk.DBus.ObjectPath object_path, class [mscorlib]System.Type declType) cil managed + // method line 856 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xd7e0 - // Code size 49 (0x31) - .maxstack 2 - .locals init ( - class [mscorlib]System.Type V_0, - object V_1, - class NDesk.DBus.BusObject V_2) - IL_0000: ldsfld class NDesk.DBus.TypeImplementer NDesk.DBus.TypeImplementer::Root - IL_0005: ldarg.3 - IL_0006: callvirt instance class [mscorlib]System.Type class NDesk.DBus.TypeImplementer::GetImplementation(class [mscorlib]System.Type) - IL_000b: stloc.0 - IL_000c: ldloc.0 - IL_000d: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type) - IL_0012: stloc.1 - IL_0013: ldloc.1 - IL_0014: call class NDesk.DBus.BusObject class NDesk.DBus.BusObject::GetBusObject(object) - IL_0019: stloc.2 - IL_001a: ldloc.2 - IL_001b: ldarg.0 - IL_001c: stfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_0021: ldloc.2 - IL_0022: ldarg.1 - IL_0023: stfld string NDesk.DBus.BusObject::bus_name - IL_0028: ldloc.2 - IL_0029: ldarg.2 - IL_002a: stfld class NDesk.DBus.ObjectPath NDesk.DBus.BusObject::object_path - IL_002f: ldloc.1 - IL_0030: ret - } // end of method BusObject::GetObject + // Method begins at RVA 0xb84e + // Code size 29 (0x1d) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldsfld string [mscorlib]System.String::Empty + IL_0006: stfld string NDesk.DBus.Introspection.Annotation::Name + IL_000b: ldarg.0 + IL_000c: ldsfld string [mscorlib]System.String::Empty + IL_0011: stfld string NDesk.DBus.Introspection.Annotation::Value + IL_0016: ldarg.0 + IL_0017: call instance void object::'.ctor'() + IL_001c: ret + } // end of method Annotation::.ctor - // method line 922 - .method public static hidebysig - default class NDesk.DBus.BusObject GetBusObject (object instObj) cil managed + } // end of class NDesk.DBus.Introspection.Annotation +} + +.namespace NDesk.DBus.Introspection +{ + .class private auto ansi beforefieldinit Signal + extends NDesk.DBus.Introspection.Method + { + .custom instance void class [System.Xml]System.Xml.Serialization.XmlRootAttribute::'.ctor'(string) = ( + 01 00 06 73 69 67 6E 61 6C 01 00 54 02 0A 49 73 // ...signal..T..Is + 4E 75 6C 6C 61 62 6C 65 01 ) // Nullable. + + + // method line 857 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xd820 - // Code size 58 (0x3a) - .maxstack 3 - .locals init ( - class NDesk.DBus.BusObject V_0) + // Method begins at RVA 0xb86c + // Code size 7 (0x7) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: isinst NDesk.DBus.BusObject - IL_0006: brfalse IL_0012 + IL_0001: call instance void class NDesk.DBus.Introspection.Method::'.ctor'() + IL_0006: ret + } // end of method Signal::.ctor - IL_000b: ldarg.0 - IL_000c: castclass NDesk.DBus.BusObject - IL_0011: ret - IL_0012: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.BusObject::boCache - IL_0017: ldarg.0 - IL_0018: ldloca.s 0 - IL_001a: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) - IL_001f: brfalse IL_0026 + } // end of class NDesk.DBus.Introspection.Signal +} - IL_0024: ldloc.0 - IL_0025: ret - IL_0026: newobj instance void class NDesk.DBus.BusObject::'.ctor'() - IL_002b: stloc.0 - IL_002c: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.BusObject::boCache - IL_0031: ldarg.0 - IL_0032: ldloc.0 - IL_0033: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::set_Item(!0, !1) - IL_0038: ldloc.0 - IL_0039: ret - } // end of method BusObject::GetBusObject +.namespace NDesk.DBus.Introspection +{ + .class private auto ansi beforefieldinit Property + extends NDesk.DBus.Introspection.Member + { + .custom instance void class [System.Xml]System.Xml.Serialization.XmlRootAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 49 73 4E 75 6C 6C 61 62 6C // ....T..IsNullabl + 65 01 ) // e. - // method line 923 - .method public hidebysig - instance default class [mscorlib]System.Delegate GetHookupDelegate (class [mscorlib]System.Reflection.EventInfo ei) cil managed - { - // Method begins at RVA 0xd868 - // Code size 23 (0x17) - .maxstack 3 - .locals init ( - class [mscorlib]System.Reflection.Emit.DynamicMethod V_0, - class [mscorlib]System.Delegate V_1) - IL_0000: ldarg.1 - IL_0001: call class [mscorlib]System.Reflection.Emit.DynamicMethod class NDesk.DBus.TypeImplementer::GetHookupMethod(class [mscorlib]System.Reflection.EventInfo) - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.1 - IL_0009: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.EventInfo::get_EventHandlerType() - IL_000e: ldarg.0 - IL_000f: callvirt instance class [mscorlib]System.Delegate class [mscorlib]System.Reflection.Emit.DynamicMethod::CreateDelegate(class [mscorlib]System.Type, object) - IL_0014: stloc.1 - IL_0015: ldloc.1 - IL_0016: ret - } // end of method BusObject::GetHookupDelegate + .field public string Type + .custom instance void class [System.Xml]System.Xml.Serialization.XmlAttributeAttribute::'.ctor'(string) = (01 00 04 74 79 70 65 00 00 ) // ...type.. - // method line 924 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + .field public valuetype NDesk.DBus.Introspection.propertyAccess Access + .custom instance void class [System.Xml]System.Xml.Serialization.XmlAttributeAttribute::'.ctor'(string) = (01 00 06 61 63 63 65 73 73 00 00 ) // ...access.. + + .field public class NDesk.DBus.Introspection.Annotation[] Annotations + .custom instance void class [System.Xml]System.Xml.Serialization.XmlElementAttribute::'.ctor'(string) = (01 00 0A 61 6E 6E 6F 74 61 74 69 6F 6E 00 00 ) // ...annotation.. + + + // method line 858 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xd88b - // Code size 11 (0xb) + // Method begins at RVA 0xb874 + // Code size 18 (0x12) .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() - IL_0005: stsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.BusObject::boCache - IL_000a: ret - } // end of method BusObject::.cctor + IL_0000: ldarg.0 + IL_0001: ldsfld string [mscorlib]System.String::Empty + IL_0006: stfld string NDesk.DBus.Introspection.Property::Type + IL_000b: ldarg.0 + IL_000c: call instance void class NDesk.DBus.Introspection.Member::'.ctor'() + IL_0011: ret + } // end of method Property::.ctor - .property instance class NDesk.DBus.Connection Connection () - { - .get instance default class NDesk.DBus.Connection NDesk.DBus.BusObject::get_Connection () - } - .property instance string BusName () - { - .get instance default string NDesk.DBus.BusObject::get_BusName () - } - .property instance class NDesk.DBus.ObjectPath Path () - { - .get instance default class NDesk.DBus.ObjectPath NDesk.DBus.BusObject::get_Path () - } - } // end of class NDesk.DBus.BusObject + } // end of class NDesk.DBus.Introspection.Property +} + +.namespace NDesk.DBus.Introspection +{ + .class private auto ansi sealed propertyAccess + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NDesk.DBus.Introspection.propertyAccess read = int32(0x00000000) + .field public static literal valuetype NDesk.DBus.Introspection.propertyAccess write = int32(0x00000001) + .field public static literal valuetype NDesk.DBus.Introspection.propertyAccess readwrite = int32(0x00000002) + + } // end of class NDesk.DBus.Introspection.propertyAccess } .namespace NDesk.Unix @@ -27042,11 +22987,11 @@ { .field public initonly class NDesk.Unix.UnixSocket usock - // method line 925 + // method line 859 .method public hidebysig specialname rtspecialname instance default void '.ctor' (int32 fd) cil managed { - // Method begins at RVA 0xd897 + // Method begins at RVA 0xb887 // Code size 19 (0x13) .maxstack 8 IL_0000: ldarg.0 @@ -27058,11 +23003,11 @@ IL_0012: ret } // end of method UnixStream::.ctor - // method line 926 + // method line 860 .method public hidebysig specialname rtspecialname instance default void '.ctor' (class NDesk.Unix.UnixSocket usock) cil managed { - // Method begins at RVA 0xd8ab + // Method begins at RVA 0xb89b // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 @@ -27073,44 +23018,44 @@ IL_000d: ret } // end of method UnixStream::.ctor - // method line 927 + // method line 861 .method public virtual hidebysig specialname instance default bool get_CanRead () cil managed { - // Method begins at RVA 0xd8ba + // Method begins at RVA 0xb8aa // Code size 2 (0x2) .maxstack 8 IL_0000: ldc.i4.1 IL_0001: ret } // end of method UnixStream::get_CanRead - // method line 928 + // method line 862 .method public virtual hidebysig specialname instance default bool get_CanSeek () cil managed { - // Method begins at RVA 0xd8bd + // Method begins at RVA 0xb8ad // Code size 2 (0x2) .maxstack 8 IL_0000: ldc.i4.0 IL_0001: ret } // end of method UnixStream::get_CanSeek - // method line 929 + // method line 863 .method public virtual hidebysig specialname instance default bool get_CanWrite () cil managed { - // Method begins at RVA 0xd8c0 + // Method begins at RVA 0xb8b0 // Code size 2 (0x2) .maxstack 8 IL_0000: ldc.i4.1 IL_0001: ret } // end of method UnixStream::get_CanWrite - // method line 930 + // method line 864 .method public virtual hidebysig specialname instance default int64 get_Length () cil managed { - // Method begins at RVA 0xd8c3 + // Method begins at RVA 0xb8b3 // Code size 11 (0xb) .maxstack 8 IL_0000: ldstr "Seeking is not implemented" @@ -27118,11 +23063,11 @@ IL_000a: throw } // end of method UnixStream::get_Length - // method line 931 + // method line 865 .method public virtual hidebysig specialname instance default int64 get_Position () cil managed { - // Method begins at RVA 0xd8cf + // Method begins at RVA 0xb8bf // Code size 11 (0xb) .maxstack 8 IL_0000: ldstr "Seeking is not implemented" @@ -27130,11 +23075,11 @@ IL_000a: throw } // end of method UnixStream::get_Position - // method line 932 + // method line 866 .method public virtual hidebysig specialname instance default void set_Position (int64 'value') cil managed { - // Method begins at RVA 0xd8db + // Method begins at RVA 0xb8cb // Code size 11 (0xb) .maxstack 8 IL_0000: ldstr "Seeking is not implemented" @@ -27142,11 +23087,11 @@ IL_000a: throw } // end of method UnixStream::set_Position - // method line 933 + // method line 867 .method public virtual hidebysig instance default int64 Seek (int64 offset, valuetype [mscorlib]System.IO.SeekOrigin origin) cil managed { - // Method begins at RVA 0xd8e7 + // Method begins at RVA 0xb8d7 // Code size 11 (0xb) .maxstack 8 IL_0000: ldstr "Seeking is not implemented" @@ -27154,11 +23099,11 @@ IL_000a: throw } // end of method UnixStream::Seek - // method line 934 + // method line 868 .method public virtual hidebysig instance default void SetLength (int64 'value') cil managed { - // Method begins at RVA 0xd8f3 + // Method begins at RVA 0xb8e3 // Code size 11 (0xb) .maxstack 8 IL_0000: ldstr "Not implemented" @@ -27166,21 +23111,21 @@ IL_000a: throw } // end of method UnixStream::SetLength - // method line 935 + // method line 869 .method public virtual hidebysig instance default void Flush () cil managed { - // Method begins at RVA 0xd8ff + // Method begins at RVA 0xb8ef // Code size 1 (0x1) .maxstack 8 IL_0000: ret } // end of method UnixStream::Flush - // method line 936 + // method line 870 .method public virtual hidebysig instance default int32 Read ([in][out] unsigned int8[] buffer, int32 offset, int32 count) cil managed { - // Method begins at RVA 0xd901 + // Method begins at RVA 0xb8f1 // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 @@ -27192,11 +23137,11 @@ IL_000e: ret } // end of method UnixStream::Read - // method line 937 + // method line 871 .method public virtual hidebysig instance default void Write (unsigned int8[] buffer, int32 offset, int32 count) cil managed { - // Method begins at RVA 0xd911 + // Method begins at RVA 0xb901 // Code size 16 (0x10) .maxstack 8 IL_0000: ldarg.0 @@ -27209,11 +23154,11 @@ IL_000f: ret } // end of method UnixStream::Write - // method line 938 + // method line 872 .method public virtual hidebysig instance default int32 ReadByte () cil managed { - // Method begins at RVA 0xd924 + // Method begins at RVA 0xb914 // Code size 17 (0x11) .maxstack 3 .locals init ( @@ -27228,11 +23173,11 @@ IL_0010: ret } // end of method UnixStream::ReadByte - // method line 939 + // method line 873 .method public virtual hidebysig instance default void WriteByte (unsigned int8 'value') cil managed { - // Method begins at RVA 0xd941 + // Method begins at RVA 0xb931 // Code size 16 (0x10) .maxstack 8 IL_0000: ldarg.0 @@ -27275,25 +23220,25 @@ { .field assembly static literal string LIBC = "libc" - // method line 940 + // method line 874 .method private static hidebysig pinvokeimpl ("libc" as "getuid" cdecl ) default unsigned int32 getuid () cil managed preservesig { // Method begins at RVA 0x0 } // end of method UnixUid::getuid - // method line 941 + // method line 875 .method private static hidebysig pinvokeimpl ("libc" as "geteuid" cdecl ) default unsigned int32 geteuid () cil managed preservesig { // Method begins at RVA 0x0 } // end of method UnixUid::geteuid - // method line 942 + // method line 876 .method public static hidebysig default int64 GetUID () cil managed { - // Method begins at RVA 0xd954 + // Method begins at RVA 0xb944 // Code size 9 (0x9) .maxstack 1 .locals init ( @@ -27305,11 +23250,11 @@ IL_0008: ret } // end of method UnixUid::GetUID - // method line 943 + // method line 877 .method public static hidebysig default int64 GetEUID () cil managed { - // Method begins at RVA 0xd96c + // Method begins at RVA 0xb95c // Code size 9 (0x9) .maxstack 1 .locals init ( @@ -27332,18 +23277,18 @@ .field assembly static literal string LIBC = "libc" .field private static literal int32 EINTR = int32(0x00000004) - // method line 944 + // method line 878 .method private static hidebysig pinvokeimpl ("libc" as "strerror" cdecl ) default native int strerror (int32 errnum) cil managed preservesig { // Method begins at RVA 0x0 } // end of method UnixError::strerror - // method line 945 + // method line 879 .method private static hidebysig default string GetErrorString (int32 errnum) cil managed { - // Method begins at RVA 0xd984 + // Method begins at RVA 0xb974 // Code size 36 (0x24) .maxstack 2 .locals init ( @@ -27363,11 +23308,11 @@ IL_0023: ret } // end of method UnixError::GetErrorString - // method line 946 + // method line 880 .method public static hidebysig specialname default bool get_ShouldRetry () cil managed { - // Method begins at RVA 0xd9b4 + // Method begins at RVA 0xb9a4 // Code size 11 (0xb) .maxstack 2 .locals init ( @@ -27380,11 +23325,11 @@ IL_000a: ret } // end of method UnixError::get_ShouldRetry - // method line 947 + // method line 881 .method public static hidebysig default class [mscorlib]System.Exception GetLastUnixException () cil managed { - // Method begins at RVA 0xd9cc + // Method begins at RVA 0xb9bc // Code size 34 (0x22) .maxstack 3 .locals init ( @@ -27416,11 +23361,11 @@ .field public void* Base .field public native unsigned int length - // method line 948 + // method line 882 .method public hidebysig specialname rtspecialname instance default void '.ctor' (native int bbase, int32 length) cil managed { - // Method begins at RVA 0xd9fa + // Method begins at RVA 0xb9ea // Code size 26 (0x1a) .maxstack 8 IL_0000: ldarg.0 @@ -27435,11 +23380,11 @@ IL_0019: ret } // end of method IOVector::.ctor - // method line 949 + // method line 883 .method public hidebysig specialname instance default int32 get_Length () cil managed { - // Method begins at RVA 0xda15 + // Method begins at RVA 0xba05 // Code size 12 (0xc) .maxstack 8 IL_0000: ldarg.0 @@ -27448,11 +23393,11 @@ IL_000b: ret } // end of method IOVector::get_Length - // method line 950 + // method line 884 .method public hidebysig specialname instance default void set_Length (int32 'value') cil managed { - // Method begins at RVA 0xda22 + // Method begins at RVA 0xba12 // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 @@ -27484,11 +23429,11 @@ .field private bool ownsHandle .field family bool connected - // method line 951 + // method line 885 .method public hidebysig specialname rtspecialname instance default void '.ctor' (int32 handle) cil managed { - // Method begins at RVA 0xda31 + // Method begins at RVA 0xba21 // Code size 9 (0x9) .maxstack 8 IL_0000: ldarg.0 @@ -27498,11 +23443,11 @@ IL_0008: ret } // end of method UnixSocket::.ctor - // method line 952 + // method line 886 .method public hidebysig specialname rtspecialname instance default void '.ctor' (int32 handle, bool ownsHandle) cil managed { - // Method begins at RVA 0xda3b + // Method begins at RVA 0xba2b // Code size 21 (0x15) .maxstack 8 IL_0000: ldarg.0 @@ -27516,11 +23461,11 @@ IL_0014: ret } // end of method UnixSocket::.ctor - // method line 953 + // method line 887 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xda54 + // Method begins at RVA 0xba44 // Code size 43 (0x2b) .maxstack 3 .locals init ( @@ -27547,137 +23492,137 @@ IL_002a: ret } // end of method UnixSocket::.ctor - // method line 954 + // method line 888 .method assembly static hidebysig pinvokeimpl ("libc" as "fork" cdecl lasterr ) default native int fork () cil managed preservesig { // Method begins at RVA 0x0 } // end of method UnixSocket::fork - // method line 955 + // method line 889 .method assembly static hidebysig pinvokeimpl ("libc" as "dup2" cdecl lasterr ) default int32 dup2 (int32 fd, int32 fd2) cil managed preservesig { // Method begins at RVA 0x0 } // end of method UnixSocket::dup2 - // method line 956 + // method line 890 .method assembly static hidebysig pinvokeimpl ("libc" as "open" cdecl lasterr ) default int32 open (string marshal (lpstr) path, int32 oflag) cil managed preservesig { // Method begins at RVA 0x0 } // end of method UnixSocket::open - // method line 957 + // method line 891 .method assembly static hidebysig pinvokeimpl ("libc" as "setsid" cdecl lasterr ) default native int setsid () cil managed preservesig { // Method begins at RVA 0x0 } // end of method UnixSocket::setsid - // method line 958 + // method line 892 .method assembly static hidebysig pinvokeimpl ("libc" as "close" cdecl lasterr ) default int32 close (int32 fd) cil managed preservesig { // Method begins at RVA 0x0 } // end of method UnixSocket::close - // method line 959 + // method line 893 .method family static hidebysig pinvokeimpl ("libsocket" as "socket" cdecl lasterr ) default int32 socket (int32 domain, int32 'type', int32 protocol) cil managed preservesig { // Method begins at RVA 0x0 } // end of method UnixSocket::socket - // method line 960 + // method line 894 .method family static hidebysig pinvokeimpl ("libsocket" as "connect" cdecl lasterr ) default int32 connect (int32 sockfd, unsigned int8[] serv_addr, unsigned int32 addrlen) cil managed preservesig { // Method begins at RVA 0x0 } // end of method UnixSocket::connect - // method line 961 + // method line 895 .method family static hidebysig pinvokeimpl ("libsocket" as "bind" cdecl lasterr ) default int32 bind (int32 sockfd, unsigned int8[] my_addr, unsigned int32 addrlen) cil managed preservesig { // Method begins at RVA 0x0 } // end of method UnixSocket::bind - // method line 962 + // method line 896 .method family static hidebysig pinvokeimpl ("libsocket" as "listen" cdecl lasterr ) default int32 listen (int32 sockfd, int32 backlog) cil managed preservesig { // Method begins at RVA 0x0 } // end of method UnixSocket::listen - // method line 963 + // method line 897 .method family static hidebysig pinvokeimpl ("libsocket" as "accept" cdecl lasterr ) default int32 accept (int32 sockfd, void* addr, unsigned int32& addrlen) cil managed preservesig { // Method begins at RVA 0x0 } // end of method UnixSocket::accept - // method line 964 + // method line 898 .method family static hidebysig pinvokeimpl ("libsocket" as "getsockopt" cdecl lasterr ) default int32 getsockopt (int32 s, int32 optname, native int optval, unsigned int32& optlen) cil managed preservesig { // Method begins at RVA 0x0 } // end of method UnixSocket::getsockopt - // method line 965 + // method line 899 .method family static hidebysig pinvokeimpl ("libsocket" as "setsockopt" cdecl lasterr ) default int32 setsockopt (int32 s, int32 optname, native int optval, unsigned int32 optlen) cil managed preservesig { // Method begins at RVA 0x0 } // end of method UnixSocket::setsockopt - // method line 966 + // method line 900 .method private static hidebysig pinvokeimpl ("libc" as "read" cdecl lasterr ) default native int read (int32 fd, unsigned int8* buf, native unsigned int count) cil managed preservesig { // Method begins at RVA 0x0 } // end of method UnixSocket::read - // method line 967 + // method line 901 .method private static hidebysig pinvokeimpl ("libc" as "write" cdecl lasterr ) default native int write (int32 fd, unsigned int8* buf, native unsigned int count) cil managed preservesig { // Method begins at RVA 0x0 } // end of method UnixSocket::write - // method line 968 + // method line 902 .method private static hidebysig pinvokeimpl ("libc" as "readv" cdecl lasterr ) default native int readv (int32 fd, valuetype NDesk.Unix.IOVector* iov, int32 iovcnt) cil managed preservesig { // Method begins at RVA 0x0 } // end of method UnixSocket::readv - // method line 969 + // method line 903 .method private static hidebysig pinvokeimpl ("libc" as "writev" cdecl lasterr ) default native int writev (int32 fd, valuetype NDesk.Unix.IOVector* iov, int32 iovcnt) cil managed preservesig { // Method begins at RVA 0x0 } // end of method UnixSocket::writev - // method line 970 + // method line 904 .method public static hidebysig pinvokeimpl ("libsocket" as "recvmsg" cdecl lasterr ) default native int recvmsg (int32 s, void* msg, int32 'flags') cil managed preservesig { // Method begins at RVA 0x0 } // end of method UnixSocket::recvmsg - // method line 971 + // method line 905 .method public static hidebysig pinvokeimpl ("libsocket" as "sendmsg" cdecl lasterr ) default native int sendmsg (int32 s, void* msg, int32 'flags') cil managed preservesig { // Method begins at RVA 0x0 } // end of method UnixSocket::sendmsg - // method line 972 + // method line 906 .method family virtual hidebysig instance default void Finalize () cil managed { - // Method begins at RVA 0xda8c + // Method begins at RVA 0xba7c // Code size 42 (0x2a) .maxstack 2 .try { // 0 @@ -27703,11 +23648,11 @@ IL_0029: ret } // end of method UnixSocket::Finalize - // method line 973 + // method line 907 .method public hidebysig instance default void Close () cil managed { - // Method begins at RVA 0xdad4 + // Method begins at RVA 0xbac4 // Code size 59 (0x3b) .maxstack 2 .locals init ( @@ -27740,11 +23685,11 @@ IL_003a: ret } // end of method UnixSocket::Close - // method line 974 + // method line 908 .method public hidebysig instance default void Connect (unsigned int8[] remote_end) cil managed { - // Method begins at RVA 0xdb1c + // Method begins at RVA 0xbb0c // Code size 56 (0x38) .maxstack 3 .locals init ( @@ -27778,11 +23723,11 @@ IL_0037: ret } // end of method UnixSocket::Connect - // method line 975 + // method line 909 .method public hidebysig instance default void Bind (unsigned int8[] local_end) cil managed { - // Method begins at RVA 0xdb60 + // Method begins at RVA 0xbb50 // Code size 30 (0x1e) .maxstack 3 .locals init ( @@ -27804,11 +23749,11 @@ IL_001d: ret } // end of method UnixSocket::Bind - // method line 976 + // method line 910 .method public hidebysig instance default void Listen (int32 backlog) cil managed { - // Method begins at RVA 0xdb8c + // Method begins at RVA 0xbb7c // Code size 27 (0x1b) .maxstack 2 .locals init ( @@ -27827,11 +23772,11 @@ IL_001a: ret } // end of method UnixSocket::Listen - // method line 977 + // method line 911 .method public hidebysig instance default class NDesk.Unix.UnixSocket Accept () cil managed { - // Method begins at RVA 0xdbb4 + // Method begins at RVA 0xbba4 // Code size 96 (0x60) .maxstack 3 .locals init ( @@ -27889,11 +23834,11 @@ IL_005f: ret } // end of method UnixSocket::Accept - // method line 978 + // method line 912 .method public hidebysig instance default int32 Read (unsigned int8[] buf, int32 offset, int32 count) cil managed { - // Method begins at RVA 0xdc20 + // Method begins at RVA 0xbc10 // Code size 41 (0x29) .maxstack 3 .locals init ( @@ -27924,11 +23869,11 @@ IL_0028: ret } // end of method UnixSocket::Read - // method line 979 + // method line 913 .method public hidebysig instance default int32 Write (unsigned int8[] buf, int32 offset, int32 count) cil managed { - // Method begins at RVA 0xdc58 + // Method begins at RVA 0xbc48 // Code size 41 (0x29) .maxstack 3 .locals init ( @@ -27959,11 +23904,11 @@ IL_0028: ret } // end of method UnixSocket::Write - // method line 980 + // method line 914 .method public hidebysig instance default int32 Read (unsigned int8* bufP, int32 count) cil managed { - // Method begins at RVA 0xdc90 + // Method begins at RVA 0xbc80 // Code size 59 (0x3b) .maxstack 3 .locals init ( @@ -27996,11 +23941,11 @@ IL_003a: ret } // end of method UnixSocket::Read - // method line 981 + // method line 915 .method public hidebysig instance default int32 Write (unsigned int8* bufP, int32 count) cil managed { - // Method begins at RVA 0xdcd8 + // Method begins at RVA 0xbcc8 // Code size 59 (0x3b) .maxstack 3 .locals init ( @@ -28033,11 +23978,11 @@ IL_003a: ret } // end of method UnixSocket::Write - // method line 982 + // method line 916 .method public hidebysig instance default int32 RecvMsg (void* bufP, int32 'flags') cil managed { - // Method begins at RVA 0xdd20 + // Method begins at RVA 0xbd10 // Code size 53 (0x35) .maxstack 3 .locals init ( @@ -28068,11 +24013,11 @@ IL_0034: ret } // end of method UnixSocket::RecvMsg - // method line 983 + // method line 917 .method public hidebysig instance default int32 SendMsg (void* bufP, int32 'flags') cil managed { - // Method begins at RVA 0xdd64 + // Method begins at RVA 0xbd54 // Code size 53 (0x35) .maxstack 3 .locals init ( @@ -28103,11 +24048,11 @@ IL_0034: ret } // end of method UnixSocket::SendMsg - // method line 984 + // method line 918 .method public hidebysig instance default int32 ReadV (valuetype NDesk.Unix.IOVector* iov, int32 count) cil managed { - // Method begins at RVA 0xdda8 + // Method begins at RVA 0xbd98 // Code size 34 (0x22) .maxstack 3 .locals init ( @@ -28129,11 +24074,11 @@ IL_0021: ret } // end of method UnixSocket::ReadV - // method line 985 + // method line 919 .method public hidebysig instance default int32 WriteV (valuetype NDesk.Unix.IOVector* iov, int32 count) cil managed { - // Method begins at RVA 0xddd8 + // Method begins at RVA 0xbdc8 // Code size 34 (0x22) .maxstack 3 .locals init ( @@ -28155,11 +24100,11 @@ IL_0021: ret } // end of method UnixSocket::WriteV - // method line 986 + // method line 920 .method public hidebysig instance default int32 Write (valuetype NDesk.Unix.IOVector[] iov, int32 offset, int32 count) cil managed { - // Method begins at RVA 0xde08 + // Method begins at RVA 0xbdf8 // Code size 52 (0x34) .maxstack 4 .locals init ( @@ -28191,11 +24136,11 @@ IL_0033: ret } // end of method UnixSocket::Write - // method line 987 + // method line 921 .method public hidebysig instance default int32 Write (valuetype NDesk.Unix.IOVector[] iov) cil managed { - // Method begins at RVA 0xde48 + // Method begins at RVA 0xbe38 // Code size 12 (0xc) .maxstack 8 IL_0000: ldarg.0 @@ -28226,11 +24171,11 @@ .field private bool completedSync - // method line 988 + // method line 922 .method public hidebysig specialname rtspecialname instance default void '.ctor' (class NDesk.DBus.Connection conn) cil managed { - // Method begins at RVA 0xde55 + // Method begins at RVA 0xbe45 // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 @@ -28241,11 +24186,11 @@ IL_000d: ret } // end of method PendingCall::.ctor - // method line 989 + // method line 923 .method public hidebysig specialname instance default class NDesk.DBus.Message get_Reply () cil managed { - // Method begins at RVA 0xde64 + // Method begins at RVA 0xbe54 // Code size 170 (0xaa) .maxstack 2 IL_0000: ldarg.0 @@ -28308,11 +24253,11 @@ IL_00a9: ret } // end of method PendingCall::get_Reply - // method line 990 + // method line 924 .method public hidebysig specialname instance default void set_Reply (class NDesk.DBus.Message 'value') cil managed { - // Method begins at RVA 0xdf1c + // Method begins at RVA 0xbf0c // Code size 81 (0x51) .maxstack 2 IL_0000: ldarg.0 @@ -28345,11 +24290,11 @@ IL_0050: ret } // end of method PendingCall::set_Reply - // method line 991 + // method line 925 .method public hidebysig specialname instance default void add_Completed (class [mscorlib]System.Action`1 'value') cil managed { - // Method begins at RVA 0xdf7c + // Method begins at RVA 0xbf6c // Code size 42 (0x2a) .maxstack 3 .locals init ( @@ -28376,11 +24321,11 @@ IL_0029: ret } // end of method PendingCall::add_Completed - // method line 992 + // method line 926 .method public hidebysig specialname instance default void remove_Completed (class [mscorlib]System.Action`1 'value') cil managed { - // Method begins at RVA 0xdfb4 + // Method begins at RVA 0xbfa4 // Code size 42 (0x2a) .maxstack 3 .locals init ( @@ -28407,22 +24352,22 @@ IL_0029: ret } // end of method PendingCall::remove_Completed - // method line 993 + // method line 927 .method public hidebysig instance default void Cancel () cil managed { - // Method begins at RVA 0xdfea + // Method begins at RVA 0xbfda // Code size 6 (0x6) .maxstack 8 IL_0000: newobj instance void class [mscorlib]System.NotImplementedException::'.ctor'() IL_0005: throw } // end of method PendingCall::Cancel - // method line 994 + // method line 928 .method private final virtual hidebysig newslot specialname instance default object System.IAsyncResult.get_AsyncState () cil managed { - // Method begins at RVA 0xdff1 + // Method begins at RVA 0xbfe1 .override class [mscorlib]System.IAsyncResult::get_AsyncState // Code size 7 (0x7) .maxstack 8 @@ -28431,11 +24376,11 @@ IL_0006: ret } // end of method PendingCall::System.IAsyncResult.get_AsyncState - // method line 995 + // method line 929 .method private final virtual hidebysig newslot specialname instance default class [mscorlib]System.Threading.WaitHandle System.IAsyncResult.get_AsyncWaitHandle () cil managed { - // Method begins at RVA 0xdff9 + // Method begins at RVA 0xbfe9 .override class [mscorlib]System.IAsyncResult::get_AsyncWaitHandle // Code size 30 (0x1e) .maxstack 8 @@ -28452,11 +24397,11 @@ IL_001d: ret } // end of method PendingCall::System.IAsyncResult.get_AsyncWaitHandle - // method line 996 + // method line 930 .method private final virtual hidebysig newslot specialname instance default bool System.IAsyncResult.get_CompletedSynchronously () cil managed { - // Method begins at RVA 0xe018 + // Method begins at RVA 0xc008 .override class [mscorlib]System.IAsyncResult::get_CompletedSynchronously // Code size 21 (0x15) .maxstack 8 @@ -28472,11 +24417,11 @@ IL_0014: ret } // end of method PendingCall::System.IAsyncResult.get_CompletedSynchronously - // method line 997 + // method line 931 .method private final virtual hidebysig newslot specialname instance default bool System.IAsyncResult.get_IsCompleted () cil managed { - // Method begins at RVA 0xe02e + // Method begins at RVA 0xc01e .override class [mscorlib]System.IAsyncResult::get_IsCompleted // Code size 13 (0xd) .maxstack 8 @@ -28520,1125 +24465,4264 @@ .namespace NDesk.DBus { - .class private auto ansi beforefieldinit Header + .class private auto ansi beforefieldinit BusObject extends [mscorlib]System.Object { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - - .field public valuetype NDesk.DBus.EndianFlag Endianness - .field public valuetype NDesk.DBus.MessageType MessageType - .field public valuetype NDesk.DBus.HeaderFlag Flags - .field public unsigned int8 MajorVersion - .field public unsigned int32 Length - .field public unsigned int32 Serial - .field public class [mscorlib]System.Collections.Generic.Dictionary`2 Fields + .field family class NDesk.DBus.Connection conn + .field private string bus_name + .field private string alt_bus_name + .field private class NDesk.DBus.ObjectPath object_path + .field private static class [mscorlib]System.Collections.Generic.Dictionary`2 boCache - // method line 998 + // method line 932 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xe03c + // Method begins at RVA 0xc02c // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 IL_0001: call instance void object::'.ctor'() IL_0006: ret - } // end of method Header::.ctor + } // end of method BusObject::.ctor - // method line 999 + // method line 933 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NDesk.DBus.Connection conn, string bus_name, class NDesk.DBus.ObjectPath object_path) cil managed + { + // Method begins at RVA 0xc034 + // Code size 28 (0x1c) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ldarg.0 + IL_0007: ldarg.1 + IL_0008: stfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_000d: ldarg.0 + IL_000e: ldarg.2 + IL_000f: stfld string NDesk.DBus.BusObject::bus_name + IL_0014: ldarg.0 + IL_0015: ldarg.3 + IL_0016: stfld class NDesk.DBus.ObjectPath NDesk.DBus.BusObject::object_path + IL_001b: ret + } // end of method BusObject::.ctor + + // method line 934 .method public hidebysig specialname - instance default object get_Item (valuetype NDesk.DBus.FieldCode key) cil managed + instance default class NDesk.DBus.Connection get_Connection () cil managed { - // Method begins at RVA 0xe044 - // Code size 19 (0x13) - .maxstack 3 - .locals init ( - object V_0) - IL_0000: ldnull - IL_0001: stloc.0 - IL_0002: ldarg.0 - IL_0003: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Header::Fields - IL_0008: ldarg.1 - IL_0009: ldloca.s 0 - IL_000b: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) - IL_0010: pop - IL_0011: ldloc.0 - IL_0012: ret - } // end of method Header::get_Item + // Method begins at RVA 0xc051 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_0006: ret + } // end of method BusObject::get_Connection - // method line 1000 + // method line 935 .method public hidebysig specialname - instance default void set_Item (valuetype NDesk.DBus.FieldCode key, object 'value') cil managed + instance default string get_BusName () cil managed { - // Method begins at RVA 0xe063 - // Code size 38 (0x26) + // Method begins at RVA 0xc059 + // Code size 7 (0x7) .maxstack 8 - IL_0000: ldarg.2 - IL_0001: brtrue IL_0018 + IL_0000: ldarg.0 + IL_0001: ldfld string NDesk.DBus.BusObject::bus_name + IL_0006: ret + } // end of method BusObject::get_BusName - IL_0006: ldarg.0 - IL_0007: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Header::Fields - IL_000c: ldarg.1 - IL_000d: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::Remove(!0) - IL_0012: pop - IL_0013: br IL_0025 + // method line 936 + .method public hidebysig specialname + instance default class NDesk.DBus.ObjectPath get_Path () cil managed + { + // Method begins at RVA 0xc061 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.BusObject::object_path + IL_0006: ret + } // end of method BusObject::get_Path - IL_0018: ldarg.0 - IL_0019: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Header::Fields - IL_001e: ldarg.1 - IL_001f: ldarg.2 - IL_0020: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::set_Item(!0, !1) + // method line 937 + .method public hidebysig + instance default void ToggleSignal (string iface, string member, class [mscorlib]System.Delegate dlg, bool adding) cil managed + { + // Method begins at RVA 0xc06c + // Code size 347 (0x15b) + .maxstack 4 + .locals init ( + class NDesk.DBus.MatchRule V_0) + IL_0000: newobj instance void class NDesk.DBus.MatchRule::'.ctor'() + IL_0005: stloc.0 + IL_0006: ldloc.0 + IL_0007: ldc.i4.4 + IL_0008: newobj instance void valuetype [mscorlib]System.Nullable`1::'.ctor'(!0) + IL_000d: stfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.MatchRule::MessageType + IL_0012: ldloc.0 + IL_0013: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields + IL_0018: ldc.i4.2 + IL_0019: ldarg.1 + IL_001a: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(string) + IL_001f: callvirt instance void class [System]System.Collections.Generic.SortedList`2::Add(!0, !1) + IL_0024: ldloc.0 + IL_0025: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields + IL_002a: ldc.i4.3 + IL_002b: ldarg.2 + IL_002c: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(string) + IL_0031: callvirt instance void class [System]System.Collections.Generic.SortedList`2::Add(!0, !1) + IL_0036: ldloc.0 + IL_0037: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields + IL_003c: ldc.i4.1 + IL_003d: ldarg.0 + IL_003e: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.BusObject::object_path + IL_0043: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(class NDesk.DBus.ObjectPath) + IL_0048: callvirt instance void class [System]System.Collections.Generic.SortedList`2::Add(!0, !1) + IL_004d: ldloc.0 + IL_004e: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields + IL_0053: ldc.i4.7 + IL_0054: ldarg.0 + IL_0055: ldfld string NDesk.DBus.BusObject::alt_bus_name + IL_005a: dup + IL_005b: brtrue IL_0067 + + IL_0060: pop + IL_0061: ldarg.0 + IL_0062: ldfld string NDesk.DBus.BusObject::bus_name + IL_0067: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(string) + IL_006c: callvirt instance void class [System]System.Collections.Generic.SortedList`2::Add(!0, !1) + IL_0071: ldarg.s 4 + IL_0073: brfalse IL_00e3 + + IL_0078: ldarg.0 + IL_0079: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_007e: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers + IL_0083: ldloc.0 + IL_0084: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::ContainsKey(!0) + IL_0089: brfalse IL_00bb + + IL_008e: ldarg.0 + IL_008f: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_0094: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers + IL_0099: ldloc.0 + IL_009a: ldarg.0 + IL_009b: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_00a0: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers + IL_00a5: ldloc.0 + IL_00a6: callvirt instance !1 class [mscorlib]System.Collections.Generic.Dictionary`2::get_Item(!0) + IL_00ab: ldarg.3 + IL_00ac: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Combine(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) + IL_00b1: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::set_Item(!0, !1) + IL_00b6: br IL_00de + + IL_00bb: ldarg.0 + IL_00bc: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_00c1: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers + IL_00c6: ldloc.0 + IL_00c7: ldarg.3 + IL_00c8: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::set_Item(!0, !1) + IL_00cd: ldarg.0 + IL_00ce: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_00d3: ldloc.0 + IL_00d4: callvirt instance string object::ToString() + IL_00d9: callvirt instance void class NDesk.DBus.Connection::AddMatch(string) + IL_00de: br IL_015a + + IL_00e3: ldarg.0 + IL_00e4: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_00e9: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers + IL_00ee: ldloc.0 + IL_00ef: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::ContainsKey(!0) + IL_00f4: brfalse IL_015a + + IL_00f9: ldarg.0 + IL_00fa: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_00ff: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers + IL_0104: ldloc.0 + IL_0105: ldarg.0 + IL_0106: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_010b: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers + IL_0110: ldloc.0 + IL_0111: callvirt instance !1 class [mscorlib]System.Collections.Generic.Dictionary`2::get_Item(!0) + IL_0116: ldarg.3 + IL_0117: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Remove(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) + IL_011c: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::set_Item(!0, !1) + IL_0121: ldarg.0 + IL_0122: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_0127: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers + IL_012c: ldloc.0 + IL_012d: callvirt instance !1 class [mscorlib]System.Collections.Generic.Dictionary`2::get_Item(!0) + IL_0132: brtrue IL_015a + + IL_0137: ldarg.0 + IL_0138: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_013d: ldloc.0 + IL_013e: callvirt instance string object::ToString() + IL_0143: callvirt instance void class NDesk.DBus.Connection::RemoveMatch(string) + IL_0148: ldarg.0 + IL_0149: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_014e: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers + IL_0153: ldloc.0 + IL_0154: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::Remove(!0) + IL_0159: pop + IL_015a: ret + } // end of method BusObject::ToggleSignal + + // method line 938 + .method public hidebysig + instance default void SendSignal (string iface, string member, string inSigStr, class NDesk.DBus.MessageWriter writer, class [mscorlib]System.Type retType, [out] class [mscorlib]System.Exception& exception) cil managed + { + // Method begins at RVA 0xc1d4 + // Code size 92 (0x5c) + .maxstack 3 + .locals init ( + valuetype NDesk.DBus.Signature V_0, + class NDesk.DBus.Signal V_1, + class NDesk.DBus.Message V_2) + IL_0000: ldarg.s 6 + IL_0002: ldnull + IL_0003: stind.ref + IL_0004: ldarg.3 + IL_0005: call bool string::IsNullOrEmpty(string) + IL_000a: brfalse IL_0019 + + IL_000f: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + IL_0014: br IL_001f + + IL_0019: ldarg.3 + IL_001a: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(string) + IL_001f: stloc.0 + IL_0020: ldarg.0 + IL_0021: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.BusObject::object_path + IL_0026: ldarg.1 + IL_0027: ldarg.2 + IL_0028: newobj instance void class NDesk.DBus.Signal::'.ctor'(class NDesk.DBus.ObjectPath, string, string) + IL_002d: stloc.1 + IL_002e: ldloc.1 + IL_002f: ldfld class NDesk.DBus.Message NDesk.DBus.Signal::message + IL_0034: ldloc.0 + IL_0035: callvirt instance void class NDesk.DBus.Message::set_Signature(valuetype NDesk.DBus.Signature) + IL_003a: ldloc.1 + IL_003b: ldfld class NDesk.DBus.Message NDesk.DBus.Signal::message + IL_0040: stloc.2 + IL_0041: ldloc.2 + IL_0042: ldarg.s 4 + IL_0044: callvirt instance unsigned int8[] class NDesk.DBus.MessageWriter::ToArray() + IL_0049: stfld unsigned int8[] NDesk.DBus.Message::Body + IL_004e: ldarg.0 + IL_004f: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_0054: ldloc.2 + IL_0055: callvirt instance unsigned int32 class NDesk.DBus.Connection::Send(class NDesk.DBus.Message) + IL_005a: pop + IL_005b: ret + } // end of method BusObject::SendSignal + + // method line 939 + .method public hidebysig + instance default object SendMethodCallOld (string iface, string member, string inSigStr, class NDesk.DBus.MessageWriter writer, class [mscorlib]System.Type retType, [out] class [mscorlib]System.Exception& exception) cil managed + { + // Method begins at RVA 0xc23c + // Code size 350 (0x15e) + .maxstack 5 + .locals init ( + valuetype NDesk.DBus.Signature V_0, + class NDesk.DBus.MethodCall V_1, + class NDesk.DBus.Message V_2, + class [mscorlib]System.Type[] V_3, + bool V_4, + class NDesk.DBus.Message V_5, + object V_6, + valuetype NDesk.DBus.MessageType V_7, + object[] V_8, + class NDesk.DBus.Error V_9, + string V_10, + valuetype NDesk.DBus.Signature V_11, + class NDesk.DBus.MessageReader V_12) + IL_0000: ldarg.s 6 + IL_0002: ldnull + IL_0003: stind.ref + IL_0004: ldarg.3 + IL_0005: call bool string::IsNullOrEmpty(string) + IL_000a: brfalse IL_0019 + + IL_000f: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + IL_0014: br IL_001f + + IL_0019: ldarg.3 + IL_001a: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(string) + IL_001f: stloc.0 + IL_0020: ldarg.0 + IL_0021: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.BusObject::object_path + IL_0026: ldarg.1 + IL_0027: ldarg.2 + IL_0028: ldarg.0 + IL_0029: ldfld string NDesk.DBus.BusObject::bus_name + IL_002e: ldloc.0 + IL_002f: newobj instance void class NDesk.DBus.MethodCall::'.ctor'(class NDesk.DBus.ObjectPath, string, string, string, valuetype NDesk.DBus.Signature) + IL_0034: stloc.1 + IL_0035: ldloc.1 + IL_0036: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message + IL_003b: stloc.2 + IL_003c: ldloc.2 + IL_003d: ldarg.s 4 + IL_003f: callvirt instance unsigned int8[] class NDesk.DBus.MessageWriter::ToArray() + IL_0044: stfld unsigned int8[] NDesk.DBus.Message::Body + IL_0049: ldc.i4.1 + IL_004a: newarr [mscorlib]System.Type + IL_004f: stloc.3 + IL_0050: ldloc.3 + IL_0051: ldc.i4.0 + IL_0052: ldarg.s 5 + IL_0054: stelem.ref + IL_0055: ldc.i4.1 + IL_0056: stloc.s 4 + IL_0058: ldloc.2 + IL_0059: ldloc.s 4 + IL_005b: callvirt instance void class NDesk.DBus.Message::set_ReplyExpected(bool) + IL_0060: ldloc.2 + IL_0061: ldloc.0 + IL_0062: callvirt instance void class NDesk.DBus.Message::set_Signature(valuetype NDesk.DBus.Signature) + IL_0067: ldloc.s 4 + IL_0069: brtrue IL_007d + + IL_006e: ldarg.0 + IL_006f: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_0074: ldloc.2 + IL_0075: callvirt instance unsigned int32 class NDesk.DBus.Connection::Send(class NDesk.DBus.Message) + IL_007a: pop + IL_007b: ldnull + IL_007c: ret + IL_007d: ldarg.0 + IL_007e: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_0083: ldloc.2 + IL_0084: callvirt instance class NDesk.DBus.Message class NDesk.DBus.Connection::SendWithReplyAndBlock(class NDesk.DBus.Message) + IL_0089: stloc.s 5 + IL_008b: ldnull + IL_008c: stloc.s 6 + IL_008e: ldloc.s 5 + IL_0090: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0095: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType + IL_009a: stloc.s 7 + IL_009c: ldloc.s 7 + IL_009e: ldc.i4.2 + IL_009f: beq IL_00b1 + + IL_00a4: ldloc.s 7 + IL_00a6: ldc.i4.3 + IL_00a7: beq IL_00d4 + + IL_00ac: br IL_0135 + + IL_00b1: ldloc.s 5 + IL_00b3: ldloc.3 + IL_00b4: call object[] class NDesk.DBus.MessageHelper::GetDynamicValues(class NDesk.DBus.Message, class [mscorlib]System.Type[]) + IL_00b9: stloc.s 8 + IL_00bb: ldloc.s 8 + IL_00bd: ldlen + IL_00be: conv.i4 + IL_00bf: brfalse IL_00cf + + IL_00c4: ldloc.s 8 + IL_00c6: ldloc.s 8 + IL_00c8: ldlen + IL_00c9: conv.i4 + IL_00ca: ldc.i4.1 + IL_00cb: sub + IL_00cc: ldelem.ref + IL_00cd: stloc.s 6 + IL_00cf: br IL_015b + + IL_00d4: ldloc.s 5 + IL_00d6: newobj instance void class NDesk.DBus.Error::'.ctor'(class NDesk.DBus.Message) + IL_00db: stloc.s 9 + IL_00dd: ldsfld string [mscorlib]System.String::Empty + IL_00e2: stloc.s 10 + IL_00e4: ldloc.s 5 + IL_00e6: callvirt instance valuetype NDesk.DBus.Signature class NDesk.DBus.Message::get_Signature() + IL_00eb: stloc.s 11 + IL_00ed: ldloca.s 11 + IL_00ef: call instance string valuetype NDesk.DBus.Signature::get_Value() + IL_00f4: ldstr "s" + IL_00f9: callvirt instance bool string::StartsWith(string) + IL_00fe: brfalse IL_0115 + + IL_0103: ldloc.s 5 + IL_0105: newobj instance void class NDesk.DBus.MessageReader::'.ctor'(class NDesk.DBus.Message) + IL_010a: stloc.s 12 + IL_010c: ldloc.s 12 + IL_010e: callvirt instance string class NDesk.DBus.MessageReader::ReadString() + IL_0113: stloc.s 10 + IL_0115: ldarg.s 6 + IL_0117: ldloc.s 9 + IL_0119: ldfld string NDesk.DBus.Error::ErrorName + IL_011e: ldstr ": " + IL_0123: ldloc.s 10 + IL_0125: call string string::Concat(string, string, string) + IL_012a: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_012f: stind.ref + IL_0130: br IL_015b + + IL_0135: ldstr "Got unexpected message of type " + IL_013a: ldloc.s 5 + IL_013c: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0141: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType + IL_0146: box NDesk.DBus.MessageType + IL_014b: ldstr " while waiting for a MethodReturn or Error" + IL_0150: call string string::Concat(object, object, object) + IL_0155: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_015a: throw + IL_015b: ldloc.s 6 + IL_015d: ret + } // end of method BusObject::SendMethodCallOld + + // method line 940 + .method public hidebysig + instance default class NDesk.DBus.MessageReader SendMethodCall (string iface, string member, string inSigStr, class NDesk.DBus.MessageWriter writer, class [mscorlib]System.Type retType, [out] class [mscorlib]System.Exception& exception) cil managed + { + // Method begins at RVA 0xc3a8 + // Code size 387 (0x183) + .maxstack 5 + .locals init ( + valuetype NDesk.DBus.Signature V_0, + class NDesk.DBus.MethodCall V_1, + class NDesk.DBus.Message V_2, + class [mscorlib]System.Type[] V_3, + bool V_4, + class NDesk.DBus.Message V_5, + class NDesk.DBus.MessageReader V_6, + valuetype NDesk.DBus.MessageType V_7, + class NDesk.DBus.Error V_8, + string V_9, + valuetype NDesk.DBus.Signature V_10, + class NDesk.DBus.MessageReader V_11) + IL_0000: ldarg.s 6 + IL_0002: ldnull + IL_0003: stind.ref + IL_0004: ldarg.3 + IL_0005: call bool string::IsNullOrEmpty(string) + IL_000a: brfalse IL_0019 + + IL_000f: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + IL_0014: br IL_001f + + IL_0019: ldarg.3 + IL_001a: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(string) + IL_001f: stloc.0 + IL_0020: ldarg.0 + IL_0021: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.BusObject::object_path + IL_0026: ldarg.1 + IL_0027: ldarg.2 + IL_0028: ldarg.0 + IL_0029: ldfld string NDesk.DBus.BusObject::bus_name + IL_002e: ldloc.0 + IL_002f: newobj instance void class NDesk.DBus.MethodCall::'.ctor'(class NDesk.DBus.ObjectPath, string, string, string, valuetype NDesk.DBus.Signature) + IL_0034: stloc.1 + IL_0035: ldloc.1 + IL_0036: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message + IL_003b: stloc.2 + IL_003c: ldloc.2 + IL_003d: ldarg.s 4 + IL_003f: callvirt instance unsigned int8[] class NDesk.DBus.MessageWriter::ToArray() + IL_0044: stfld unsigned int8[] NDesk.DBus.Message::Body + IL_0049: ldc.i4.1 + IL_004a: newarr [mscorlib]System.Type + IL_004f: stloc.3 + IL_0050: ldloc.3 + IL_0051: ldc.i4.0 + IL_0052: ldarg.s 5 + IL_0054: stelem.ref + IL_0055: ldc.i4.1 + IL_0056: stloc.s 4 + IL_0058: ldloc.2 + IL_0059: ldloc.s 4 + IL_005b: callvirt instance void class NDesk.DBus.Message::set_ReplyExpected(bool) + IL_0060: ldloc.2 + IL_0061: ldloc.0 + IL_0062: callvirt instance void class NDesk.DBus.Message::set_Signature(valuetype NDesk.DBus.Signature) + IL_0067: ldloc.s 4 + IL_0069: brtrue IL_007d + + IL_006e: ldarg.0 + IL_006f: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_0074: ldloc.2 + IL_0075: callvirt instance unsigned int32 class NDesk.DBus.Connection::Send(class NDesk.DBus.Message) + IL_007a: pop + IL_007b: ldnull + IL_007c: ret + IL_007d: ldarg.0 + IL_007e: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_0083: ldloc.2 + IL_0084: callvirt instance class NDesk.DBus.Message class NDesk.DBus.Connection::SendWithReplyAndBlock(class NDesk.DBus.Message) + IL_0089: stloc.s 5 + IL_008b: ldnull + IL_008c: stloc.s 6 + IL_008e: ldloc.s 5 + IL_0090: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0095: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType + IL_009a: stloc.s 7 + IL_009c: ldloc.s 7 + IL_009e: ldc.i4.2 + IL_009f: beq IL_00b1 + + IL_00a4: ldloc.s 7 + IL_00a6: ldc.i4.3 + IL_00a7: beq IL_00f9 + + IL_00ac: br IL_015a + + IL_00b1: ldloc.s 5 + IL_00b3: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_00b8: ldc.i4.7 + IL_00b9: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) + IL_00be: castclass [mscorlib]System.String + IL_00c3: ldarg.0 + IL_00c4: ldfld string NDesk.DBus.BusObject::bus_name + IL_00c9: call bool string::op_Inequality(string, string) + IL_00ce: brfalse IL_00eb + + IL_00d3: ldarg.0 + IL_00d4: ldloc.s 5 + IL_00d6: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_00db: ldc.i4.7 + IL_00dc: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) + IL_00e1: castclass [mscorlib]System.String + IL_00e6: stfld string NDesk.DBus.BusObject::alt_bus_name + IL_00eb: ldloc.s 5 + IL_00ed: newobj instance void class NDesk.DBus.MessageReader::'.ctor'(class NDesk.DBus.Message) + IL_00f2: stloc.s 6 + IL_00f4: br IL_0180 + + IL_00f9: ldloc.s 5 + IL_00fb: newobj instance void class NDesk.DBus.Error::'.ctor'(class NDesk.DBus.Message) + IL_0100: stloc.s 8 + IL_0102: ldsfld string [mscorlib]System.String::Empty + IL_0107: stloc.s 9 + IL_0109: ldloc.s 5 + IL_010b: callvirt instance valuetype NDesk.DBus.Signature class NDesk.DBus.Message::get_Signature() + IL_0110: stloc.s 10 + IL_0112: ldloca.s 10 + IL_0114: call instance string valuetype NDesk.DBus.Signature::get_Value() + IL_0119: ldstr "s" + IL_011e: callvirt instance bool string::StartsWith(string) + IL_0123: brfalse IL_013a + + IL_0128: ldloc.s 5 + IL_012a: newobj instance void class NDesk.DBus.MessageReader::'.ctor'(class NDesk.DBus.Message) + IL_012f: stloc.s 11 + IL_0131: ldloc.s 11 + IL_0133: callvirt instance string class NDesk.DBus.MessageReader::ReadString() + IL_0138: stloc.s 9 + IL_013a: ldarg.s 6 + IL_013c: ldloc.s 8 + IL_013e: ldfld string NDesk.DBus.Error::ErrorName + IL_0143: ldstr ": " + IL_0148: ldloc.s 9 + IL_014a: call string string::Concat(string, string, string) + IL_014f: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0154: stind.ref + IL_0155: br IL_0180 + + IL_015a: ldstr "Got unexpected message of type " + IL_015f: ldloc.s 5 + IL_0161: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0166: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType + IL_016b: box NDesk.DBus.MessageType + IL_0170: ldstr " while waiting for a MethodReturn or Error" + IL_0175: call string string::Concat(object, object, object) + IL_017a: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_017f: throw + IL_0180: ldloc.s 6 + IL_0182: ret + } // end of method BusObject::SendMethodCall + + // method line 941 + .method public hidebysig + instance default void Invoke (class [mscorlib]System.Reflection.MethodBase methodBase, string methodName, object[] inArgs, [out] object[]& outArgs, [out] object& retVal, [out] class [mscorlib]System.Exception& exception) cil managed + { + // Method begins at RVA 0xc538 + // Code size 655 (0x28f) + .maxstack 6 + .locals init ( + class [mscorlib]System.Reflection.MethodInfo V_0, + string[] V_1, + string V_2, + class [mscorlib]System.Delegate V_3, + class [mscorlib]System.Type[] V_4, + valuetype NDesk.DBus.Signature V_5, + class NDesk.DBus.MethodCall V_6, + class NDesk.DBus.Message V_7, + string V_8, + class NDesk.DBus.MessageWriter V_9, + int32 V_10, + class [mscorlib]System.Type[] V_11, + bool V_12, + class NDesk.DBus.Message V_13, + valuetype NDesk.DBus.MessageType V_14, + object[] V_15, + class NDesk.DBus.Error V_16, + string V_17, + valuetype NDesk.DBus.Signature V_18, + class NDesk.DBus.MessageReader V_19) + IL_0000: ldarg.s 4 + IL_0002: ldc.i4.0 + IL_0003: newarr [mscorlib]System.Object + IL_0008: stind.ref + IL_0009: ldarg.s 5 + IL_000b: ldnull + IL_000c: stind.ref + IL_000d: ldarg.s 6 + IL_000f: ldnull + IL_0010: stind.ref + IL_0011: ldarg.1 + IL_0012: isinst [mscorlib]System.Reflection.MethodInfo + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldnull + IL_001a: call bool class [mscorlib]System.Reflection.MethodInfo::op_Inequality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_001f: brfalse IL_008b + + IL_0024: ldloc.0 + IL_0025: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsSpecialName() + IL_002a: brfalse IL_008b + + IL_002f: ldarg.2 + IL_0030: ldstr "add_" + IL_0035: callvirt instance bool string::StartsWith(string) + IL_003a: brtrue IL_004f + + IL_003f: ldarg.2 + IL_0040: ldstr "remove_" + IL_0045: callvirt instance bool string::StartsWith(string) + IL_004a: brfalse IL_008b + + IL_004f: ldarg.2 + IL_0050: ldc.i4.1 + IL_0051: newarr [mscorlib]System.Char + IL_0056: dup + IL_0057: ldc.i4.0 + IL_0058: ldc.i4.s 0x5f + IL_005a: stelem.i2 + IL_005b: ldc.i4.2 + IL_005c: callvirt instance string[] string::Split(char[], int32) + IL_0061: stloc.1 + IL_0062: ldloc.1 + IL_0063: ldc.i4.1 + IL_0064: ldelem.ref + IL_0065: stloc.2 + IL_0066: ldarg.3 + IL_0067: ldc.i4.0 + IL_0068: ldelem.ref + IL_0069: castclass [mscorlib]System.Delegate + IL_006e: stloc.3 + IL_006f: ldarg.0 + IL_0070: ldloc.0 + IL_0071: call string class NDesk.DBus.Mapper::GetInterfaceName(class [mscorlib]System.Reflection.MemberInfo) + IL_0076: ldloc.2 + IL_0077: ldloc.3 + IL_0078: ldloc.1 + IL_0079: ldc.i4.0 + IL_007a: ldelem.ref + IL_007b: ldstr "add" + IL_0080: call bool string::op_Equality(string, string) + IL_0085: call instance void class NDesk.DBus.BusObject::ToggleSignal(string, string, class [mscorlib]System.Delegate, bool) + IL_008a: ret + IL_008b: ldc.i4.0 + IL_008c: ldloc.0 + IL_008d: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_0092: call class [mscorlib]System.Type[] class NDesk.DBus.Mapper::GetTypes(valuetype NDesk.DBus.ArgDirection, class [mscorlib]System.Reflection.ParameterInfo[]) + IL_0097: stloc.s 4 + IL_0099: ldloc.s 4 + IL_009b: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type[]) + IL_00a0: stloc.s 5 + IL_00a2: ldnull + IL_00a3: stloc.s 8 + IL_00a5: ldloc.0 + IL_00a6: ldnull + IL_00a7: call bool class [mscorlib]System.Reflection.MethodInfo::op_Inequality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_00ac: brfalse IL_00b9 + + IL_00b1: ldloc.0 + IL_00b2: call string class NDesk.DBus.Mapper::GetInterfaceName(class [mscorlib]System.Reflection.MemberInfo) + IL_00b7: stloc.s 8 + IL_00b9: ldloc.0 + IL_00ba: ldnull + IL_00bb: call bool class [mscorlib]System.Reflection.MethodInfo::op_Inequality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_00c0: brfalse IL_00f4 + + IL_00c5: ldloc.0 + IL_00c6: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsSpecialName() + IL_00cb: brfalse IL_00f4 + + IL_00d0: ldarg.2 + IL_00d1: ldstr "get_" + IL_00d6: ldstr "Get" + IL_00db: callvirt instance string string::Replace(string, string) + IL_00e0: starg.s 2 + IL_00e2: ldarg.2 + IL_00e3: ldstr "set_" + IL_00e8: ldstr "Set" + IL_00ed: callvirt instance string string::Replace(string, string) + IL_00f2: starg.s 2 + IL_00f4: ldarg.0 + IL_00f5: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.BusObject::object_path + IL_00fa: ldloc.s 8 + IL_00fc: ldarg.2 + IL_00fd: ldarg.0 + IL_00fe: ldfld string NDesk.DBus.BusObject::bus_name + IL_0103: ldloc.s 5 + IL_0105: newobj instance void class NDesk.DBus.MethodCall::'.ctor'(class NDesk.DBus.ObjectPath, string, string, string, valuetype NDesk.DBus.Signature) + IL_010a: stloc.s 6 + IL_010c: ldloc.s 6 + IL_010e: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message + IL_0113: stloc.s 7 + IL_0115: ldarg.3 + IL_0116: brfalse IL_0173 + + IL_011b: ldarg.3 + IL_011c: ldlen + IL_011d: conv.i4 + IL_011e: brfalse IL_0173 + + IL_0123: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness + IL_0128: newobj instance void class NDesk.DBus.MessageWriter::'.ctor'(valuetype NDesk.DBus.EndianFlag) + IL_012d: stloc.s 9 + IL_012f: ldloc.s 9 + IL_0131: ldarg.0 + IL_0132: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_0137: stfld class NDesk.DBus.Connection NDesk.DBus.MessageWriter::connection + IL_013c: ldc.i4.0 + IL_013d: stloc.s 10 + IL_013f: br IL_015a + + IL_0144: ldloc.s 9 + IL_0146: ldloc.s 4 + IL_0148: ldloc.s 10 + IL_014a: ldelem.ref + IL_014b: ldarg.3 + IL_014c: ldloc.s 10 + IL_014e: ldelem.ref + IL_014f: callvirt instance void class NDesk.DBus.MessageWriter::Write(class [mscorlib]System.Type, object) + IL_0154: ldloc.s 10 + IL_0156: ldc.i4.1 + IL_0157: add + IL_0158: stloc.s 10 + IL_015a: ldloc.s 10 + IL_015c: ldloc.s 4 + IL_015e: ldlen + IL_015f: conv.i4 + IL_0160: bne.un IL_0144 + + IL_0165: ldloc.s 7 + IL_0167: ldloc.s 9 + IL_0169: callvirt instance unsigned int8[] class NDesk.DBus.MessageWriter::ToArray() + IL_016e: stfld unsigned int8[] NDesk.DBus.Message::Body + IL_0173: ldc.i4.1 + IL_0174: newarr [mscorlib]System.Type + IL_0179: stloc.s 11 + IL_017b: ldloc.s 11 + IL_017d: ldc.i4.0 + IL_017e: ldloc.0 + IL_017f: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MethodInfo::get_ReturnType() + IL_0184: stelem.ref + IL_0185: ldc.i4.1 + IL_0186: stloc.s 12 + IL_0188: ldloc.s 7 + IL_018a: ldloc.s 12 + IL_018c: callvirt instance void class NDesk.DBus.Message::set_ReplyExpected(bool) + IL_0191: ldloc.s 7 + IL_0193: ldloc.s 5 + IL_0195: callvirt instance void class NDesk.DBus.Message::set_Signature(valuetype NDesk.DBus.Signature) + IL_019a: ldloc.s 12 + IL_019c: brtrue IL_01b0 + + IL_01a1: ldarg.0 + IL_01a2: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_01a7: ldloc.s 7 + IL_01a9: callvirt instance unsigned int32 class NDesk.DBus.Connection::Send(class NDesk.DBus.Message) + IL_01ae: pop + IL_01af: ret + IL_01b0: ldarg.0 + IL_01b1: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_01b6: ldloc.s 7 + IL_01b8: callvirt instance class NDesk.DBus.Message class NDesk.DBus.Connection::SendWithReplyAndBlock(class NDesk.DBus.Message) + IL_01bd: stloc.s 13 + IL_01bf: ldloc.s 13 + IL_01c1: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_01c6: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType + IL_01cb: stloc.s 14 + IL_01cd: ldloc.s 14 + IL_01cf: ldc.i4.2 + IL_01d0: beq IL_01e2 + + IL_01d5: ldloc.s 14 + IL_01d7: ldc.i4.3 + IL_01d8: beq IL_0207 + + IL_01dd: br IL_0268 + + IL_01e2: ldloc.s 13 + IL_01e4: ldloc.s 11 + IL_01e6: call object[] class NDesk.DBus.MessageHelper::GetDynamicValues(class NDesk.DBus.Message, class [mscorlib]System.Type[]) + IL_01eb: stloc.s 15 + IL_01ed: ldloc.s 15 + IL_01ef: ldlen + IL_01f0: conv.i4 + IL_01f1: brfalse IL_0202 + + IL_01f6: ldarg.s 5 + IL_01f8: ldloc.s 15 + IL_01fa: ldloc.s 15 + IL_01fc: ldlen + IL_01fd: conv.i4 + IL_01fe: ldc.i4.1 + IL_01ff: sub + IL_0200: ldelem.ref + IL_0201: stind.ref + IL_0202: br IL_028e + + IL_0207: ldloc.s 13 + IL_0209: newobj instance void class NDesk.DBus.Error::'.ctor'(class NDesk.DBus.Message) + IL_020e: stloc.s 16 + IL_0210: ldsfld string [mscorlib]System.String::Empty + IL_0215: stloc.s 17 + IL_0217: ldloc.s 13 + IL_0219: callvirt instance valuetype NDesk.DBus.Signature class NDesk.DBus.Message::get_Signature() + IL_021e: stloc.s 18 + IL_0220: ldloca.s 18 + IL_0222: call instance string valuetype NDesk.DBus.Signature::get_Value() + IL_0227: ldstr "s" + IL_022c: callvirt instance bool string::StartsWith(string) + IL_0231: brfalse IL_0248 + + IL_0236: ldloc.s 13 + IL_0238: newobj instance void class NDesk.DBus.MessageReader::'.ctor'(class NDesk.DBus.Message) + IL_023d: stloc.s 19 + IL_023f: ldloc.s 19 + IL_0241: callvirt instance string class NDesk.DBus.MessageReader::ReadString() + IL_0246: stloc.s 17 + IL_0248: ldarg.s 6 + IL_024a: ldloc.s 16 + IL_024c: ldfld string NDesk.DBus.Error::ErrorName + IL_0251: ldstr ": " + IL_0256: ldloc.s 17 + IL_0258: call string string::Concat(string, string, string) + IL_025d: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0262: stind.ref + IL_0263: br IL_028e + + IL_0268: ldstr "Got unexpected message of type " + IL_026d: ldloc.s 13 + IL_026f: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0274: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType + IL_0279: box NDesk.DBus.MessageType + IL_027e: ldstr " while waiting for a MethodReturn or Error" + IL_0283: call string string::Concat(object, object, object) + IL_0288: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_028d: throw + IL_028e: ret + } // end of method BusObject::Invoke + + // method line 942 + .method public static hidebysig + default object GetObject (class NDesk.DBus.Connection conn, string bus_name, class NDesk.DBus.ObjectPath object_path, class [mscorlib]System.Type declType) cil managed + { + // Method begins at RVA 0xc7d4 + // Code size 49 (0x31) + .maxstack 2 + .locals init ( + class [mscorlib]System.Type V_0, + object V_1, + class NDesk.DBus.BusObject V_2) + IL_0000: ldsfld class NDesk.DBus.TypeImplementer NDesk.DBus.TypeImplementer::Root + IL_0005: ldarg.3 + IL_0006: callvirt instance class [mscorlib]System.Type class NDesk.DBus.TypeImplementer::GetImplementation(class [mscorlib]System.Type) + IL_000b: stloc.0 + IL_000c: ldloc.0 + IL_000d: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type) + IL_0012: stloc.1 + IL_0013: ldloc.1 + IL_0014: call class NDesk.DBus.BusObject class NDesk.DBus.BusObject::GetBusObject(object) + IL_0019: stloc.2 + IL_001a: ldloc.2 + IL_001b: ldarg.0 + IL_001c: stfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_0021: ldloc.2 + IL_0022: ldarg.1 + IL_0023: stfld string NDesk.DBus.BusObject::bus_name + IL_0028: ldloc.2 + IL_0029: ldarg.2 + IL_002a: stfld class NDesk.DBus.ObjectPath NDesk.DBus.BusObject::object_path + IL_002f: ldloc.1 + IL_0030: ret + } // end of method BusObject::GetObject + + // method line 943 + .method public static hidebysig + default class NDesk.DBus.BusObject GetBusObject (object instObj) cil managed + { + // Method begins at RVA 0xc814 + // Code size 58 (0x3a) + .maxstack 3 + .locals init ( + class NDesk.DBus.BusObject V_0) + IL_0000: ldarg.0 + IL_0001: isinst NDesk.DBus.BusObject + IL_0006: brfalse IL_0012 + + IL_000b: ldarg.0 + IL_000c: castclass NDesk.DBus.BusObject + IL_0011: ret + IL_0012: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.BusObject::boCache + IL_0017: ldarg.0 + IL_0018: ldloca.s 0 + IL_001a: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) + IL_001f: brfalse IL_0026 + + IL_0024: ldloc.0 IL_0025: ret - } // end of method Header::set_Item + IL_0026: newobj instance void class NDesk.DBus.BusObject::'.ctor'() + IL_002b: stloc.0 + IL_002c: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.BusObject::boCache + IL_0031: ldarg.0 + IL_0032: ldloc.0 + IL_0033: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::set_Item(!0, !1) + IL_0038: ldloc.0 + IL_0039: ret + } // end of method BusObject::GetBusObject - .property instance object Item (valuetype NDesk.DBus.FieldCode) + // method line 944 + .method public hidebysig + instance default class [mscorlib]System.Delegate GetHookupDelegate (class [mscorlib]System.Reflection.EventInfo ei) cil managed + { + // Method begins at RVA 0xc85c + // Code size 23 (0x17) + .maxstack 3 + .locals init ( + class [mscorlib]System.Reflection.Emit.DynamicMethod V_0, + class [mscorlib]System.Delegate V_1) + IL_0000: ldarg.1 + IL_0001: call class [mscorlib]System.Reflection.Emit.DynamicMethod class NDesk.DBus.TypeImplementer::GetHookupMethod(class [mscorlib]System.Reflection.EventInfo) + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.1 + IL_0009: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.EventInfo::get_EventHandlerType() + IL_000e: ldarg.0 + IL_000f: callvirt instance class [mscorlib]System.Delegate class [mscorlib]System.Reflection.Emit.DynamicMethod::CreateDelegate(class [mscorlib]System.Type, object) + IL_0014: stloc.1 + IL_0015: ldloc.1 + IL_0016: ret + } // end of method BusObject::GetHookupDelegate + + // method line 945 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0xc87f + // Code size 11 (0xb) + .maxstack 8 + IL_0000: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() + IL_0005: stsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.BusObject::boCache + IL_000a: ret + } // end of method BusObject::.cctor + + .property instance class NDesk.DBus.Connection Connection () { - .get instance default object NDesk.DBus.Header::get_Item (valuetype NDesk.DBus.FieldCode key) - .set instance default void NDesk.DBus.Header::set_Item (valuetype NDesk.DBus.FieldCode key, object 'value') + .get instance default class NDesk.DBus.Connection NDesk.DBus.BusObject::get_Connection () } - } // end of class NDesk.DBus.Header + .property instance string BusName () + { + .get instance default string NDesk.DBus.BusObject::get_BusName () + } + .property instance class NDesk.DBus.ObjectPath Path () + { + .get instance default class NDesk.DBus.ObjectPath NDesk.DBus.BusObject::get_Path () + } + } // end of class NDesk.DBus.BusObject } .namespace NDesk.DBus { - .class private auto ansi sealed MessageType - extends [mscorlib]System.Enum + .class private auto ansi beforefieldinit MethodCall + extends [mscorlib]System.Object { - .field public specialname rtspecialname unsigned int8 value__ - .field public static literal valuetype NDesk.DBus.MessageType Invalid = int8(0x00) - .field public static literal valuetype NDesk.DBus.MessageType MethodCall = int8(0x01) - .field public static literal valuetype NDesk.DBus.MessageType MethodReturn = int8(0x02) - .field public static literal valuetype NDesk.DBus.MessageType Error = int8(0x03) - .field public static literal valuetype NDesk.DBus.MessageType Signal = int8(0x04) + .field public class NDesk.DBus.Message message + .field public class NDesk.DBus.ObjectPath Path + .field public string Interface + .field public string Member + .field public string Destination + .field public string Sender + .field public valuetype NDesk.DBus.Signature Signature - } // end of class NDesk.DBus.MessageType + // method line 946 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NDesk.DBus.ObjectPath path, string 'interface', string member, string destination, valuetype NDesk.DBus.Signature signature) cil managed + { + // Method begins at RVA 0xc88c + // Code size 133 (0x85) + .maxstack 3 + IL_0000: ldarg.0 + IL_0001: newobj instance void class NDesk.DBus.Message::'.ctor'() + IL_0006: stfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message + IL_000b: ldarg.0 + IL_000c: call instance void object::'.ctor'() + IL_0011: ldarg.0 + IL_0012: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message + IL_0017: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_001c: ldc.i4.1 + IL_001d: stfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType + IL_0022: ldarg.0 + IL_0023: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message + IL_0028: ldc.i4.1 + IL_0029: callvirt instance void class NDesk.DBus.Message::set_ReplyExpected(bool) + IL_002e: ldarg.0 + IL_002f: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message + IL_0034: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0039: ldc.i4.1 + IL_003a: ldarg.1 + IL_003b: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) + IL_0040: ldarg.0 + IL_0041: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message + IL_0046: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_004b: ldc.i4.2 + IL_004c: ldarg.2 + IL_004d: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) + IL_0052: ldarg.0 + IL_0053: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message + IL_0058: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_005d: ldc.i4.3 + IL_005e: ldarg.3 + IL_005f: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) + IL_0064: ldarg.0 + IL_0065: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message + IL_006a: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_006f: ldc.i4.6 + IL_0070: ldarg.s 4 + IL_0072: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) + IL_0077: ldarg.0 + IL_0078: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message + IL_007d: ldarg.s 5 + IL_007f: callvirt instance void class NDesk.DBus.Message::set_Signature(valuetype NDesk.DBus.Signature) + IL_0084: ret + } // end of method MethodCall::.ctor + + // method line 947 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NDesk.DBus.Message message) cil managed + { + // Method begins at RVA 0xc920 + // Code size 152 (0x98) + .maxstack 3 + IL_0000: ldarg.0 + IL_0001: newobj instance void class NDesk.DBus.Message::'.ctor'() + IL_0006: stfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message + IL_000b: ldarg.0 + IL_000c: call instance void object::'.ctor'() + IL_0011: ldarg.0 + IL_0012: ldarg.1 + IL_0013: stfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message + IL_0018: ldarg.0 + IL_0019: ldarg.1 + IL_001a: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_001f: ldc.i4.1 + IL_0020: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) + IL_0025: castclass NDesk.DBus.ObjectPath + IL_002a: stfld class NDesk.DBus.ObjectPath NDesk.DBus.MethodCall::Path + IL_002f: ldarg.0 + IL_0030: ldarg.1 + IL_0031: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0036: ldc.i4.2 + IL_0037: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) + IL_003c: castclass [mscorlib]System.String + IL_0041: stfld string NDesk.DBus.MethodCall::Interface + IL_0046: ldarg.0 + IL_0047: ldarg.1 + IL_0048: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_004d: ldc.i4.3 + IL_004e: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) + IL_0053: castclass [mscorlib]System.String + IL_0058: stfld string NDesk.DBus.MethodCall::Member + IL_005d: ldarg.0 + IL_005e: ldarg.1 + IL_005f: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0064: ldc.i4.6 + IL_0065: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) + IL_006a: castclass [mscorlib]System.String + IL_006f: stfld string NDesk.DBus.MethodCall::Destination + IL_0074: ldarg.0 + IL_0075: ldarg.1 + IL_0076: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_007b: ldc.i4.7 + IL_007c: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) + IL_0081: castclass [mscorlib]System.String + IL_0086: stfld string NDesk.DBus.MethodCall::Sender + IL_008b: ldarg.0 + IL_008c: ldarg.1 + IL_008d: callvirt instance valuetype NDesk.DBus.Signature class NDesk.DBus.Message::get_Signature() + IL_0092: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MethodCall::Signature + IL_0097: ret + } // end of method MethodCall::.ctor + + // method line 948 + .method public hidebysig + instance default class NDesk.DBus.Error CreateError (string errorName, string errorMessage) cil managed + { + // Method begins at RVA 0xc9c4 + // Code size 87 (0x57) + .maxstack 2 + .locals init ( + class NDesk.DBus.Error V_0, + class NDesk.DBus.MessageWriter V_1) + IL_0000: ldarg.1 + IL_0001: ldarg.0 + IL_0002: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message + IL_0007: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_000c: ldfld unsigned int32 NDesk.DBus.Header::Serial + IL_0011: newobj instance void class NDesk.DBus.Error::'.ctor'(string, unsigned int32) + IL_0016: stloc.0 + IL_0017: ldloc.0 + IL_0018: ldfld class NDesk.DBus.Message NDesk.DBus.Error::message + IL_001d: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::StringSig + IL_0022: callvirt instance void class NDesk.DBus.Message::set_Signature(valuetype NDesk.DBus.Signature) + IL_0027: ldarg.0 + IL_0028: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message + IL_002d: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0032: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Header::Endianness + IL_0037: newobj instance void class NDesk.DBus.MessageWriter::'.ctor'(valuetype NDesk.DBus.EndianFlag) + IL_003c: stloc.1 + IL_003d: ldloc.1 + IL_003e: ldarg.2 + IL_003f: callvirt instance void class NDesk.DBus.MessageWriter::Write(string) + IL_0044: ldloc.0 + IL_0045: ldfld class NDesk.DBus.Message NDesk.DBus.Error::message + IL_004a: ldloc.1 + IL_004b: callvirt instance unsigned int8[] class NDesk.DBus.MessageWriter::ToArray() + IL_0050: stfld unsigned int8[] NDesk.DBus.Message::Body + IL_0055: ldloc.0 + IL_0056: ret + } // end of method MethodCall::CreateError + + } // end of class NDesk.DBus.MethodCall } .namespace NDesk.DBus { - .class private auto ansi sealed FieldCode - extends [mscorlib]System.Enum + .class private auto ansi beforefieldinit MethodReturn + extends [mscorlib]System.Object { - .field public specialname rtspecialname unsigned int8 value__ - .field public static literal valuetype NDesk.DBus.FieldCode Invalid = int8(0x00) - .field public static literal valuetype NDesk.DBus.FieldCode Path = int8(0x01) - .field public static literal valuetype NDesk.DBus.FieldCode Interface = int8(0x02) - .field public static literal valuetype NDesk.DBus.FieldCode Member = int8(0x03) - .field public static literal valuetype NDesk.DBus.FieldCode ErrorName = int8(0x04) - .field public static literal valuetype NDesk.DBus.FieldCode ReplySerial = int8(0x05) - .field public static literal valuetype NDesk.DBus.FieldCode Destination = int8(0x06) - .field public static literal valuetype NDesk.DBus.FieldCode Sender = int8(0x07) - .field public static literal valuetype NDesk.DBus.FieldCode Signature = int8(0x08) + .field public class NDesk.DBus.Message message + .field public unsigned int32 ReplySerial - } // end of class NDesk.DBus.FieldCode + // method line 949 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (unsigned int32 reply_serial) cil managed + { + // Method begins at RVA 0xca28 + // Code size 75 (0x4b) + .maxstack 3 + IL_0000: ldarg.0 + IL_0001: newobj instance void class NDesk.DBus.Message::'.ctor'() + IL_0006: stfld class NDesk.DBus.Message NDesk.DBus.MethodReturn::message + IL_000b: ldarg.0 + IL_000c: call instance void object::'.ctor'() + IL_0011: ldarg.0 + IL_0012: ldfld class NDesk.DBus.Message NDesk.DBus.MethodReturn::message + IL_0017: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_001c: ldc.i4.2 + IL_001d: stfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType + IL_0022: ldarg.0 + IL_0023: ldfld class NDesk.DBus.Message NDesk.DBus.MethodReturn::message + IL_0028: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_002d: ldc.i4.3 + IL_002e: stfld valuetype NDesk.DBus.HeaderFlag NDesk.DBus.Header::Flags + IL_0033: ldarg.0 + IL_0034: ldfld class NDesk.DBus.Message NDesk.DBus.MethodReturn::message + IL_0039: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_003e: ldc.i4.5 + IL_003f: ldarg.1 + IL_0040: box [mscorlib]System.UInt32 + IL_0045: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) + IL_004a: ret + } // end of method MethodReturn::.ctor + + // method line 950 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NDesk.DBus.Message message) cil managed + { + // Method begins at RVA 0xca7f + // Code size 48 (0x30) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: newobj instance void class NDesk.DBus.Message::'.ctor'() + IL_0006: stfld class NDesk.DBus.Message NDesk.DBus.MethodReturn::message + IL_000b: ldarg.0 + IL_000c: call instance void object::'.ctor'() + IL_0011: ldarg.0 + IL_0012: ldarg.1 + IL_0013: stfld class NDesk.DBus.Message NDesk.DBus.MethodReturn::message + IL_0018: ldarg.0 + IL_0019: ldarg.1 + IL_001a: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_001f: ldc.i4.5 + IL_0020: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) + IL_0025: unbox.any [mscorlib]System.UInt32 + IL_002a: stfld unsigned int32 NDesk.DBus.MethodReturn::ReplySerial + IL_002f: ret + } // end of method MethodReturn::.ctor + + } // end of class NDesk.DBus.MethodReturn } .namespace NDesk.DBus { - .class private auto ansi sealed EndianFlag - extends [mscorlib]System.Enum + .class private auto ansi beforefieldinit Error + extends [mscorlib]System.Object { - .field public specialname rtspecialname unsigned int8 value__ - .field public static literal valuetype NDesk.DBus.EndianFlag Little = int8(0x6c) - .field public static literal valuetype NDesk.DBus.EndianFlag Big = int8(0x42) + .field public class NDesk.DBus.Message message + .field public string ErrorName + .field public unsigned int32 ReplySerial - } // end of class NDesk.DBus.EndianFlag + // method line 951 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string error_name, unsigned int32 reply_serial) cil managed + { + // Method begins at RVA 0xcab0 + // Code size 93 (0x5d) + .maxstack 3 + IL_0000: ldarg.0 + IL_0001: newobj instance void class NDesk.DBus.Message::'.ctor'() + IL_0006: stfld class NDesk.DBus.Message NDesk.DBus.Error::message + IL_000b: ldarg.0 + IL_000c: call instance void object::'.ctor'() + IL_0011: ldarg.0 + IL_0012: ldfld class NDesk.DBus.Message NDesk.DBus.Error::message + IL_0017: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_001c: ldc.i4.3 + IL_001d: stfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType + IL_0022: ldarg.0 + IL_0023: ldfld class NDesk.DBus.Message NDesk.DBus.Error::message + IL_0028: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_002d: ldc.i4.3 + IL_002e: stfld valuetype NDesk.DBus.HeaderFlag NDesk.DBus.Header::Flags + IL_0033: ldarg.0 + IL_0034: ldfld class NDesk.DBus.Message NDesk.DBus.Error::message + IL_0039: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_003e: ldc.i4.4 + IL_003f: ldarg.1 + IL_0040: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) + IL_0045: ldarg.0 + IL_0046: ldfld class NDesk.DBus.Message NDesk.DBus.Error::message + IL_004b: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0050: ldc.i4.5 + IL_0051: ldarg.2 + IL_0052: box [mscorlib]System.UInt32 + IL_0057: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) + IL_005c: ret + } // end of method Error::.ctor + + // method line 952 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NDesk.DBus.Message message) cil managed + { + // Method begins at RVA 0xcb1c + // Code size 71 (0x47) + .maxstack 3 + IL_0000: ldarg.0 + IL_0001: newobj instance void class NDesk.DBus.Message::'.ctor'() + IL_0006: stfld class NDesk.DBus.Message NDesk.DBus.Error::message + IL_000b: ldarg.0 + IL_000c: call instance void object::'.ctor'() + IL_0011: ldarg.0 + IL_0012: ldarg.1 + IL_0013: stfld class NDesk.DBus.Message NDesk.DBus.Error::message + IL_0018: ldarg.0 + IL_0019: ldarg.1 + IL_001a: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_001f: ldc.i4.4 + IL_0020: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) + IL_0025: castclass [mscorlib]System.String + IL_002a: stfld string NDesk.DBus.Error::ErrorName + IL_002f: ldarg.0 + IL_0030: ldarg.1 + IL_0031: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0036: ldc.i4.5 + IL_0037: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) + IL_003c: unbox.any [mscorlib]System.UInt32 + IL_0041: stfld unsigned int32 NDesk.DBus.Error::ReplySerial + IL_0046: ret + } // end of method Error::.ctor + + } // end of class NDesk.DBus.Error } .namespace NDesk.DBus { - .class private auto ansi sealed HeaderFlag - extends [mscorlib]System.Enum + .class private auto ansi beforefieldinit Signal + extends [mscorlib]System.Object { - .custom instance void class [mscorlib]System.FlagsAttribute::'.ctor'() = (01 00 00 00 ) // .... + .field public class NDesk.DBus.Message message + .field public class NDesk.DBus.ObjectPath Path + .field public string Interface + .field public string Member + .field public string Sender - .field public specialname rtspecialname unsigned int8 value__ - .field public static literal valuetype NDesk.DBus.HeaderFlag None = int8(0x00) - .field public static literal valuetype NDesk.DBus.HeaderFlag NoReplyExpected = int8(0x01) - .field public static literal valuetype NDesk.DBus.HeaderFlag NoAutoStart = int8(0x02) + // method line 953 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NDesk.DBus.ObjectPath path, string 'interface', string member) cil managed + { + // Method begins at RVA 0xcb70 + // Code size 106 (0x6a) + .maxstack 3 + IL_0000: ldarg.0 + IL_0001: newobj instance void class NDesk.DBus.Message::'.ctor'() + IL_0006: stfld class NDesk.DBus.Message NDesk.DBus.Signal::message + IL_000b: ldarg.0 + IL_000c: call instance void object::'.ctor'() + IL_0011: ldarg.0 + IL_0012: ldfld class NDesk.DBus.Message NDesk.DBus.Signal::message + IL_0017: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_001c: ldc.i4.4 + IL_001d: stfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType + IL_0022: ldarg.0 + IL_0023: ldfld class NDesk.DBus.Message NDesk.DBus.Signal::message + IL_0028: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_002d: ldc.i4.3 + IL_002e: stfld valuetype NDesk.DBus.HeaderFlag NDesk.DBus.Header::Flags + IL_0033: ldarg.0 + IL_0034: ldfld class NDesk.DBus.Message NDesk.DBus.Signal::message + IL_0039: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_003e: ldc.i4.1 + IL_003f: ldarg.1 + IL_0040: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) + IL_0045: ldarg.0 + IL_0046: ldfld class NDesk.DBus.Message NDesk.DBus.Signal::message + IL_004b: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0050: ldc.i4.2 + IL_0051: ldarg.2 + IL_0052: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) + IL_0057: ldarg.0 + IL_0058: ldfld class NDesk.DBus.Message NDesk.DBus.Signal::message + IL_005d: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0062: ldc.i4.3 + IL_0063: ldarg.3 + IL_0064: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) + IL_0069: ret + } // end of method Signal::.ctor - } // end of class NDesk.DBus.HeaderFlag + // method line 954 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NDesk.DBus.Message message) cil managed + { + // Method begins at RVA 0xcbe8 + // Code size 117 (0x75) + .maxstack 3 + IL_0000: ldarg.0 + IL_0001: newobj instance void class NDesk.DBus.Message::'.ctor'() + IL_0006: stfld class NDesk.DBus.Message NDesk.DBus.Signal::message + IL_000b: ldarg.0 + IL_000c: call instance void object::'.ctor'() + IL_0011: ldarg.0 + IL_0012: ldarg.1 + IL_0013: stfld class NDesk.DBus.Message NDesk.DBus.Signal::message + IL_0018: ldarg.0 + IL_0019: ldarg.1 + IL_001a: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_001f: ldc.i4.1 + IL_0020: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) + IL_0025: castclass NDesk.DBus.ObjectPath + IL_002a: stfld class NDesk.DBus.ObjectPath NDesk.DBus.Signal::Path + IL_002f: ldarg.0 + IL_0030: ldarg.1 + IL_0031: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0036: ldc.i4.2 + IL_0037: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) + IL_003c: castclass [mscorlib]System.String + IL_0041: stfld string NDesk.DBus.Signal::Interface + IL_0046: ldarg.0 + IL_0047: ldarg.1 + IL_0048: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_004d: ldc.i4.3 + IL_004e: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) + IL_0053: castclass [mscorlib]System.String + IL_0058: stfld string NDesk.DBus.Signal::Member + IL_005d: ldarg.0 + IL_005e: ldarg.1 + IL_005f: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0064: ldc.i4.7 + IL_0065: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) + IL_006a: castclass [mscorlib]System.String + IL_006f: stfld string NDesk.DBus.Signal::Sender + IL_0074: ret + } // end of method Signal::.ctor + + } // end of class NDesk.DBus.Signal } .namespace NDesk.DBus { - .class private auto ansi sealed beforefieldinit ObjectPath + .class private sequential ansi sealed beforefieldinit Signature + extends [mscorlib]System.ValueType + { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + + .field public static initonly valuetype NDesk.DBus.Signature Empty + .field public static initonly valuetype NDesk.DBus.Signature ByteSig + .field public static initonly valuetype NDesk.DBus.Signature UInt16Sig + .field public static initonly valuetype NDesk.DBus.Signature UInt32Sig + .field public static initonly valuetype NDesk.DBus.Signature StringSig + .field public static initonly valuetype NDesk.DBus.Signature ObjectPathSig + .field public static initonly valuetype NDesk.DBus.Signature SignatureSig + .field public static initonly valuetype NDesk.DBus.Signature VariantSig + .field private unsigned int8[] data + + // method line 955 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string 'value') cil managed + { + // Method begins at RVA 0xcc6c + // Code size 81 (0x51) + .maxstack 3 + .locals init ( + valuetype NDesk.DBus.Signature V_0) + IL_0000: ldarg.1 + IL_0001: callvirt instance int32 string::get_Length() + IL_0006: brtrue IL_001f + + IL_000b: ldarg.0 + IL_000c: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + IL_0011: stloc.0 + IL_0012: ldloca.s 0 + IL_0014: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0019: stfld unsigned int8[] NDesk.DBus.Signature::data + IL_001e: ret + IL_001f: ldarg.1 + IL_0020: callvirt instance int32 string::get_Length() + IL_0025: ldc.i4.1 + IL_0026: bne.un IL_003f + + IL_002b: ldarg.0 + IL_002c: ldarg.1 + IL_002d: ldc.i4.0 + IL_002e: callvirt instance char string::get_Chars(int32) + IL_0033: conv.u1 + IL_0034: call unsigned int8[] valuetype NDesk.DBus.Signature::DataForDType(valuetype NDesk.DBus.DType) + IL_0039: stfld unsigned int8[] NDesk.DBus.Signature::data + IL_003e: ret + IL_003f: ldarg.0 + IL_0040: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_ASCII() + IL_0045: ldarg.1 + IL_0046: callvirt instance unsigned int8[] class [mscorlib]System.Text.Encoding::GetBytes(string) + IL_004b: stfld unsigned int8[] NDesk.DBus.Signature::data + IL_0050: ret + } // end of method Signature::.ctor + + // method line 956 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (valuetype NDesk.DBus.DType 'value') cil managed + { + // Method begins at RVA 0xccc9 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call unsigned int8[] valuetype NDesk.DBus.Signature::DataForDType(valuetype NDesk.DBus.DType) + IL_0007: stfld unsigned int8[] NDesk.DBus.Signature::data + IL_000c: ret + } // end of method Signature::.ctor + + // method line 957 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (valuetype NDesk.DBus.DType[] 'value') cil managed + { + // Method begins at RVA 0xccd8 + // Code size 98 (0x62) + .maxstack 4 + .locals init ( + valuetype NDesk.DBus.Signature V_0, + int32 V_1) + IL_0000: ldarg.1 + IL_0001: ldlen + IL_0002: conv.i4 + IL_0003: brtrue IL_001c + + IL_0008: ldarg.0 + IL_0009: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + IL_000e: stloc.0 + IL_000f: ldloca.s 0 + IL_0011: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0016: stfld unsigned int8[] NDesk.DBus.Signature::data + IL_001b: ret + IL_001c: ldarg.1 + IL_001d: ldlen + IL_001e: conv.i4 + IL_001f: ldc.i4.1 + IL_0020: bne.un IL_0034 + + IL_0025: ldarg.0 + IL_0026: ldarg.1 + IL_0027: ldc.i4.0 + IL_0028: ldelem.u1 + IL_0029: call unsigned int8[] valuetype NDesk.DBus.Signature::DataForDType(valuetype NDesk.DBus.DType) + IL_002e: stfld unsigned int8[] NDesk.DBus.Signature::data + IL_0033: ret + IL_0034: ldarg.0 + IL_0035: ldarg.1 + IL_0036: ldlen + IL_0037: conv.i4 + IL_0038: newarr [mscorlib]System.Byte + IL_003d: stfld unsigned int8[] NDesk.DBus.Signature::data + IL_0042: ldc.i4.0 + IL_0043: stloc.1 + IL_0044: br IL_0058 + + IL_0049: ldarg.0 + IL_004a: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_004f: ldloc.1 + IL_0050: ldarg.1 + IL_0051: ldloc.1 + IL_0052: ldelem.u1 + IL_0053: stelem.i1 + IL_0054: ldloc.1 + IL_0055: ldc.i4.1 + IL_0056: add + IL_0057: stloc.1 + IL_0058: ldloc.1 + IL_0059: ldarg.1 + IL_005a: ldlen + IL_005b: conv.i4 + IL_005c: bne.un IL_0049 + + IL_0061: ret + } // end of method Signature::.ctor + + // method line 958 + .method public static hidebysig specialname + default bool op_Equality (valuetype NDesk.DBus.Signature a, valuetype NDesk.DBus.Signature b) cil managed + { + // Method begins at RVA 0xcd48 + // Code size 127 (0x7f) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: ldarga.s 0 + IL_0002: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0007: ldarga.s 1 + IL_0009: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_000e: bne.un IL_0015 + + IL_0013: ldc.i4.1 + IL_0014: ret + IL_0015: ldarga.s 0 + IL_0017: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_001c: brtrue IL_0023 + + IL_0021: ldc.i4.0 + IL_0022: ret + IL_0023: ldarga.s 1 + IL_0025: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_002a: brtrue IL_0031 + + IL_002f: ldc.i4.0 + IL_0030: ret + IL_0031: ldarga.s 0 + IL_0033: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0038: ldlen + IL_0039: conv.i4 + IL_003a: ldarga.s 1 + IL_003c: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0041: ldlen + IL_0042: conv.i4 + IL_0043: beq IL_004a + + IL_0048: ldc.i4.0 + IL_0049: ret + IL_004a: ldc.i4.0 + IL_004b: stloc.0 + IL_004c: br IL_006e + + IL_0051: ldarga.s 0 + IL_0053: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0058: ldloc.0 + IL_0059: ldelem.u1 + IL_005a: ldarga.s 1 + IL_005c: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0061: ldloc.0 + IL_0062: ldelem.u1 + IL_0063: beq IL_006a + + IL_0068: ldc.i4.0 + IL_0069: ret + IL_006a: ldloc.0 + IL_006b: ldc.i4.1 + IL_006c: add + IL_006d: stloc.0 + IL_006e: ldloc.0 + IL_006f: ldarga.s 0 + IL_0071: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0076: ldlen + IL_0077: conv.i4 + IL_0078: bne.un IL_0051 + + IL_007d: ldc.i4.1 + IL_007e: ret + } // end of method Signature::op_Equality + + // method line 959 + .method public static hidebysig specialname + default bool op_Inequality (valuetype NDesk.DBus.Signature a, valuetype NDesk.DBus.Signature b) cil managed + { + // Method begins at RVA 0xcdd3 + // Code size 11 (0xb) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0007: ldc.i4.0 + IL_0008: ceq + IL_000a: ret + } // end of method Signature::op_Inequality + + // method line 960 + .method public virtual hidebysig + instance default bool Equals (object o) cil managed + { + // Method begins at RVA 0xcddf + // Code size 39 (0x27) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: brtrue IL_0008 + + IL_0006: ldc.i4.0 + IL_0007: ret + IL_0008: ldarg.1 + IL_0009: isinst NDesk.DBus.Signature + IL_000e: brtrue IL_0015 + + IL_0013: ldc.i4.0 + IL_0014: ret + IL_0015: ldarg.0 + IL_0016: ldobj NDesk.DBus.Signature + IL_001b: ldarg.1 + IL_001c: unbox.any NDesk.DBus.Signature + IL_0021: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0026: ret + } // end of method Signature::Equals + + // method line 961 + .method public virtual hidebysig + instance default int32 GetHashCode () cil managed + { + // Method begins at RVA 0xce07 + // Code size 12 (0xc) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance string valuetype NDesk.DBus.Signature::get_Value() + IL_0006: callvirt instance int32 object::GetHashCode() + IL_000b: ret + } // end of method Signature::GetHashCode + + // method line 962 + .method public static hidebysig specialname + default valuetype NDesk.DBus.Signature op_Addition (valuetype NDesk.DBus.Signature s1, valuetype NDesk.DBus.Signature s2) cil managed + { + // Method begins at RVA 0xce14 + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::Concat(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0007: ret + } // end of method Signature::op_Addition + + // method line 963 + .method public static hidebysig + default valuetype NDesk.DBus.Signature Concat (valuetype NDesk.DBus.Signature s1, valuetype NDesk.DBus.Signature s2) cil managed + { + // Method begins at RVA 0xce20 + // Code size 152 (0x98) + .maxstack 3 + .locals init ( + unsigned int8[] V_0) + IL_0000: ldarga.s 0 + IL_0002: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0007: brtrue IL_001e + + IL_000c: ldarga.s 1 + IL_000e: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0013: brtrue IL_001e + + IL_0018: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + IL_001d: ret + IL_001e: ldarga.s 0 + IL_0020: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0025: brtrue IL_002c + + IL_002a: ldarg.1 + IL_002b: ret + IL_002c: ldarga.s 1 + IL_002e: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0033: brtrue IL_003a + + IL_0038: ldarg.0 + IL_0039: ret + IL_003a: ldarga.s 0 + IL_003c: call instance int32 valuetype NDesk.DBus.Signature::get_Length() + IL_0041: ldarga.s 1 + IL_0043: call instance int32 valuetype NDesk.DBus.Signature::get_Length() + IL_0048: add + IL_0049: brtrue IL_0054 + + IL_004e: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + IL_0053: ret + IL_0054: ldarga.s 0 + IL_0056: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_005b: ldlen + IL_005c: conv.i4 + IL_005d: ldarga.s 1 + IL_005f: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0064: ldlen + IL_0065: conv.i4 + IL_0066: add + IL_0067: newarr [mscorlib]System.Byte + IL_006c: stloc.0 + IL_006d: ldarga.s 0 + IL_006f: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0074: ldloc.0 + IL_0075: ldc.i4.0 + IL_0076: callvirt instance void class [mscorlib]System.Array::CopyTo(class [mscorlib]System.Array, int32) + IL_007b: ldarga.s 1 + IL_007d: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0082: ldloc.0 + IL_0083: ldarga.s 0 + IL_0085: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_008a: ldlen + IL_008b: conv.i4 + IL_008c: callvirt instance void class [mscorlib]System.Array::CopyTo(class [mscorlib]System.Array, int32) + IL_0091: ldloc.0 + IL_0092: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::Take(unsigned int8[]) + IL_0097: ret + } // end of method Signature::Concat + + // method line 964 + .method assembly static hidebysig + default valuetype NDesk.DBus.Signature Take (unsigned int8[] 'value') cil managed + { + // Method begins at RVA 0xcec4 + // Code size 66 (0x42) + .maxstack 3 + .locals init ( + valuetype NDesk.DBus.Signature V_0, + valuetype NDesk.DBus.Signature V_1) + IL_0000: ldarg.0 + IL_0001: ldlen + IL_0002: conv.i4 + IL_0003: brtrue IL_001e + + IL_0008: ldloca.s 0 + IL_000a: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + IL_000f: stloc.1 + IL_0010: ldloca.s 1 + IL_0012: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0017: stfld unsigned int8[] NDesk.DBus.Signature::data + IL_001c: ldloc.0 + IL_001d: ret + IL_001e: ldarg.0 + IL_001f: ldlen + IL_0020: conv.i4 + IL_0021: ldc.i4.1 + IL_0022: bne.un IL_0038 + + IL_0027: ldloca.s 0 + IL_0029: ldarg.0 + IL_002a: ldc.i4.0 + IL_002b: ldelem.u1 + IL_002c: call unsigned int8[] valuetype NDesk.DBus.Signature::DataForDType(valuetype NDesk.DBus.DType) + IL_0031: stfld unsigned int8[] NDesk.DBus.Signature::data + IL_0036: ldloc.0 + IL_0037: ret + IL_0038: ldloca.s 0 + IL_003a: ldarg.0 + IL_003b: stfld unsigned int8[] NDesk.DBus.Signature::data + IL_0040: ldloc.0 + IL_0041: ret + } // end of method Signature::Take + + // method line 965 + .method private static hidebysig + default unsigned int8[] DataForDType (valuetype NDesk.DBus.DType 'value') cil managed + { + // Method begins at RVA 0xcf14 + // Code size 178 (0xb2) + .maxstack 4 + .locals init ( + valuetype NDesk.DBus.Signature V_0, + valuetype NDesk.DBus.Signature V_1, + valuetype NDesk.DBus.Signature V_2, + valuetype NDesk.DBus.Signature V_3, + valuetype NDesk.DBus.Signature V_4, + valuetype NDesk.DBus.Signature V_5, + valuetype NDesk.DBus.Signature V_6) + IL_0000: ldarg.0 + IL_0001: ldc.i4.s 0x6f + IL_0003: sub + IL_0004: switch ( + IL_007a, + IL_0035, + IL_0050, + IL_0035, + IL_006c, + IL_0035, + IL_005e, + IL_0098, + IL_0035, + IL_0035, + IL_0042) + IL_0035: ldarg.0 + IL_0036: ldc.i4.s 0x67 + IL_0038: beq IL_0089 + + IL_003d: br IL_00a7 + + IL_0042: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::ByteSig + IL_0047: stloc.0 + IL_0048: ldloca.s 0 + IL_004a: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_004f: ret + IL_0050: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::UInt16Sig + IL_0055: stloc.1 + IL_0056: ldloca.s 1 + IL_0058: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_005d: ret + IL_005e: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::UInt32Sig + IL_0063: stloc.2 + IL_0064: ldloca.s 2 + IL_0066: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_006b: ret + IL_006c: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::StringSig + IL_0071: stloc.3 + IL_0072: ldloca.s 3 + IL_0074: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0079: ret + IL_007a: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::ObjectPathSig + IL_007f: stloc.s 4 + IL_0081: ldloca.s 4 + IL_0083: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0088: ret + IL_0089: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::SignatureSig + IL_008e: stloc.s 5 + IL_0090: ldloca.s 5 + IL_0092: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0097: ret + IL_0098: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::VariantSig + IL_009d: stloc.s 6 + IL_009f: ldloca.s 6 + IL_00a1: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_00a6: ret + IL_00a7: ldc.i4.1 + IL_00a8: newarr [mscorlib]System.Byte + IL_00ad: dup + IL_00ae: ldc.i4.0 + IL_00af: ldarg.0 + IL_00b0: stelem.i1 + IL_00b1: ret + } // end of method Signature::DataForDType + + // method line 966 + .method private static hidebysig + default valuetype NDesk.DBus.Signature Allocate (valuetype NDesk.DBus.DType 'value') cil managed + { + // Method begins at RVA 0xcfd4 + // Code size 19 (0x13) + .maxstack 5 + .locals init ( + valuetype NDesk.DBus.Signature V_0) + IL_0000: ldloca.s 0 + IL_0002: ldc.i4.1 + IL_0003: newarr [mscorlib]System.Byte + IL_0008: dup + IL_0009: ldc.i4.0 + IL_000a: ldarg.0 + IL_000b: stelem.i1 + IL_000c: stfld unsigned int8[] NDesk.DBus.Signature::data + IL_0011: ldloc.0 + IL_0012: ret + } // end of method Signature::Allocate + + // method line 967 + .method public hidebysig + instance default unsigned int8[] GetBuffer () cil managed + { + // Method begins at RVA 0xcff3 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0006: ret + } // end of method Signature::GetBuffer + + // method line 968 + .method assembly hidebysig specialname + instance default valuetype NDesk.DBus.DType get_Item (int32 index) cil managed + { + // Method begins at RVA 0xcffb + // Code size 9 (0x9) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0006: ldarg.1 + IL_0007: ldelem.u1 + IL_0008: ret + } // end of method Signature::get_Item + + // method line 969 + .method public hidebysig specialname + instance default int32 get_Length () cil managed + { + // Method begins at RVA 0xd005 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0006: ldlen + IL_0007: conv.i4 + IL_0008: ret + } // end of method Signature::get_Length + + // method line 970 + .method public hidebysig specialname + instance default string get_Value () cil managed + { + // Method begins at RVA 0xd00f + // Code size 34 (0x22) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0006: brtrue IL_0011 + + IL_000b: ldsfld string [mscorlib]System.String::Empty + IL_0010: ret + IL_0011: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_ASCII() + IL_0016: ldarg.0 + IL_0017: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_001c: callvirt instance string class [mscorlib]System.Text.Encoding::GetString(unsigned int8[]) + IL_0021: ret + } // end of method Signature::get_Value + + // method line 971 + .method public virtual hidebysig + instance default string ToString () cil managed + { + // Method begins at RVA 0xd032 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance string valuetype NDesk.DBus.Signature::get_Value() + IL_0006: ret + } // end of method Signature::ToString + + // method line 972 + .method public hidebysig + instance default valuetype NDesk.DBus.Signature MakeArraySignature () cil managed + { + // Method begins at RVA 0xd03a + // Code size 19 (0x13) + .maxstack 8 + IL_0000: ldc.i4.s 0x61 + IL_0002: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) + IL_0007: ldarg.0 + IL_0008: ldobj NDesk.DBus.Signature + IL_000d: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0012: ret + } // end of method Signature::MakeArraySignature + + // method line 973 + .method public static hidebysig + default valuetype NDesk.DBus.Signature MakeStruct (valuetype NDesk.DBus.Signature[] elems) cil managed + { + .param [1] + .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0xd050 + // Code size 79 (0x4f) + .maxstack 2 + .locals init ( + valuetype NDesk.DBus.Signature V_0, + valuetype NDesk.DBus.Signature V_1, + valuetype NDesk.DBus.Signature[] V_2, + int32 V_3) + IL_0000: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + IL_0005: stloc.0 + IL_0006: ldloc.0 + IL_0007: ldc.i4.s 0x28 + IL_0009: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) + IL_000e: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0013: stloc.0 + IL_0014: ldarg.0 + IL_0015: stloc.2 + IL_0016: ldc.i4.0 + IL_0017: stloc.3 + IL_0018: br IL_0036 + + IL_001d: ldloc.2 + IL_001e: ldloc.3 + IL_001f: ldelema NDesk.DBus.Signature + IL_0024: ldobj NDesk.DBus.Signature + IL_0029: stloc.1 + IL_002a: ldloc.0 + IL_002b: ldloc.1 + IL_002c: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0031: stloc.0 + IL_0032: ldloc.3 + IL_0033: ldc.i4.1 + IL_0034: add + IL_0035: stloc.3 + IL_0036: ldloc.3 + IL_0037: ldloc.2 + IL_0038: ldlen + IL_0039: conv.i4 + IL_003a: blt IL_001d + + IL_003f: ldloc.0 + IL_0040: ldc.i4.s 0x29 + IL_0042: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) + IL_0047: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_004c: stloc.0 + IL_004d: ldloc.0 + IL_004e: ret + } // end of method Signature::MakeStruct + + // method line 974 + .method public static hidebysig + default valuetype NDesk.DBus.Signature MakeDictEntry (valuetype NDesk.DBus.Signature keyType, valuetype NDesk.DBus.Signature valueType) cil managed + { + // Method begins at RVA 0xd0ac + // Code size 52 (0x34) + .maxstack 2 + .locals init ( + valuetype NDesk.DBus.Signature V_0) + IL_0000: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + IL_0005: stloc.0 + IL_0006: ldloc.0 + IL_0007: ldc.i4.s 0x7b + IL_0009: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) + IL_000e: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0013: stloc.0 + IL_0014: ldloc.0 + IL_0015: ldarg.0 + IL_0016: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0023: stloc.0 + IL_0024: ldloc.0 + IL_0025: ldc.i4.s 0x7d + IL_0027: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) + IL_002c: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0031: stloc.0 + IL_0032: ldloc.0 + IL_0033: ret + } // end of method Signature::MakeDictEntry + + // method line 975 + .method public static hidebysig + default valuetype NDesk.DBus.Signature MakeDict (valuetype NDesk.DBus.Signature keyType, valuetype NDesk.DBus.Signature valueType) cil managed + { + // Method begins at RVA 0xd0ec + // Code size 16 (0x10) + .maxstack 2 + .locals init ( + valuetype NDesk.DBus.Signature V_0) + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::MakeDictEntry(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0007: stloc.0 + IL_0008: ldloca.s 0 + IL_000a: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::MakeArraySignature() + IL_000f: ret + } // end of method Signature::MakeDict + + // method line 976 + .method public hidebysig specialname + instance default int32 get_Alignment () cil managed + { + // Method begins at RVA 0xd108 + // Code size 28 (0x1c) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0006: ldlen + IL_0007: conv.i4 + IL_0008: brtrue IL_000f + + IL_000d: ldc.i4.0 + IL_000e: ret + IL_000f: ldarg.0 + IL_0010: ldc.i4.0 + IL_0011: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) + IL_0016: call int32 class NDesk.DBus.Protocol::GetAlignment(valuetype NDesk.DBus.DType) + IL_001b: ret + } // end of method Signature::get_Alignment + + // method line 977 + .method private static hidebysig + default int32 GetSize (valuetype NDesk.DBus.DType dtype) cil managed + { + // Method begins at RVA 0xd128 + // Code size 174 (0xae) + .maxstack 2 + IL_0000: ldarg.0 + IL_0001: ldc.i4.s 0x61 + IL_0003: sub + IL_0004: switch ( + IL_0096, + IL_008a, + IL_0075, + IL_0094, + IL_0075, + IL_0092, + IL_0096, + IL_0075, + IL_008e, + IL_0075, + IL_0075, + IL_0075, + IL_0075, + IL_008c, + IL_0096, + IL_0075, + IL_008c, + IL_0075, + IL_0096, + IL_0090, + IL_008e, + IL_0096, + IL_0075, + IL_0090, + IL_0088, + IL_0075, + IL_0096) + IL_0075: ldarg.0 + IL_0076: brfalse IL_0098 + + IL_007b: ldarg.0 + IL_007c: ldc.i4.s 0x28 + IL_007e: beq IL_0096 + + IL_0083: br IL_0098 + + IL_0088: ldc.i4.1 + IL_0089: ret + IL_008a: ldc.i4.4 + IL_008b: ret + IL_008c: ldc.i4.2 + IL_008d: ret + IL_008e: ldc.i4.4 + IL_008f: ret + IL_0090: ldc.i4.8 + IL_0091: ret + IL_0092: ldc.i4.4 + IL_0093: ret + IL_0094: ldc.i4.8 + IL_0095: ret + IL_0096: ldc.i4.m1 + IL_0097: ret + IL_0098: ldstr "Cannot determine size of " + IL_009d: ldarg.0 + IL_009e: box NDesk.DBus.DType + IL_00a3: call string string::Concat(object, object) + IL_00a8: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_00ad: throw + } // end of method Signature::GetSize + + // method line 978 + .method public hidebysig + instance default bool GetFixedSize (int32& size) cil managed + { + // Method begins at RVA 0xd1e4 + // Code size 294 (0x126) + .maxstack 3 + .locals init ( + int32 V_0, + valuetype NDesk.DBus.Signature V_1, + class [mscorlib]System.Collections.Generic.IEnumerator`1 V_2, + bool V_3, + valuetype NDesk.DBus.Signature V_4, + class [mscorlib]System.Collections.Generic.IEnumerator`1 V_5) + IL_0000: ldarg.1 + IL_0001: ldind.i4 + IL_0002: ldc.i4.0 + IL_0003: bge IL_000a + + IL_0008: ldc.i4.0 + IL_0009: ret + IL_000a: ldarg.0 + IL_000b: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0010: ldlen + IL_0011: conv.i4 + IL_0012: brtrue IL_0019 + + IL_0017: ldc.i4.1 + IL_0018: ret + IL_0019: ldarg.1 + IL_001a: ldarg.1 + IL_001b: ldind.i4 + IL_001c: ldarg.0 + IL_001d: call instance int32 valuetype NDesk.DBus.Signature::get_Alignment() + IL_0022: call int32 class NDesk.DBus.Protocol::Padded(int32, int32) + IL_0027: stind.i4 + IL_0028: ldarg.0 + IL_0029: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_002e: ldlen + IL_002f: conv.i4 + IL_0030: ldc.i4.1 + IL_0031: bne.un IL_0054 + + IL_0036: ldarg.0 + IL_0037: ldc.i4.0 + IL_0038: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) + IL_003d: call int32 valuetype NDesk.DBus.Signature::GetSize(valuetype NDesk.DBus.DType) + IL_0042: stloc.0 + IL_0043: ldloc.0 + IL_0044: ldc.i4.m1 + IL_0045: bne.un IL_004c + + IL_004a: ldc.i4.0 + IL_004b: ret + IL_004c: ldarg.1 + IL_004d: ldarg.1 + IL_004e: ldind.i4 + IL_004f: ldloc.0 + IL_0050: add + IL_0051: stind.i4 + IL_0052: ldc.i4.1 + IL_0053: ret + IL_0054: ldarg.0 + IL_0055: call instance bool valuetype NDesk.DBus.Signature::get_IsStructlike() + IL_005a: brfalse IL_00aa + + IL_005f: ldarg.0 + IL_0060: call instance class [mscorlib]System.Collections.Generic.IEnumerable`1 valuetype NDesk.DBus.Signature::GetParts() + IL_0065: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() + IL_006a: stloc.2 + .try { // 0 + IL_006b: br IL_008b + + IL_0070: ldloc.2 + IL_0071: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + IL_0076: stloc.1 + IL_0077: ldloca.s 1 + IL_0079: ldarg.1 + IL_007a: call instance bool valuetype NDesk.DBus.Signature::GetFixedSize([out] int32&) + IL_007f: brtrue IL_008b + + IL_0084: ldc.i4.0 + IL_0085: stloc.3 + IL_0086: leave IL_0124 + + IL_008b: ldloc.2 + IL_008c: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0091: brtrue IL_0070 + + IL_0096: leave IL_00a8 + + } // end .try 0 + finally { // 0 + IL_009b: ldloc.2 + IL_009c: brfalse IL_00a7 + + IL_00a1: ldloc.2 + IL_00a2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00a7: endfinally + } // end handler 0 + IL_00a8: ldc.i4.1 + IL_00a9: ret + IL_00aa: ldarg.0 + IL_00ab: call instance bool valuetype NDesk.DBus.Signature::get_IsArray() + IL_00b0: brtrue IL_00c0 + + IL_00b5: ldarg.0 + IL_00b6: call instance bool valuetype NDesk.DBus.Signature::get_IsDict() + IL_00bb: brfalse IL_00c2 + + IL_00c0: ldc.i4.0 + IL_00c1: ret + IL_00c2: ldarg.0 + IL_00c3: call instance bool valuetype NDesk.DBus.Signature::get_IsStruct() + IL_00c8: brfalse IL_011e + + IL_00cd: ldarg.0 + IL_00ce: call instance class [mscorlib]System.Collections.Generic.IEnumerable`1 valuetype NDesk.DBus.Signature::GetFieldSignatures() + IL_00d3: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() + IL_00d8: stloc.s 5 + .try { // 1 + IL_00da: br IL_00fc + + IL_00df: ldloc.s 5 + IL_00e1: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + IL_00e6: stloc.s 4 + IL_00e8: ldloca.s 4 + IL_00ea: ldarg.1 + IL_00eb: call instance bool valuetype NDesk.DBus.Signature::GetFixedSize([out] int32&) + IL_00f0: brtrue IL_00fc + + IL_00f5: ldc.i4.0 + IL_00f6: stloc.3 + IL_00f7: leave IL_0124 + + IL_00fc: ldloc.s 5 + IL_00fe: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0103: brtrue IL_00df + + IL_0108: leave IL_011c + + } // end .try 1 + finally { // 1 + IL_010d: ldloc.s 5 + IL_010f: brfalse IL_011b + + IL_0114: ldloc.s 5 + IL_0116: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_011b: endfinally + } // end handler 1 + IL_011c: ldc.i4.1 + IL_011d: ret + IL_011e: newobj instance void class [mscorlib]System.Exception::'.ctor'() + IL_0123: throw + IL_0124: ldloc.3 + IL_0125: ret + } // end of method Signature::GetFixedSize + + // method line 979 + .method public hidebysig specialname + instance default bool get_IsFixedSize () cil managed + { + // Method begins at RVA 0xd334 + // Code size 258 (0x102) + .maxstack 2 + .locals init ( + int32 V_0, + valuetype NDesk.DBus.Signature V_1, + class [mscorlib]System.Collections.Generic.IEnumerator`1 V_2, + bool V_3, + valuetype NDesk.DBus.Signature V_4, + class [mscorlib]System.Collections.Generic.IEnumerator`1 V_5) + IL_0000: ldarg.0 + IL_0001: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0006: ldlen + IL_0007: conv.i4 + IL_0008: brtrue IL_000f + + IL_000d: ldc.i4.1 + IL_000e: ret + IL_000f: ldarg.0 + IL_0010: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0015: ldlen + IL_0016: conv.i4 + IL_0017: ldc.i4.1 + IL_0018: bne.un IL_0032 + + IL_001d: ldarg.0 + IL_001e: ldc.i4.0 + IL_001f: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) + IL_0024: call int32 valuetype NDesk.DBus.Signature::GetSize(valuetype NDesk.DBus.DType) + IL_0029: stloc.0 + IL_002a: ldloc.0 + IL_002b: ldc.i4.m1 + IL_002c: ceq + IL_002e: ldc.i4.0 + IL_002f: ceq + IL_0031: ret + IL_0032: ldarg.0 + IL_0033: call instance bool valuetype NDesk.DBus.Signature::get_IsStructlike() + IL_0038: brfalse IL_0087 + + IL_003d: ldarg.0 + IL_003e: call instance class [mscorlib]System.Collections.Generic.IEnumerable`1 valuetype NDesk.DBus.Signature::GetParts() + IL_0043: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() + IL_0048: stloc.2 + .try { // 0 + IL_0049: br IL_0068 + + IL_004e: ldloc.2 + IL_004f: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + IL_0054: stloc.1 + IL_0055: ldloca.s 1 + IL_0057: call instance bool valuetype NDesk.DBus.Signature::get_IsFixedSize() + IL_005c: brtrue IL_0068 + + IL_0061: ldc.i4.0 + IL_0062: stloc.3 + IL_0063: leave IL_0100 + + IL_0068: ldloc.2 + IL_0069: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_006e: brtrue IL_004e + + IL_0073: leave IL_0085 + + } // end .try 0 + finally { // 0 + IL_0078: ldloc.2 + IL_0079: brfalse IL_0084 + + IL_007e: ldloc.2 + IL_007f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0084: endfinally + } // end handler 0 + IL_0085: ldc.i4.1 + IL_0086: ret + IL_0087: ldarg.0 + IL_0088: call instance bool valuetype NDesk.DBus.Signature::get_IsArray() + IL_008d: brtrue IL_009d + + IL_0092: ldarg.0 + IL_0093: call instance bool valuetype NDesk.DBus.Signature::get_IsDict() + IL_0098: brfalse IL_009f + + IL_009d: ldc.i4.0 + IL_009e: ret + IL_009f: ldarg.0 + IL_00a0: call instance bool valuetype NDesk.DBus.Signature::get_IsStruct() + IL_00a5: brfalse IL_00fa + + IL_00aa: ldarg.0 + IL_00ab: call instance class [mscorlib]System.Collections.Generic.IEnumerable`1 valuetype NDesk.DBus.Signature::GetFieldSignatures() + IL_00b0: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() + IL_00b5: stloc.s 5 + .try { // 1 + IL_00b7: br IL_00d8 + + IL_00bc: ldloc.s 5 + IL_00be: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + IL_00c3: stloc.s 4 + IL_00c5: ldloca.s 4 + IL_00c7: call instance bool valuetype NDesk.DBus.Signature::get_IsFixedSize() + IL_00cc: brtrue IL_00d8 + + IL_00d1: ldc.i4.0 + IL_00d2: stloc.3 + IL_00d3: leave IL_0100 + + IL_00d8: ldloc.s 5 + IL_00da: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00df: brtrue IL_00bc + + IL_00e4: leave IL_00f8 + + } // end .try 1 + finally { // 1 + IL_00e9: ldloc.s 5 + IL_00eb: brfalse IL_00f7 + + IL_00f0: ldloc.s 5 + IL_00f2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00f7: endfinally + } // end handler 1 + IL_00f8: ldc.i4.1 + IL_00f9: ret + IL_00fa: newobj instance void class [mscorlib]System.Exception::'.ctor'() + IL_00ff: throw + IL_0100: ldloc.3 + IL_0101: ret + } // end of method Signature::get_IsFixedSize + + // method line 980 + .method public hidebysig specialname + instance default bool get_IsPrimitive () cil managed + { + // Method begins at RVA 0xd460 + // Code size 48 (0x30) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0006: ldlen + IL_0007: conv.i4 + IL_0008: ldc.i4.1 + IL_0009: beq IL_0010 + + IL_000e: ldc.i4.0 + IL_000f: ret + IL_0010: ldarg.0 + IL_0011: ldc.i4.0 + IL_0012: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) + IL_0017: ldc.i4.s 0x76 + IL_0019: bne.un IL_0020 + + IL_001e: ldc.i4.0 + IL_001f: ret + IL_0020: ldarg.0 + IL_0021: ldc.i4.0 + IL_0022: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) + IL_0027: brtrue IL_002e + + IL_002c: ldc.i4.0 + IL_002d: ret + IL_002e: ldc.i4.1 + IL_002f: ret + } // end of method Signature::get_IsPrimitive + + // method line 981 + .method public hidebysig specialname + instance default bool get_IsStruct () cil managed + { + // Method begins at RVA 0xd491 + // Code size 55 (0x37) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance int32 valuetype NDesk.DBus.Signature::get_Length() + IL_0006: ldc.i4.2 + IL_0007: bge IL_000e + + IL_000c: ldc.i4.0 + IL_000d: ret + IL_000e: ldarg.0 + IL_000f: ldc.i4.0 + IL_0010: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) + IL_0015: ldc.i4.s 0x28 + IL_0017: beq IL_001e + + IL_001c: ldc.i4.0 + IL_001d: ret + IL_001e: ldarg.0 + IL_001f: ldarg.0 + IL_0020: call instance int32 valuetype NDesk.DBus.Signature::get_Length() + IL_0025: ldc.i4.1 + IL_0026: sub + IL_0027: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) + IL_002c: ldc.i4.s 0x29 + IL_002e: beq IL_0035 + + IL_0033: ldc.i4.0 + IL_0034: ret + IL_0035: ldc.i4.1 + IL_0036: ret + } // end of method Signature::get_IsStruct + + // method line 982 + .method public hidebysig specialname + instance default bool get_IsDictEntry () cil managed + { + // Method begins at RVA 0xd4c9 + // Code size 55 (0x37) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance int32 valuetype NDesk.DBus.Signature::get_Length() + IL_0006: ldc.i4.2 + IL_0007: bge IL_000e + + IL_000c: ldc.i4.0 + IL_000d: ret + IL_000e: ldarg.0 + IL_000f: ldc.i4.0 + IL_0010: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) + IL_0015: ldc.i4.s 0x7b + IL_0017: beq IL_001e + + IL_001c: ldc.i4.0 + IL_001d: ret + IL_001e: ldarg.0 + IL_001f: ldarg.0 + IL_0020: call instance int32 valuetype NDesk.DBus.Signature::get_Length() + IL_0025: ldc.i4.1 + IL_0026: sub + IL_0027: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) + IL_002c: ldc.i4.s 0x7d + IL_002e: beq IL_0035 + + IL_0033: ldc.i4.0 + IL_0034: ret + IL_0035: ldc.i4.1 + IL_0036: ret + } // end of method Signature::get_IsDictEntry + + // method line 983 + .method public hidebysig specialname + instance default bool get_IsStructlike () cil managed + { + // Method begins at RVA 0xd501 + // Code size 55 (0x37) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance int32 valuetype NDesk.DBus.Signature::get_Length() + IL_0006: ldc.i4.2 + IL_0007: bge IL_000e + + IL_000c: ldc.i4.0 + IL_000d: ret + IL_000e: ldarg.0 + IL_000f: call instance bool valuetype NDesk.DBus.Signature::get_IsArray() + IL_0014: brfalse IL_001b + + IL_0019: ldc.i4.0 + IL_001a: ret + IL_001b: ldarg.0 + IL_001c: call instance bool valuetype NDesk.DBus.Signature::get_IsDict() + IL_0021: brfalse IL_0028 + + IL_0026: ldc.i4.0 + IL_0027: ret + IL_0028: ldarg.0 + IL_0029: call instance bool valuetype NDesk.DBus.Signature::get_IsStruct() + IL_002e: brfalse IL_0035 + + IL_0033: ldc.i4.0 + IL_0034: ret + IL_0035: ldc.i4.1 + IL_0036: ret + } // end of method Signature::get_IsStructlike + + // method line 984 + .method public hidebysig specialname + instance default bool get_IsDict () cil managed + { + // Method begins at RVA 0xd539 + // Code size 45 (0x2d) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance int32 valuetype NDesk.DBus.Signature::get_Length() + IL_0006: ldc.i4.3 + IL_0007: bge IL_000e + + IL_000c: ldc.i4.0 + IL_000d: ret + IL_000e: ldarg.0 + IL_000f: call instance bool valuetype NDesk.DBus.Signature::get_IsArray() + IL_0014: brtrue IL_001b + + IL_0019: ldc.i4.0 + IL_001a: ret + IL_001b: ldarg.0 + IL_001c: ldc.i4.1 + IL_001d: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) + IL_0022: ldc.i4.s 0x7b + IL_0024: beq IL_002b + + IL_0029: ldc.i4.0 + IL_002a: ret + IL_002b: ldc.i4.1 + IL_002c: ret + } // end of method Signature::get_IsDict + + // method line 985 + .method public hidebysig specialname + instance default bool get_IsArray () cil managed + { + // Method begins at RVA 0xd567 + // Code size 32 (0x20) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance int32 valuetype NDesk.DBus.Signature::get_Length() + IL_0006: ldc.i4.2 + IL_0007: bge IL_000e + + IL_000c: ldc.i4.0 + IL_000d: ret + IL_000e: ldarg.0 + IL_000f: ldc.i4.0 + IL_0010: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) + IL_0015: ldc.i4.s 0x61 + IL_0017: beq IL_001e + + IL_001c: ldc.i4.0 + IL_001d: ret + IL_001e: ldc.i4.1 + IL_001f: ret + } // end of method Signature::get_IsArray + + // method line 986 + .method public hidebysig + instance default valuetype NDesk.DBus.Signature GetElementSignature () cil managed + { + // Method begins at RVA 0xd588 + // Code size 54 (0x36) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: ldarg.0 + IL_0001: call instance bool valuetype NDesk.DBus.Signature::get_IsArray() + IL_0006: brtrue IL_002b + + IL_000b: ldstr "Cannot get the element signature of a non-array (signature was '" + IL_0010: ldarg.0 + IL_0011: ldobj NDesk.DBus.Signature + IL_0016: box NDesk.DBus.Signature + IL_001b: ldstr "')" + IL_0020: call string string::Concat(object, object, object) + IL_0025: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_002a: throw + IL_002b: ldc.i4.1 + IL_002c: stloc.0 + IL_002d: ldarg.0 + IL_002e: ldloca.s 0 + IL_0030: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetNextSignature([out] int32&) + IL_0035: ret + } // end of method Signature::GetElementSignature + + // method line 987 + .method public hidebysig + instance default class [mscorlib]System.Type[] ToTypes () cil managed + { + // Method begins at RVA 0xd5cc + // Code size 65 (0x41) + .maxstack 3 + .locals init ( + class [mscorlib]System.Collections.Generic.List`1 V_0, + int32 V_1) + IL_0000: ldarg.0 + IL_0001: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0006: brtrue IL_0011 + + IL_000b: ldsfld class [mscorlib]System.Type[] [mscorlib]System.Type::EmptyTypes + IL_0010: ret + IL_0011: newobj instance void class [mscorlib]System.Collections.Generic.List`1::'.ctor'() + IL_0016: stloc.0 + IL_0017: ldc.i4.0 + IL_0018: stloc.1 + IL_0019: br IL_002c + + IL_001e: ldloc.0 + IL_001f: ldarg.0 + IL_0020: ldloca.s 1 + IL_0022: call instance class [mscorlib]System.Type valuetype NDesk.DBus.Signature::ToType([out] int32&) + IL_0027: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Add(!0) + IL_002c: ldloc.1 + IL_002d: ldarg.0 + IL_002e: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0033: ldlen + IL_0034: conv.i4 + IL_0035: bne.un IL_001e + + IL_003a: ldloc.0 + IL_003b: callvirt instance !0[] class [mscorlib]System.Collections.Generic.List`1::ToArray() + IL_0040: ret + } // end of method Signature::ToTypes + + // method line 988 + .method public hidebysig + instance default class [mscorlib]System.Type ToType () cil managed + { + // Method begins at RVA 0xd61c + // Code size 54 (0x36) + .maxstack 3 + .locals init ( + int32 V_0, + class [mscorlib]System.Type V_1) + IL_0000: ldc.i4.0 + IL_0001: stloc.0 + IL_0002: ldarg.0 + IL_0003: ldloca.s 0 + IL_0005: call instance class [mscorlib]System.Type valuetype NDesk.DBus.Signature::ToType([out] int32&) + IL_000a: stloc.1 + IL_000b: ldloc.0 + IL_000c: ldarg.0 + IL_000d: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0012: ldlen + IL_0013: conv.i4 + IL_0014: beq IL_0034 + + IL_0019: ldstr "Signature '" + IL_001e: ldarg.0 + IL_001f: call instance string valuetype NDesk.DBus.Signature::get_Value() + IL_0024: ldstr "' is not a single complete type" + IL_0029: call string string::Concat(string, string, string) + IL_002e: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0033: throw + IL_0034: ldloc.1 + IL_0035: ret + } // end of method Signature::ToType + + // method line 989 + .method assembly static hidebysig + default valuetype NDesk.DBus.DType TypeCodeToDType (valuetype [mscorlib]System.TypeCode typeCode) cil managed + { + // Method begins at RVA 0xd660 + // Code size 138 (0x8a) + .maxstack 1 + IL_0000: ldarg.0 + IL_0001: switch ( + IL_0057, + IL_0059, + IL_005b, + IL_005d, + IL_0060, + IL_0063, + IL_0066, + IL_0069, + IL_006c, + IL_006f, + IL_0072, + IL_0075, + IL_0078, + IL_007b, + IL_007e, + IL_0081, + IL_0083, + IL_0088, + IL_0085) + IL_0052: br IL_0088 + + IL_0057: ldc.i4.0 + IL_0058: ret + IL_0059: ldc.i4.0 + IL_005a: ret + IL_005b: ldc.i4.0 + IL_005c: ret + IL_005d: ldc.i4.s 0x62 + IL_005f: ret + IL_0060: ldc.i4.s 0x71 + IL_0062: ret + IL_0063: ldc.i4.s 0x79 + IL_0065: ret + IL_0066: ldc.i4.s 0x79 + IL_0068: ret + IL_0069: ldc.i4.s 0x6e + IL_006b: ret + IL_006c: ldc.i4.s 0x71 + IL_006e: ret + IL_006f: ldc.i4.s 0x69 + IL_0071: ret + IL_0072: ldc.i4.s 0x75 + IL_0074: ret + IL_0075: ldc.i4.s 0x78 + IL_0077: ret + IL_0078: ldc.i4.s 0x74 + IL_007a: ret + IL_007b: ldc.i4.s 0x66 + IL_007d: ret + IL_007e: ldc.i4.s 0x64 + IL_0080: ret + IL_0081: ldc.i4.0 + IL_0082: ret + IL_0083: ldc.i4.0 + IL_0084: ret + IL_0085: ldc.i4.s 0x73 + IL_0087: ret + IL_0088: ldc.i4.0 + IL_0089: ret + } // end of method Signature::TypeCodeToDType + + // method line 990 + .method assembly static hidebysig + default valuetype NDesk.DBus.DType TypeToDType (class [mscorlib]System.Type 'type') cil managed + { + // Method begins at RVA 0xd6f8 + // Code size 220 (0xdc) + .maxstack 2 + IL_0000: ldarg.0 + IL_0001: ldtoken [mscorlib]System.Void + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0010: brfalse IL_0017 + + IL_0015: ldc.i4.0 + IL_0016: ret + IL_0017: ldarg.0 + IL_0018: ldtoken [mscorlib]System.String + IL_001d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0022: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0027: brfalse IL_002f + + IL_002c: ldc.i4.s 0x73 + IL_002e: ret + IL_002f: ldarg.0 + IL_0030: ldtoken NDesk.DBus.ObjectPath + IL_0035: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_003a: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_003f: brfalse IL_0047 + + IL_0044: ldc.i4.s 0x6f + IL_0046: ret + IL_0047: ldarg.0 + IL_0048: ldtoken NDesk.DBus.Signature + IL_004d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0052: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0057: brfalse IL_005f + + IL_005c: ldc.i4.s 0x67 + IL_005e: ret + IL_005f: ldarg.0 + IL_0060: ldtoken [mscorlib]System.Object + IL_0065: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_006a: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_006f: brfalse IL_0077 + + IL_0074: ldc.i4.s 0x76 + IL_0076: ret + IL_0077: ldarg.0 + IL_0078: callvirt instance bool class [mscorlib]System.Type::get_IsPrimitive() + IL_007d: brfalse IL_008e + + IL_0082: ldarg.0 + IL_0083: call valuetype [mscorlib]System.TypeCode class [mscorlib]System.Type::GetTypeCode(class [mscorlib]System.Type) + IL_0088: call valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::TypeCodeToDType(valuetype [mscorlib]System.TypeCode) + IL_008d: ret + IL_008e: ldarg.0 + IL_008f: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() + IL_0094: brfalse IL_00a5 + + IL_0099: ldarg.0 + IL_009a: call class [mscorlib]System.Type class [mscorlib]System.Enum::GetUnderlyingType(class [mscorlib]System.Type) + IL_009f: call valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::TypeToDType(class [mscorlib]System.Type) + IL_00a4: ret + IL_00a5: ldarg.0 + IL_00a6: callvirt instance bool class [mscorlib]System.Type::get_IsArray() + IL_00ab: brfalse IL_00b3 + + IL_00b0: ldc.i4.s 0x61 + IL_00b2: ret + IL_00b3: ldarg.0 + IL_00b4: call bool class NDesk.DBus.Mapper::IsPublic(class [mscorlib]System.Type) + IL_00b9: brfalse IL_00c1 + + IL_00be: ldc.i4.s 0x6f + IL_00c0: ret + IL_00c1: ldarg.0 + IL_00c2: callvirt instance bool class [mscorlib]System.Type::get_IsPrimitive() + IL_00c7: brtrue IL_00da + + IL_00cc: ldarg.0 + IL_00cd: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() + IL_00d2: brtrue IL_00da + + IL_00d7: ldc.i4.s 0x72 + IL_00d9: ret + IL_00da: ldc.i4.0 + IL_00db: ret + } // end of method Signature::TypeToDType + + // method line 991 + .method public hidebysig + instance default class [mscorlib]System.Collections.Generic.IEnumerable`1 GetFieldSignatures () cil managed + { + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0xd7e0 + // Code size 28 (0x1c) + .maxstack 3 + .locals init ( + class NDesk.DBus.Signature/'c__Iterator0' V_0) + IL_0000: newobj instance void class NDesk.DBus.Signature/'c__Iterator0'::'.ctor'() + IL_0005: stloc.0 + IL_0006: ldloc.0 + IL_0007: ldarg.0 + IL_0008: ldobj NDesk.DBus.Signature + IL_000d: stfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator0'::$this + IL_0012: ldloc.0 + IL_0013: dup + IL_0014: ldc.i4.s 0xfffffffe + IL_0016: stfld int32 NDesk.DBus.Signature/'c__Iterator0'::$PC + IL_001b: ret + } // end of method Signature::GetFieldSignatures + + // method line 992 + .method public hidebysig + instance default void GetDictEntrySignatures ([out] valuetype NDesk.DBus.Signature& sigKey, [out] valuetype NDesk.DBus.Signature& sigValue) cil managed + { + // Method begins at RVA 0xd808 + // Code size 77 (0x4d) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: ldarg.0 + IL_0001: ldobj NDesk.DBus.Signature + IL_0006: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + IL_000b: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0010: brtrue IL_0023 + + IL_0015: ldarg.0 + IL_0016: ldc.i4.0 + IL_0017: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) + IL_001c: ldc.i4.s 0x7b + IL_001e: beq IL_002e + + IL_0023: ldstr "Not a DictEntry" + IL_0028: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_002d: throw + IL_002e: ldc.i4.1 + IL_002f: stloc.0 + IL_0030: ldarg.1 + IL_0031: ldarg.0 + IL_0032: ldloca.s 0 + IL_0034: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetNextSignature([out] int32&) + IL_0039: stobj NDesk.DBus.Signature + IL_003e: ldarg.2 + IL_003f: ldarg.0 + IL_0040: ldloca.s 0 + IL_0042: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetNextSignature([out] int32&) + IL_0047: stobj NDesk.DBus.Signature + IL_004c: ret + } // end of method Signature::GetDictEntrySignatures + + // method line 993 + .method public hidebysig + instance default class [mscorlib]System.Collections.Generic.IEnumerable`1 GetParts () cil managed + { + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0xd864 + // Code size 28 (0x1c) + .maxstack 3 + .locals init ( + class NDesk.DBus.Signature/'c__Iterator1' V_0) + IL_0000: newobj instance void class NDesk.DBus.Signature/'c__Iterator1'::'.ctor'() + IL_0005: stloc.0 + IL_0006: ldloc.0 + IL_0007: ldarg.0 + IL_0008: ldobj NDesk.DBus.Signature + IL_000d: stfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator1'::$this + IL_0012: ldloc.0 + IL_0013: dup + IL_0014: ldc.i4.s 0xfffffffe + IL_0016: stfld int32 NDesk.DBus.Signature/'c__Iterator1'::$PC + IL_001b: ret + } // end of method Signature::GetParts + + // method line 994 + .method public hidebysig + instance default valuetype NDesk.DBus.Signature GetNextSignature (int32& pos) cil managed + { + // Method begins at RVA 0xd88c + // Code size 249 (0xf9) + .maxstack 4 + .locals init ( + valuetype NDesk.DBus.DType V_0, + int32 V_1, + valuetype NDesk.DBus.Signature V_2, + valuetype NDesk.DBus.Signature V_3, + valuetype NDesk.DBus.Signature V_4, + valuetype NDesk.DBus.Signature V_5, + valuetype NDesk.DBus.Signature V_6, + valuetype NDesk.DBus.Signature V_7) + IL_0000: ldarg.0 + IL_0001: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0006: brtrue IL_0011 + + IL_000b: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + IL_0010: ret + IL_0011: ldarg.0 + IL_0012: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0017: ldarg.1 + IL_0018: ldarg.1 + IL_0019: ldind.i4 + IL_001a: dup + IL_001b: stloc.1 + IL_001c: ldc.i4.1 + IL_001d: add + IL_001e: stind.i4 + IL_001f: ldloc.1 + IL_0020: ldelem.u1 + IL_0021: stloc.0 + IL_0022: ldloc.0 + IL_0023: ldc.i4.s 0x28 + IL_0025: beq IL_0084 + + IL_002a: ldloc.0 + IL_002b: ldc.i4.s 0x61 + IL_002d: beq IL_003f + + IL_0032: ldloc.0 + IL_0033: ldc.i4.s 0x7b + IL_0035: beq IL_00d0 + + IL_003a: br IL_00f2 + + IL_003f: ldarg.0 + IL_0040: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0045: ldarg.1 + IL_0046: ldind.i4 + IL_0047: ldelem.u1 + IL_0048: ldc.i4.s 0x7b + IL_004a: bne.un IL_0073 + + IL_004f: ldarg.1 + IL_0050: ldarg.1 + IL_0051: ldind.i4 + IL_0052: ldc.i4.1 + IL_0053: add + IL_0054: stind.i4 + IL_0055: ldarg.0 + IL_0056: ldarg.1 + IL_0057: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetNextSignature([out] int32&) + IL_005c: stloc.2 + IL_005d: ldarg.0 + IL_005e: ldarg.1 + IL_005f: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetNextSignature([out] int32&) + IL_0064: stloc.3 + IL_0065: ldarg.1 + IL_0066: ldarg.1 + IL_0067: ldind.i4 + IL_0068: ldc.i4.1 + IL_0069: add + IL_006a: stind.i4 + IL_006b: ldloc.2 + IL_006c: ldloc.3 + IL_006d: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::MakeDict(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0072: ret + IL_0073: ldarg.0 + IL_0074: ldarg.1 + IL_0075: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetNextSignature([out] int32&) + IL_007a: stloc.s 4 + IL_007c: ldloca.s 4 + IL_007e: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::MakeArraySignature() + IL_0083: ret + IL_0084: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + IL_0089: stloc.s 5 + IL_008b: br IL_00a0 + + IL_0090: ldloc.s 5 + IL_0092: ldarg.0 + IL_0093: ldarg.1 + IL_0094: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetNextSignature([out] int32&) + IL_0099: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_009e: stloc.s 5 + IL_00a0: ldarg.0 + IL_00a1: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_00a6: ldarg.1 + IL_00a7: ldind.i4 + IL_00a8: ldelem.u1 + IL_00a9: ldc.i4.s 0x29 + IL_00ab: bne.un IL_0090 + + IL_00b0: ldarg.1 + IL_00b1: ldarg.1 + IL_00b2: ldind.i4 + IL_00b3: ldc.i4.1 + IL_00b4: add + IL_00b5: stind.i4 + IL_00b6: ldc.i4.1 + IL_00b7: newarr NDesk.DBus.Signature + IL_00bc: dup + IL_00bd: ldc.i4.0 + IL_00be: ldelema NDesk.DBus.Signature + IL_00c3: ldloc.s 5 + IL_00c5: stobj NDesk.DBus.Signature + IL_00ca: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::MakeStruct(valuetype NDesk.DBus.Signature[]) + IL_00cf: ret + IL_00d0: ldarg.0 + IL_00d1: ldarg.1 + IL_00d2: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetNextSignature([out] int32&) + IL_00d7: stloc.s 6 + IL_00d9: ldarg.0 + IL_00da: ldarg.1 + IL_00db: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetNextSignature([out] int32&) + IL_00e0: stloc.s 7 + IL_00e2: ldarg.1 + IL_00e3: ldarg.1 + IL_00e4: ldind.i4 + IL_00e5: ldc.i4.1 + IL_00e6: add + IL_00e7: stind.i4 + IL_00e8: ldloc.s 6 + IL_00ea: ldloc.s 7 + IL_00ec: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::MakeDictEntry(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_00f1: ret + IL_00f2: ldloc.0 + IL_00f3: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) + IL_00f8: ret + } // end of method Signature::GetNextSignature + + // method line 995 + .method public hidebysig + instance default class [mscorlib]System.Type ToType (int32& pos) cil managed + { + // Method begins at RVA 0xd994 + // Code size 489 (0x1e9) + .maxstack 5 + .locals init ( + valuetype NDesk.DBus.DType V_0, + int32 V_1, + class [mscorlib]System.Type V_2, + class [mscorlib]System.Type V_3) + IL_0000: ldarg.0 + IL_0001: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_0006: brtrue IL_0016 + + IL_000b: ldtoken [mscorlib]System.Void + IL_0010: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0015: ret + IL_0016: ldarg.0 + IL_0017: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_001c: ldarg.1 + IL_001d: ldarg.1 + IL_001e: ldind.i4 + IL_001f: dup + IL_0020: stloc.1 + IL_0021: ldc.i4.1 + IL_0022: add + IL_0023: stind.i4 + IL_0024: ldloc.1 + IL_0025: ldelem.u1 + IL_0026: stloc.0 + IL_0027: ldloc.0 + IL_0028: ldc.i4.s 0x61 + IL_002a: sub + IL_002b: switch ( + IL_0139, + IL_00b5, + IL_0094, + IL_010d, + IL_019b, + IL_0102, + IL_012e, + IL_0094, + IL_00d6, + IL_0094, + IL_0094, + IL_0094, + IL_0094, + IL_00c0, + IL_0123, + IL_0094, + IL_00cb, + IL_0190, + IL_0118, + IL_00f7, + IL_00e1, + IL_01a6, + IL_0094, + IL_00ec, + IL_00aa) + IL_0094: ldloc.0 + IL_0095: brfalse IL_009f + + IL_009a: br IL_01b1 + + IL_009f: ldtoken [mscorlib]System.Void + IL_00a4: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00a9: ret + IL_00aa: ldtoken [mscorlib]System.Byte + IL_00af: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00b4: ret + IL_00b5: ldtoken [mscorlib]System.Boolean + IL_00ba: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00bf: ret + IL_00c0: ldtoken [mscorlib]System.Int16 + IL_00c5: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00ca: ret + IL_00cb: ldtoken [mscorlib]System.UInt16 + IL_00d0: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00d5: ret + IL_00d6: ldtoken [mscorlib]System.Int32 + IL_00db: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00e0: ret + IL_00e1: ldtoken [mscorlib]System.UInt32 + IL_00e6: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00eb: ret + IL_00ec: ldtoken [mscorlib]System.Int64 + IL_00f1: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00f6: ret + IL_00f7: ldtoken [mscorlib]System.UInt64 + IL_00fc: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0101: ret + IL_0102: ldtoken [mscorlib]System.Single + IL_0107: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_010c: ret + IL_010d: ldtoken [mscorlib]System.Double + IL_0112: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0117: ret + IL_0118: ldtoken [mscorlib]System.String + IL_011d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0122: ret + IL_0123: ldtoken NDesk.DBus.ObjectPath + IL_0128: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_012d: ret + IL_012e: ldtoken NDesk.DBus.Signature + IL_0133: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0138: ret + IL_0139: ldarg.0 + IL_013a: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_013f: ldarg.1 + IL_0140: ldind.i4 + IL_0141: ldelem.u1 + IL_0142: ldc.i4.s 0x7b + IL_0144: bne.un IL_0183 + + IL_0149: ldarg.1 + IL_014a: ldarg.1 + IL_014b: ldind.i4 + IL_014c: ldc.i4.1 + IL_014d: add + IL_014e: stind.i4 + IL_014f: ldarg.0 + IL_0150: ldarg.1 + IL_0151: call instance class [mscorlib]System.Type valuetype NDesk.DBus.Signature::ToType([out] int32&) + IL_0156: stloc.2 + IL_0157: ldarg.0 + IL_0158: ldarg.1 + IL_0159: call instance class [mscorlib]System.Type valuetype NDesk.DBus.Signature::ToType([out] int32&) + IL_015e: stloc.3 + IL_015f: ldarg.1 + IL_0160: ldarg.1 + IL_0161: ldind.i4 + IL_0162: ldc.i4.1 + IL_0163: add + IL_0164: stind.i4 + IL_0165: ldtoken [mscorlib]System.Collections.Generic.IDictionary`2 + IL_016a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_016f: ldc.i4.2 + IL_0170: newarr [mscorlib]System.Type + IL_0175: dup + IL_0176: ldc.i4.0 + IL_0177: ldloc.2 + IL_0178: stelem.ref + IL_0179: dup + IL_017a: ldc.i4.1 + IL_017b: ldloc.3 + IL_017c: stelem.ref + IL_017d: call class [mscorlib]System.Type class NDesk.DBus.Mapper::GetGenericType(class [mscorlib]System.Type, class [mscorlib]System.Type[]) + IL_0182: ret + IL_0183: ldarg.0 + IL_0184: ldarg.1 + IL_0185: call instance class [mscorlib]System.Type valuetype NDesk.DBus.Signature::ToType([out] int32&) + IL_018a: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::MakeArrayType() + IL_018f: ret + IL_0190: ldtoken [mscorlib]System.ValueType + IL_0195: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_019a: ret + IL_019b: ldtoken [mscorlib]System.Collections.Generic.KeyValuePair`2 + IL_01a0: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_01a5: ret + IL_01a6: ldtoken [mscorlib]System.Object + IL_01ab: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_01b0: ret + IL_01b1: ldc.i4.4 + IL_01b2: newarr [mscorlib]System.Object + IL_01b7: dup + IL_01b8: ldc.i4.0 + IL_01b9: ldstr "Parsing or converting this signature is not yet supported (signature was '" + IL_01be: stelem.ref + IL_01bf: dup + IL_01c0: ldc.i4.1 + IL_01c1: ldarg.0 + IL_01c2: ldobj NDesk.DBus.Signature + IL_01c7: box NDesk.DBus.Signature + IL_01cc: stelem.ref + IL_01cd: dup + IL_01ce: ldc.i4.2 + IL_01cf: ldstr "'), at DType." + IL_01d4: stelem.ref + IL_01d5: dup + IL_01d6: ldc.i4.3 + IL_01d7: ldloc.0 + IL_01d8: box NDesk.DBus.DType + IL_01dd: stelem.ref + IL_01de: call string string::Concat(object[]) + IL_01e3: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) + IL_01e8: throw + } // end of method Signature::ToType + + // method line 996 + .method public static hidebysig + default valuetype NDesk.DBus.Signature GetSig (object[] objs) cil managed + { + // Method begins at RVA 0xdb89 + // Code size 12 (0xc) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call class [mscorlib]System.Type[] class [mscorlib]System.Type::GetTypeArray(object[]) + IL_0006: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type[]) + IL_000b: ret + } // end of method Signature::GetSig + + // method line 997 + .method public static hidebysig + default valuetype NDesk.DBus.Signature GetSig (class [mscorlib]System.Type[] types) cil managed + { + // Method begins at RVA 0xdb98 + // Code size 64 (0x40) + .maxstack 2 + .locals init ( + valuetype NDesk.DBus.Signature V_0, + class [mscorlib]System.Type V_1, + class [mscorlib]System.Type[] V_2, + int32 V_3) + IL_0000: ldarg.0 + IL_0001: brtrue IL_0011 + + IL_0006: ldstr "types" + IL_000b: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0010: throw + IL_0011: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + IL_0016: stloc.0 + IL_0017: ldarg.0 + IL_0018: stloc.2 + IL_0019: ldc.i4.0 + IL_001a: stloc.3 + IL_001b: br IL_0035 + + IL_0020: ldloc.2 + IL_0021: ldloc.3 + IL_0022: ldelem.ref + IL_0023: stloc.1 + IL_0024: ldloc.0 + IL_0025: ldloc.1 + IL_0026: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) + IL_002b: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0030: stloc.0 + IL_0031: ldloc.3 + IL_0032: ldc.i4.1 + IL_0033: add + IL_0034: stloc.3 + IL_0035: ldloc.3 + IL_0036: ldloc.2 + IL_0037: ldlen + IL_0038: conv.i4 + IL_0039: blt IL_0020 + + IL_003e: ldloc.0 + IL_003f: ret + } // end of method Signature::GetSig + + // method line 998 + .method public static hidebysig + default valuetype NDesk.DBus.Signature GetSig (class [mscorlib]System.Type 'type') cil managed + { + // Method begins at RVA 0xdbe4 + // Code size 436 (0x1b4) + .maxstack 3 + .locals init ( + valuetype NDesk.DBus.Signature V_0, + class [mscorlib]System.Type[] V_1, + valuetype NDesk.DBus.Signature V_2, + class [mscorlib]System.Reflection.FieldInfo V_3, + class [mscorlib]System.Reflection.FieldInfo[] V_4, + int32 V_5, + valuetype NDesk.DBus.DType V_6) + IL_0000: ldarg.0 + IL_0001: ldnull + IL_0002: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0007: brfalse IL_0017 + + IL_000c: ldstr "type" + IL_0011: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0016: throw + IL_0017: ldarg.0 + IL_0018: ldtoken NDesk.DBus.Signature + IL_001d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0022: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0027: brfalse IL_0034 + + IL_002c: ldc.i4.s 0x67 + IL_002e: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) + IL_0033: ret + IL_0034: ldarg.0 + IL_0035: ldtoken NDesk.DBus.ObjectPath + IL_003a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_003f: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0044: brfalse IL_0051 + + IL_0049: ldc.i4.s 0x6f + IL_004b: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) + IL_0050: ret + IL_0051: ldarg.0 + IL_0052: ldtoken [mscorlib]System.Void + IL_0057: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_005c: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0061: brfalse IL_006c + + IL_0066: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + IL_006b: ret + IL_006c: ldarg.0 + IL_006d: ldtoken [mscorlib]System.String + IL_0072: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0077: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_007c: brfalse IL_0089 + + IL_0081: ldc.i4.s 0x73 + IL_0083: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) + IL_0088: ret + IL_0089: ldarg.0 + IL_008a: ldtoken [mscorlib]System.Object + IL_008f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0094: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0099: brfalse IL_00a6 + + IL_009e: ldc.i4.s 0x76 + IL_00a0: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) + IL_00a5: ret + IL_00a6: ldarg.0 + IL_00a7: callvirt instance bool class [mscorlib]System.Type::get_IsArray() + IL_00ac: brfalse IL_00c5 + + IL_00b1: ldarg.0 + IL_00b2: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() + IL_00b7: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) + IL_00bc: stloc.0 + IL_00bd: ldloca.s 0 + IL_00bf: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::MakeArraySignature() + IL_00c4: ret + IL_00c5: ldarg.0 + IL_00c6: callvirt instance bool class [mscorlib]System.Type::get_IsGenericType() + IL_00cb: brfalse IL_0121 + + IL_00d0: ldarg.0 + IL_00d1: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetGenericTypeDefinition() + IL_00d6: ldtoken [mscorlib]System.Collections.Generic.IDictionary`2 + IL_00db: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00e0: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_00e5: brtrue IL_0104 + + IL_00ea: ldarg.0 + IL_00eb: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetGenericTypeDefinition() + IL_00f0: ldtoken [mscorlib]System.Collections.Generic.Dictionary`2 + IL_00f5: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00fa: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_00ff: brfalse IL_0121 + + IL_0104: ldarg.0 + IL_0105: callvirt instance class [mscorlib]System.Type[] class [mscorlib]System.Type::GetGenericArguments() + IL_010a: stloc.1 + IL_010b: ldloc.1 + IL_010c: ldc.i4.0 + IL_010d: ldelem.ref + IL_010e: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) + IL_0113: ldloc.1 + IL_0114: ldc.i4.1 + IL_0115: ldelem.ref + IL_0116: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) + IL_011b: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::MakeDict(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0120: ret + IL_0121: ldarg.0 + IL_0122: call bool class NDesk.DBus.Mapper::IsPublic(class [mscorlib]System.Type) + IL_0127: brfalse IL_0134 + + IL_012c: ldc.i4.s 0x6f + IL_012e: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) + IL_0133: ret + IL_0134: ldarg.0 + IL_0135: callvirt instance bool class [mscorlib]System.Type::get_IsPrimitive() + IL_013a: brtrue IL_01a4 + + IL_013f: ldarg.0 + IL_0140: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() + IL_0145: brtrue IL_01a4 + + IL_014a: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + IL_014f: stloc.2 + IL_0150: ldarg.0 + IL_0151: ldc.i4.s 0x34 + IL_0153: callvirt instance class [mscorlib]System.Reflection.FieldInfo[] class [mscorlib]System.Type::GetFields(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_0158: stloc.s 4 + IL_015a: ldc.i4.0 + IL_015b: stloc.s 5 + IL_015d: br IL_0180 + + IL_0162: ldloc.s 4 + IL_0164: ldloc.s 5 + IL_0166: ldelem.ref + IL_0167: stloc.3 + IL_0168: ldloc.2 + IL_0169: ldloc.3 + IL_016a: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.FieldInfo::get_FieldType() + IL_016f: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) + IL_0174: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0179: stloc.2 + IL_017a: ldloc.s 5 + IL_017c: ldc.i4.1 + IL_017d: add + IL_017e: stloc.s 5 + IL_0180: ldloc.s 5 + IL_0182: ldloc.s 4 + IL_0184: ldlen + IL_0185: conv.i4 + IL_0186: blt IL_0162 + + IL_018b: ldc.i4.1 + IL_018c: newarr NDesk.DBus.Signature + IL_0191: dup + IL_0192: ldc.i4.0 + IL_0193: ldelema NDesk.DBus.Signature + IL_0198: ldloc.2 + IL_0199: stobj NDesk.DBus.Signature + IL_019e: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::MakeStruct(valuetype NDesk.DBus.Signature[]) + IL_01a3: ret + IL_01a4: ldarg.0 + IL_01a5: call valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::TypeToDType(class [mscorlib]System.Type) + IL_01aa: stloc.s 6 + IL_01ac: ldloc.s 6 + IL_01ae: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) + IL_01b3: ret + } // end of method Signature::GetSig + + // method line 999 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0xdda4 + // Code size 100 (0x64) + .maxstack 1 + IL_0000: ldsfld string [mscorlib]System.String::Empty + IL_0005: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(string) + IL_000a: stsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + IL_000f: ldc.i4.s 0x79 + IL_0011: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::Allocate(valuetype NDesk.DBus.DType) + IL_0016: stsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::ByteSig + IL_001b: ldc.i4.s 0x71 + IL_001d: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::Allocate(valuetype NDesk.DBus.DType) + IL_0022: stsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::UInt16Sig + IL_0027: ldc.i4.s 0x75 + IL_0029: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::Allocate(valuetype NDesk.DBus.DType) + IL_002e: stsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::UInt32Sig + IL_0033: ldc.i4.s 0x73 + IL_0035: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::Allocate(valuetype NDesk.DBus.DType) + IL_003a: stsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::StringSig + IL_003f: ldc.i4.s 0x6f + IL_0041: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::Allocate(valuetype NDesk.DBus.DType) + IL_0046: stsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::ObjectPathSig + IL_004b: ldc.i4.s 0x67 + IL_004d: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::Allocate(valuetype NDesk.DBus.DType) + IL_0052: stsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::SignatureSig + IL_0057: ldc.i4.s 0x76 + IL_0059: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::Allocate(valuetype NDesk.DBus.DType) + IL_005e: stsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::VariantSig + IL_0063: ret + } // end of method Signature::.cctor + + .property instance valuetype NDesk.DBus.DType Item (int32) + { + .get instance default valuetype NDesk.DBus.DType NDesk.DBus.Signature::get_Item (int32 index) + } + .property instance int32 Length () + { + .get instance default int32 NDesk.DBus.Signature::get_Length () + } + .property instance string Value () + { + .get instance default string NDesk.DBus.Signature::get_Value () + } + .property instance int32 Alignment () + { + .get instance default int32 NDesk.DBus.Signature::get_Alignment () + } + .property instance bool IsFixedSize () + { + .get instance default bool NDesk.DBus.Signature::get_IsFixedSize () + } + .property instance bool IsPrimitive () + { + .get instance default bool NDesk.DBus.Signature::get_IsPrimitive () + } + .property instance bool IsStruct () + { + .get instance default bool NDesk.DBus.Signature::get_IsStruct () + } + .property instance bool IsDictEntry () + { + .get instance default bool NDesk.DBus.Signature::get_IsDictEntry () + } + .property instance bool IsStructlike () + { + .get instance default bool NDesk.DBus.Signature::get_IsStructlike () + } + .property instance bool IsDict () + { + .get instance default bool NDesk.DBus.Signature::get_IsDict () + } + .property instance bool IsArray () + { + .get instance default bool NDesk.DBus.Signature::get_IsArray () + } + .class nested private auto ansi sealed beforefieldinit 'c__Iterator0' extends [mscorlib]System.Object - implements [mscorlib]System.IComparable, class [mscorlib]System.IComparable`1, class [mscorlib]System.IEquatable`1 { - .field public static initonly class NDesk.DBus.ObjectPath Root - .field assembly initonly string Value + implements [mscorlib]System.Collections.IEnumerable, class [mscorlib]System.Collections.Generic.IEnumerable`1, [mscorlib]System.Collections.IEnumerator, [mscorlib]System.IDisposable, class [mscorlib]System.Collections.Generic.IEnumerator`1 { + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 1001 + .field assembly int32 '__1' + .field assembly valuetype NDesk.DBus.Signature $this + .field assembly valuetype NDesk.DBus.Signature $current + .field assembly bool $disposing + .field assembly int32 $PC + + // method line 1330 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string 'value') cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xe08a - // Code size 31 (0x1f) + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0xde14 + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 IL_0001: call instance void object::'.ctor'() - IL_0006: ldarg.1 - IL_0007: brtrue IL_0017 - - IL_000c: ldstr "value" - IL_0011: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0016: throw - IL_0017: ldarg.0 - IL_0018: ldarg.1 - IL_0019: stfld string NDesk.DBus.ObjectPath::Value - IL_001e: ret - } // end of method ObjectPath::.ctor - - // method line 1002 - .method public final virtual hidebysig newslot - instance default int32 CompareTo (class NDesk.DBus.ObjectPath other) cil managed - { - // Method begins at RVA 0xe0aa - // Code size 32 (0x20) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldnull - IL_0002: call bool class NDesk.DBus.ObjectPath::op_Equality(class NDesk.DBus.ObjectPath, class NDesk.DBus.ObjectPath) - IL_0007: brfalse IL_000e - - IL_000c: ldc.i4.1 - IL_000d: ret - IL_000e: ldarg.0 - IL_000f: ldfld string NDesk.DBus.ObjectPath::Value - IL_0014: ldarg.1 - IL_0015: ldfld string NDesk.DBus.ObjectPath::Value - IL_001a: callvirt instance int32 string::CompareTo(string) - IL_001f: ret - } // end of method ObjectPath::CompareTo + IL_0006: ret + } // end of method c__Iterator0::.ctor - // method line 1003 + // method line 1331 .method public final virtual hidebysig newslot - instance default int32 CompareTo (object otherObject) cil managed + instance default bool MoveNext () cil managed { - // Method begins at RVA 0xe0cc - // Code size 39 (0x27) - .maxstack 2 + // Method begins at RVA 0xde1c + // Code size 176 (0xb0) + .maxstack 3 .locals init ( - class NDesk.DBus.ObjectPath V_0) - IL_0000: ldarg.1 - IL_0001: isinst NDesk.DBus.ObjectPath + unsigned int32 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld int32 NDesk.DBus.Signature/'c__Iterator0'::$PC IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldnull - IL_0009: call bool class NDesk.DBus.ObjectPath::op_Equality(class NDesk.DBus.ObjectPath, class NDesk.DBus.ObjectPath) - IL_000e: brfalse IL_0015 - - IL_0013: ldc.i4.1 - IL_0014: ret - IL_0015: ldarg.0 - IL_0016: ldfld string NDesk.DBus.ObjectPath::Value - IL_001b: ldloc.0 - IL_001c: ldfld string NDesk.DBus.ObjectPath::Value - IL_0021: callvirt instance int32 string::CompareTo(string) - IL_0026: ret - } // end of method ObjectPath::CompareTo - - // method line 1004 - .method public final virtual hidebysig newslot - instance default bool Equals (class NDesk.DBus.ObjectPath other) cil managed - { - // Method begins at RVA 0xe0ff - // Code size 32 (0x20) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldnull - IL_0002: call bool class NDesk.DBus.ObjectPath::op_Equality(class NDesk.DBus.ObjectPath, class NDesk.DBus.ObjectPath) - IL_0007: brfalse IL_000e - - IL_000c: ldc.i4.0 - IL_000d: ret - IL_000e: ldarg.0 - IL_000f: ldfld string NDesk.DBus.ObjectPath::Value - IL_0014: ldarg.1 - IL_0015: ldfld string NDesk.DBus.ObjectPath::Value - IL_001a: call bool string::op_Equality(string, string) - IL_001f: ret - } // end of method ObjectPath::Equals + IL_0007: ldarg.0 + IL_0008: ldc.i4.m1 + IL_0009: stfld int32 NDesk.DBus.Signature/'c__Iterator0'::$PC + IL_000e: ldloc.0 + IL_000f: switch ( + IL_0021, + IL_008b) + IL_001c: br IL_00ac - // method line 1005 - .method public virtual hidebysig - instance default bool Equals (object o) cil managed - { - // Method begins at RVA 0xe120 - // Code size 39 (0x27) - .maxstack 2 - .locals init ( - class NDesk.DBus.ObjectPath V_0) - IL_0000: ldarg.1 - IL_0001: isinst NDesk.DBus.ObjectPath - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldnull - IL_0009: call bool class NDesk.DBus.ObjectPath::op_Equality(class NDesk.DBus.ObjectPath, class NDesk.DBus.ObjectPath) - IL_000e: brfalse IL_0015 + IL_0021: ldarg.0 + IL_0022: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator0'::$this + IL_0027: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + IL_002c: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0031: brtrue IL_0049 - IL_0013: ldc.i4.0 - IL_0014: ret - IL_0015: ldarg.0 - IL_0016: ldfld string NDesk.DBus.ObjectPath::Value - IL_001b: ldloc.0 - IL_001c: ldfld string NDesk.DBus.ObjectPath::Value - IL_0021: callvirt instance bool string::Equals(string) - IL_0026: ret - } // end of method ObjectPath::Equals + IL_0036: ldarg.0 + IL_0037: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator0'::$this + IL_003c: ldc.i4.0 + IL_003d: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) + IL_0042: ldc.i4.s 0x28 + IL_0044: beq IL_0054 - // method line 1006 - .method public static hidebysig specialname - default bool op_Equality (class NDesk.DBus.ObjectPath a, class NDesk.DBus.ObjectPath b) cil managed - { - // Method begins at RVA 0xe154 - // Code size 50 (0x32) - .maxstack 2 - .locals init ( - object V_0, - object V_1) - IL_0000: ldarg.0 - IL_0001: stloc.0 - IL_0002: ldarg.1 - IL_0003: stloc.1 - IL_0004: ldloc.0 - IL_0005: brtrue IL_0012 + IL_0049: ldstr "Not a struct" + IL_004e: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0053: throw + IL_0054: ldarg.0 + IL_0055: ldc.i4.1 + IL_0056: stfld int32 NDesk.DBus.Signature/'c__Iterator0'::'__1' + IL_005b: br IL_008b - IL_000a: ldloc.1 - IL_000b: brtrue IL_0012 + IL_0060: ldarg.0 + IL_0061: ldarg.0 + IL_0062: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator0'::$this + IL_0067: ldarg.0 + IL_0068: ldflda int32 NDesk.DBus.Signature/'c__Iterator0'::'__1' + IL_006d: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetNextSignature([out] int32&) + IL_0072: stfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator0'::$current + IL_0077: ldarg.0 + IL_0078: ldfld bool NDesk.DBus.Signature/'c__Iterator0'::$disposing + IL_007d: brtrue.s IL_0086 - IL_0010: ldc.i4.1 - IL_0011: ret - IL_0012: ldloc.0 - IL_0013: brfalse IL_001e + IL_007f: ldarg.0 + IL_0080: ldc.i4.1 + IL_0081: stfld int32 NDesk.DBus.Signature/'c__Iterator0'::$PC + IL_0086: br IL_00ae - IL_0018: ldloc.1 - IL_0019: brtrue IL_0020 + IL_008b: ldarg.0 + IL_008c: ldfld int32 NDesk.DBus.Signature/'c__Iterator0'::'__1' + IL_0091: ldarg.0 + IL_0092: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator0'::$this + IL_0097: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_009c: ldlen + IL_009d: conv.i4 + IL_009e: ldc.i4.1 + IL_009f: sub + IL_00a0: blt IL_0060 - IL_001e: ldc.i4.0 - IL_001f: ret - IL_0020: ldarg.0 - IL_0021: ldfld string NDesk.DBus.ObjectPath::Value - IL_0026: ldarg.1 - IL_0027: ldfld string NDesk.DBus.ObjectPath::Value - IL_002c: call bool string::op_Equality(string, string) - IL_0031: ret - } // end of method ObjectPath::op_Equality + IL_00a5: ldarg.0 + IL_00a6: ldc.i4.m1 + IL_00a7: stfld int32 NDesk.DBus.Signature/'c__Iterator0'::$PC + IL_00ac: ldc.i4.0 + IL_00ad: ret + IL_00ae: ldc.i4.1 + IL_00af: ret + } // end of method c__Iterator0::MoveNext - // method line 1007 - .method public static hidebysig specialname - default bool op_Inequality (class NDesk.DBus.ObjectPath a, class NDesk.DBus.ObjectPath b) cil managed + // method line 1332 + .method private final virtual hidebysig newslot specialname + instance default valuetype NDesk.DBus.Signature 'System.Collections.Generic.IEnumerator.get_Current' () cil managed { - // Method begins at RVA 0xe192 - // Code size 11 (0xb) + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0xded8 + .override method instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call bool class NDesk.DBus.ObjectPath::op_Equality(class NDesk.DBus.ObjectPath, class NDesk.DBus.ObjectPath) - IL_0007: ldc.i4.0 - IL_0008: ceq - IL_000a: ret - } // end of method ObjectPath::op_Inequality + IL_0001: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator0'::$current + IL_0006: ret + } // end of method c__Iterator0::System.Collections.Generic.IEnumerator.get_Current - // method line 1008 - .method public virtual hidebysig - instance default int32 GetHashCode () cil managed + // method line 1333 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0xe19e + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0xdee0 + .override class [mscorlib]System.Collections.IEnumerator::get_Current // Code size 12 (0xc) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld string NDesk.DBus.ObjectPath::Value - IL_0006: callvirt instance int32 object::GetHashCode() + IL_0001: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator0'::$current + IL_0006: box NDesk.DBus.Signature IL_000b: ret - } // end of method ObjectPath::GetHashCode + } // end of method c__Iterator0::System.Collections.IEnumerator.get_Current - // method line 1009 - .method public virtual hidebysig - instance default string ToString () cil managed + // method line 1334 + .method public final virtual hidebysig newslot + instance default void Dispose () cil managed { - // Method begins at RVA 0xe1ab - // Code size 7 (0x7) + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0xdeed + // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld string NDesk.DBus.ObjectPath::Value - IL_0006: ret - } // end of method ObjectPath::ToString + IL_0001: ldc.i4.1 + IL_0002: stfld bool NDesk.DBus.Signature/'c__Iterator0'::$disposing + IL_0007: ldarg.0 + IL_0008: ldc.i4.m1 + IL_0009: stfld int32 NDesk.DBus.Signature/'c__Iterator0'::$PC + IL_000e: ret + } // end of method c__Iterator0::Dispose - // method line 1010 - .method assembly hidebysig specialname - instance default string[] get_Decomposed () cil managed + // method line 1335 + .method public final virtual hidebysig newslot + instance default void Reset () cil managed { - // Method begins at RVA 0xe1b3 - // Code size 24 (0x18) + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0xdefd + // Code size 6 (0x6) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld string NDesk.DBus.ObjectPath::Value - IL_0006: ldc.i4.1 - IL_0007: newarr [mscorlib]System.Char - IL_000c: dup - IL_000d: ldc.i4.0 - IL_000e: ldc.i4.s 0x2f - IL_0010: stelem.i2 - IL_0011: ldc.i4.1 - IL_0012: callvirt instance string[] string::Split(char[], valuetype [mscorlib]System.StringSplitOptions) - IL_0017: ret - } // end of method ObjectPath::get_Decomposed + IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() + IL_0005: throw + } // end of method c__Iterator0::Reset - // method line 1011 - .method assembly hidebysig specialname - instance default class NDesk.DBus.ObjectPath get_Parent () cil managed + // method line 1336 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed { - // Method begins at RVA 0xe1cc - // Code size 83 (0x53) - .maxstack 4 - .locals init ( - string V_0) + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0xdf04 + .override class [mscorlib]System.Collections.IEnumerable::GetEnumerator + // Code size 7 (0x7) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld string NDesk.DBus.ObjectPath::Value - IL_0006: ldsfld class NDesk.DBus.ObjectPath NDesk.DBus.ObjectPath::Root - IL_000b: ldfld string NDesk.DBus.ObjectPath::Value - IL_0010: call bool string::op_Equality(string, string) - IL_0015: brfalse IL_001c + IL_0001: call instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class NDesk.DBus.Signature/'c__Iterator0'::'System.Collections.Generic.IEnumerable.GetEnumerator'() + IL_0006: ret + } // end of method c__Iterator0::System.Collections.IEnumerable.GetEnumerator - IL_001a: ldnull - IL_001b: ret - IL_001c: ldarg.0 - IL_001d: ldfld string NDesk.DBus.ObjectPath::Value - IL_0022: ldc.i4.0 - IL_0023: ldarg.0 - IL_0024: ldfld string NDesk.DBus.ObjectPath::Value - IL_0029: ldc.i4.s 0x2f - IL_002b: callvirt instance int32 string::LastIndexOf(char) - IL_0030: callvirt instance string string::Substring(int32, int32) - IL_0035: stloc.0 - IL_0036: ldloc.0 - IL_0037: ldsfld string [mscorlib]System.String::Empty - IL_003c: call bool string::op_Equality(string, string) - IL_0041: brfalse IL_004c + // method line 1337 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.Generic.IEnumerator`1 'System.Collections.Generic.IEnumerable.GetEnumerator' () cil managed + { + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0046: ldstr "/" - IL_004b: stloc.0 - IL_004c: ldloc.0 - IL_004d: newobj instance void class NDesk.DBus.ObjectPath::'.ctor'(string) - IL_0052: ret - } // end of method ObjectPath::get_Parent + // Method begins at RVA 0xdf0c + .override method instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() + // Code size 40 (0x28) + .maxstack 3 + .locals init ( + class NDesk.DBus.Signature/'c__Iterator0' V_0) + IL_0000: ldarg.0 + IL_0001: ldflda int32 NDesk.DBus.Signature/'c__Iterator0'::$PC + IL_0006: ldc.i4.0 + IL_0007: ldc.i4.s 0xfffffffe + IL_0009: call int32 class [mscorlib]System.Threading.Interlocked::CompareExchange([out] int32&, int32, int32) + IL_000e: ldc.i4.s 0xfffffffe + IL_0010: bne.un.s IL_0014 - // method line 1012 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0xe22b - // Code size 16 (0x10) - .maxstack 8 - IL_0000: ldstr "/" - IL_0005: newobj instance void class NDesk.DBus.ObjectPath::'.ctor'(string) - IL_000a: stsfld class NDesk.DBus.ObjectPath NDesk.DBus.ObjectPath::Root - IL_000f: ret - } // end of method ObjectPath::.cctor + IL_0012: ldarg.0 + IL_0013: ret + IL_0014: newobj instance void class NDesk.DBus.Signature/'c__Iterator0'::'.ctor'() + IL_0019: stloc.0 + IL_001a: ldloc.0 + IL_001b: ldarg.0 + IL_001c: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator0'::$this + IL_0021: stfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator0'::$this + IL_0026: ldloc.0 + IL_0027: ret + } // end of method c__Iterator0::System.Collections.Generic.IEnumerable.GetEnumerator - .property instance string[] Decomposed () + .property instance valuetype NDesk.DBus.Signature 'System.Collections.Generic.IEnumerator.Current' () { - .get instance default string[] NDesk.DBus.ObjectPath::get_Decomposed () + .get instance default valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator0'::'System.Collections.Generic.IEnumerator.get_Current' () } - .property instance class NDesk.DBus.ObjectPath Parent () + .property instance object System.Collections.IEnumerator.Current () { - .get instance default class NDesk.DBus.ObjectPath NDesk.DBus.ObjectPath::get_Parent () + .get instance default object NDesk.DBus.Signature/'c__Iterator0'::System.Collections.IEnumerator.get_Current () } - } // end of class NDesk.DBus.ObjectPath -} + } // end of class c__Iterator0 -.namespace NDesk.DBus -{ - .class private auto ansi abstract sealed Protocol + .class nested private auto ansi sealed beforefieldinit 'c__Iterator1' extends [mscorlib]System.Object - { - .field public static literal unsigned int8 MinVersion = int8(0x00) - .field public static literal unsigned int8 Version = int8(0x01) - .field public static literal unsigned int8 MaxVersion = int8(0x02) - .field public static literal unsigned int32 MaxMessageLength = int32(0x08000000) - .field public static literal unsigned int32 MaxArrayLength = int32(0x04000000) - .field public static literal unsigned int32 MaxSignatureLength = int32(0x000000ff) - .field public static literal unsigned int32 MaxArrayDepth = int32(0x00000020) - .field public static literal unsigned int32 MaxStructDepth = int32(0x00000020) - .field assembly static literal unsigned int32 MaxNameLength = int32(0x000000ff) - .field assembly static literal unsigned int32 MaxMatchRuleLength = int32(0x00000400) - .field assembly static literal unsigned int32 MaxMatchRuleArgs = int32(0x00000040) - .field public static initonly bool Verbose + implements [mscorlib]System.Collections.IEnumerable, class [mscorlib]System.Collections.Generic.IEnumerable`1, [mscorlib]System.Collections.IEnumerator, [mscorlib]System.IDisposable, class [mscorlib]System.Collections.Generic.IEnumerator`1 { + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 1013 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0xe23c - // Code size 24 (0x18) - .maxstack 8 - IL_0000: ldstr "DBUS_VERBOSE" - IL_0005: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) - IL_000a: call bool string::IsNullOrEmpty(string) - IL_000f: ldc.i4.0 - IL_0010: ceq - IL_0012: stsfld bool NDesk.DBus.Protocol::Verbose - IL_0017: ret - } // end of method Protocol::.cctor + .field assembly int32 '__1' + .field assembly valuetype NDesk.DBus.Signature $this + .field assembly valuetype NDesk.DBus.Signature $current + .field assembly bool $disposing + .field assembly int32 $PC - // method line 1014 - .method public static hidebysig - default int32 PadNeeded (int32 pos, int32 'alignment') cil managed + // method line 1338 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xe258 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: rem - IL_0003: stloc.0 - IL_0004: ldloc.0 - IL_0005: brtrue IL_0010 - - IL_000a: ldc.i4.0 - IL_000b: br IL_0013 + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0010: ldarg.1 - IL_0011: ldloc.0 - IL_0012: sub - IL_0013: stloc.0 - IL_0014: ldloc.0 - IL_0015: ret - } // end of method Protocol::PadNeeded + // Method begins at RVA 0xdf40 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method c__Iterator1::.ctor - // method line 1015 - .method public static hidebysig - default int32 Padded (int32 pos, int32 'alignment') cil managed + // method line 1339 + .method public final virtual hidebysig newslot + instance default bool MoveNext () cil managed { - // Method begins at RVA 0xe27c - // Code size 19 (0x13) + // Method begins at RVA 0xdf48 + // Code size 144 (0x90) .maxstack 3 .locals init ( - int32 V_0) + unsigned int32 V_0) IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: rem - IL_0003: stloc.0 - IL_0004: ldloc.0 - IL_0005: brfalse IL_0011 + IL_0001: ldfld int32 NDesk.DBus.Signature/'c__Iterator1'::$PC + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldc.i4.m1 + IL_0009: stfld int32 NDesk.DBus.Signature/'c__Iterator1'::$PC + IL_000e: ldloc.0 + IL_000f: switch ( + IL_0021, + IL_006d) + IL_001c: br IL_008c - IL_000a: ldarg.0 - IL_000b: ldarg.1 - IL_000c: ldloc.0 - IL_000d: sub - IL_000e: add - IL_000f: starg.s 0 - IL_0011: ldarg.0 - IL_0012: ret - } // end of method Protocol::Padded + IL_0021: ldarg.0 + IL_0022: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator1'::$this + IL_0027: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_002c: brtrue IL_0036 - // method line 1016 - .method public static hidebysig - default int32 GetAlignment (valuetype NDesk.DBus.DType dtype) cil managed - { - // Method begins at RVA 0xe29c - // Code size 186 (0xba) - .maxstack 2 - IL_0000: ldarg.0 - IL_0001: ldc.i4.s 0x61 - IL_0003: sub - IL_0004: switch ( - IL_009c, - IL_008a, - IL_0075, - IL_0094, - IL_00a2, - IL_0092, - IL_009a, - IL_0075, - IL_008e, - IL_0075, - IL_0075, - IL_0075, - IL_0075, - IL_008c, - IL_0098, - IL_0075, - IL_008c, - IL_009e, - IL_0096, - IL_0090, - IL_008e, - IL_00a0, - IL_0075, - IL_0090, - IL_0088, - IL_0075, - IL_00a2) - IL_0075: ldarg.0 - IL_0076: brfalse IL_00a4 + IL_0031: br IL_008c - IL_007b: ldarg.0 - IL_007c: ldc.i4.s 0x28 - IL_007e: beq IL_009e + IL_0036: ldarg.0 + IL_0037: ldc.i4.0 + IL_0038: stfld int32 NDesk.DBus.Signature/'c__Iterator1'::'__1' + IL_003d: br IL_006d - IL_0083: br IL_00a4 + IL_0042: ldarg.0 + IL_0043: ldarg.0 + IL_0044: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator1'::$this + IL_0049: ldarg.0 + IL_004a: ldflda int32 NDesk.DBus.Signature/'c__Iterator1'::'__1' + IL_004f: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetNextSignature([out] int32&) + IL_0054: stfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator1'::$current + IL_0059: ldarg.0 + IL_005a: ldfld bool NDesk.DBus.Signature/'c__Iterator1'::$disposing + IL_005f: brtrue.s IL_0068 - IL_0088: ldc.i4.1 - IL_0089: ret - IL_008a: ldc.i4.4 - IL_008b: ret - IL_008c: ldc.i4.2 - IL_008d: ret - IL_008e: ldc.i4.4 - IL_008f: ret - IL_0090: ldc.i4.8 - IL_0091: ret - IL_0092: ldc.i4.4 - IL_0093: ret - IL_0094: ldc.i4.8 - IL_0095: ret - IL_0096: ldc.i4.4 - IL_0097: ret - IL_0098: ldc.i4.4 - IL_0099: ret - IL_009a: ldc.i4.1 - IL_009b: ret - IL_009c: ldc.i4.4 - IL_009d: ret - IL_009e: ldc.i4.8 - IL_009f: ret - IL_00a0: ldc.i4.1 - IL_00a1: ret - IL_00a2: ldc.i4.8 - IL_00a3: ret - IL_00a4: ldstr "Cannot determine alignment of " - IL_00a9: ldarg.0 - IL_00aa: box NDesk.DBus.DType - IL_00af: call string string::Concat(object, object) - IL_00b4: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_00b9: throw - } // end of method Protocol::GetAlignment + IL_0061: ldarg.0 + IL_0062: ldc.i4.1 + IL_0063: stfld int32 NDesk.DBus.Signature/'c__Iterator1'::$PC + IL_0068: br IL_008e - } // end of class NDesk.DBus.Protocol -} + IL_006d: ldarg.0 + IL_006e: ldfld int32 NDesk.DBus.Signature/'c__Iterator1'::'__1' + IL_0073: ldarg.0 + IL_0074: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator1'::$this + IL_0079: ldfld unsigned int8[] NDesk.DBus.Signature::data + IL_007e: ldlen + IL_007f: conv.i4 + IL_0080: blt IL_0042 -.namespace NDesk.DBus -{ - .class private auto ansi beforefieldinit BusException - extends [mscorlib]System.Exception - { - .field public initonly string ErrorName - .field public initonly string ErrorMessage + IL_0085: ldarg.0 + IL_0086: ldc.i4.m1 + IL_0087: stfld int32 NDesk.DBus.Signature/'c__Iterator1'::$PC + IL_008c: ldc.i4.0 + IL_008d: ret + IL_008e: ldc.i4.1 + IL_008f: ret + } // end of method c__Iterator1::MoveNext - // method line 1017 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string errorName, string errorMessage) cil managed + // method line 1340 + .method private final virtual hidebysig newslot specialname + instance default valuetype NDesk.DBus.Signature 'System.Collections.Generic.IEnumerator.get_Current' () cil managed { - // Method begins at RVA 0xe362 - // Code size 21 (0x15) + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0xdfe4 + .override method instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Exception::'.ctor'() - IL_0006: ldarg.0 - IL_0007: ldarg.1 - IL_0008: stfld string NDesk.DBus.BusException::ErrorName - IL_000d: ldarg.0 - IL_000e: ldarg.2 - IL_000f: stfld string NDesk.DBus.BusException::ErrorMessage - IL_0014: ret - } // end of method BusException::.ctor + IL_0001: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator1'::$current + IL_0006: ret + } // end of method c__Iterator1::System.Collections.Generic.IEnumerator.get_Current - // method line 1018 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string errorName, string format, object[] args) cil managed + // method line 1341 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - .param [3] - .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - // Method begins at RVA 0xe378 - // Code size 27 (0x1b) + // Method begins at RVA 0xdfec + .override class [mscorlib]System.Collections.IEnumerator::get_Current + // Code size 12 (0xc) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Exception::'.ctor'() - IL_0006: ldarg.0 - IL_0007: ldarg.1 - IL_0008: stfld string NDesk.DBus.BusException::ErrorName - IL_000d: ldarg.0 - IL_000e: ldarg.2 - IL_000f: ldarg.3 - IL_0010: call string string::Format(string, object[]) - IL_0015: stfld string NDesk.DBus.BusException::ErrorMessage - IL_001a: ret - } // end of method BusException::.ctor + IL_0001: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator1'::$current + IL_0006: box NDesk.DBus.Signature + IL_000b: ret + } // end of method c__Iterator1::System.Collections.IEnumerator.get_Current - // method line 1019 - .method public virtual hidebysig specialname - instance default string get_Message () cil managed + // method line 1342 + .method public final virtual hidebysig newslot + instance default void Dispose () cil managed { - // Method begins at RVA 0xe394 - // Code size 23 (0x17) + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0xdff9 + // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld string NDesk.DBus.BusException::ErrorName - IL_0006: ldstr ": " - IL_000b: ldarg.0 - IL_000c: ldfld string NDesk.DBus.BusException::ErrorMessage - IL_0011: call string string::Concat(string, string, string) - IL_0016: ret - } // end of method BusException::get_Message + IL_0001: ldc.i4.1 + IL_0002: stfld bool NDesk.DBus.Signature/'c__Iterator1'::$disposing + IL_0007: ldarg.0 + IL_0008: ldc.i4.m1 + IL_0009: stfld int32 NDesk.DBus.Signature/'c__Iterator1'::$PC + IL_000e: ret + } // end of method c__Iterator1::Dispose - .property instance string Message () - { - .get instance default string NDesk.DBus.BusException::get_Message () - } - } // end of class NDesk.DBus.BusException -} + // method line 1343 + .method public final virtual hidebysig newslot + instance default void Reset () cil managed + { + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... -.namespace NDesk.DBus.Transports -{ - .class private auto ansi beforefieldinit UnixNativeTransport - extends NDesk.DBus.Transports.UnixTransport - { - .field assembly class NDesk.Unix.UnixSocket socket + // Method begins at RVA 0xe009 + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() + IL_0005: throw + } // end of method c__Iterator1::Reset - // method line 1020 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1344 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed { - // Method begins at RVA 0xe3ac + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0xe010 + .override class [mscorlib]System.Collections.IEnumerable::GetEnumerator // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NDesk.DBus.Transports.UnixTransport::'.ctor'() + IL_0001: call instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class NDesk.DBus.Signature/'c__Iterator1'::'System.Collections.Generic.IEnumerable.GetEnumerator'() IL_0006: ret - } // end of method UnixNativeTransport::.ctor - - // method line 1021 - .method public virtual hidebysig - instance default string AuthString () cil managed - { - // Method begins at RVA 0xe3b4 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - int64 V_0) - IL_0000: call int64 class NDesk.Unix.UnixUid::GetEUID() - IL_0005: stloc.0 - IL_0006: ldloca.s 0 - IL_0008: constrained. [mscorlib]System.Int64 - IL_000e: callvirt instance string object::ToString() - IL_0013: ret - } // end of method UnixNativeTransport::AuthString + } // end of method c__Iterator1::System.Collections.IEnumerable.GetEnumerator - // method line 1022 - .method public virtual hidebysig - instance default void Open (string path, bool 'abstract') cil managed + // method line 1345 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.Generic.IEnumerator`1 'System.Collections.Generic.IEnumerable.GetEnumerator' () cil managed { - // Method begins at RVA 0xe3d4 - // Code size 95 (0x5f) - .maxstack 3 - IL_0000: ldarg.1 - IL_0001: call bool string::IsNullOrEmpty(string) - IL_0006: brfalse IL_0016 - - IL_000b: ldstr "path" - IL_0010: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0015: throw - IL_0016: ldarg.2 - IL_0017: brfalse IL_002e - - IL_001c: ldarg.0 - IL_001d: ldarg.0 - IL_001e: ldarg.1 - IL_001f: call instance class NDesk.Unix.UnixSocket class NDesk.DBus.Transports.UnixNativeTransport::OpenAbstractUnix(string) - IL_0024: stfld class NDesk.Unix.UnixSocket NDesk.DBus.Transports.UnixNativeTransport::socket - IL_0029: br IL_003b - - IL_002e: ldarg.0 - IL_002f: ldarg.0 - IL_0030: ldarg.1 - IL_0031: call instance class NDesk.Unix.UnixSocket class NDesk.DBus.Transports.UnixNativeTransport::OpenUnix(string) - IL_0036: stfld class NDesk.Unix.UnixSocket NDesk.DBus.Transports.UnixNativeTransport::socket - IL_003b: ldarg.0 - IL_003c: ldarg.0 - IL_003d: ldfld class NDesk.Unix.UnixSocket NDesk.DBus.Transports.UnixNativeTransport::socket - IL_0042: ldfld int32 NDesk.Unix.UnixSocket::Handle - IL_0047: conv.i8 - IL_0048: stfld int64 NDesk.DBus.Transports.Transport::SocketHandle - IL_004d: ldarg.0 - IL_004e: ldarg.0 - IL_004f: ldfld class NDesk.Unix.UnixSocket NDesk.DBus.Transports.UnixNativeTransport::socket - IL_0054: newobj instance void class NDesk.Unix.UnixStream::'.ctor'(class NDesk.Unix.UnixSocket) - IL_0059: stfld class [mscorlib]System.IO.Stream NDesk.DBus.Transports.Transport::Stream - IL_005e: ret - } // end of method UnixNativeTransport::Open + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 1023 - .method private hidebysig - instance default void WriteBsdCred () cil managed - { - // Method begins at RVA 0xe440 - // Code size 171 (0xab) + // Method begins at RVA 0xe018 + .override method instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() + // Code size 40 (0x28) .maxstack 3 .locals init ( - unsigned int8 V_0, - valuetype NDesk.Unix.IOVector V_1, - valuetype NDesk.DBus.Transports.msghdr V_2, - valuetype NDesk.DBus.Transports.cmsg V_3, - int32 V_4) - IL_0000: ldc.i4.0 - IL_0001: stloc.0 - IL_0002: ldloca.s 1 - IL_0004: initobj NDesk.Unix.IOVector - IL_000a: ldloca.s 1 - IL_000c: ldloca.s 0 - IL_000e: stfld void* NDesk.Unix.IOVector::Base - IL_0013: ldloca.s 1 - IL_0015: ldc.i4.1 - IL_0016: call instance void valuetype NDesk.Unix.IOVector::set_Length(int32) - IL_001b: ldloca.s 2 - IL_001d: initobj NDesk.DBus.Transports.msghdr - IL_0023: ldloca.s 2 - IL_0025: ldloca.s 1 - IL_0027: stfld valuetype NDesk.Unix.IOVector* NDesk.DBus.Transports.msghdr::msg_iov - IL_002c: ldloca.s 2 - IL_002e: ldc.i4.1 - IL_002f: stfld int32 NDesk.DBus.Transports.msghdr::msg_iovlen - IL_0034: ldloca.s 3 - IL_0036: initobj NDesk.DBus.Transports.cmsg - IL_003c: ldloca.s 2 - IL_003e: ldloca.s 3 - IL_0040: call native int native int::op_Explicit(void*) - IL_0045: stfld native int NDesk.DBus.Transports.msghdr::msg_control - IL_004a: ldloca.s 2 - IL_004c: sizeof NDesk.DBus.Transports.cmsg - IL_0052: stfld unsigned int32 NDesk.DBus.Transports.msghdr::msg_controllen - IL_0057: ldloca.s 3 - IL_0059: ldflda valuetype NDesk.DBus.Transports.cmsghdr NDesk.DBus.Transports.cmsg::hdr - IL_005e: sizeof NDesk.DBus.Transports.cmsg - IL_0064: stfld unsigned int32 NDesk.DBus.Transports.cmsghdr::cmsg_len - IL_0069: ldloca.s 3 - IL_006b: ldflda valuetype NDesk.DBus.Transports.cmsghdr NDesk.DBus.Transports.cmsg::hdr - IL_0070: ldc.i4 65535 - IL_0075: stfld int32 NDesk.DBus.Transports.cmsghdr::cmsg_level - IL_007a: ldloca.s 3 - IL_007c: ldflda valuetype NDesk.DBus.Transports.cmsghdr NDesk.DBus.Transports.cmsg::hdr - IL_0081: ldc.i4.3 - IL_0082: stfld int32 NDesk.DBus.Transports.cmsghdr::cmsg_type - IL_0087: ldarg.0 - IL_0088: ldfld class NDesk.Unix.UnixSocket NDesk.DBus.Transports.UnixNativeTransport::socket - IL_008d: ldloca.s 2 - IL_008f: ldc.i4.0 - IL_0090: callvirt instance int32 class NDesk.Unix.UnixSocket::SendMsg(void*, int32) - IL_0095: stloc.s 4 - IL_0097: ldloc.s 4 - IL_0099: ldc.i4.1 - IL_009a: beq IL_00aa - - IL_009f: ldstr "Failed to write credentials" - IL_00a4: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_00a9: throw - IL_00aa: ret - } // end of method UnixNativeTransport::WriteBsdCred - - // method line 1024 - .method public virtual hidebysig - instance default void WriteCred () cil managed - { - // Method begins at RVA 0xe4f8 - // Code size 57 (0x39) - .maxstack 2 - .locals init ( - unsigned int8 V_0) - .try { // 0 - IL_0000: ldarg.0 - IL_0001: call instance void class NDesk.DBus.Transports.UnixNativeTransport::WriteBsdCred() - IL_0006: leave IL_0038 - - } // end .try 0 - catch class [mscorlib]System.Object { // 0 - IL_000b: pop - IL_000c: ldsfld bool NDesk.DBus.Protocol::Verbose - IL_0011: brfalse IL_0025 - - IL_0016: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_001b: ldstr "Warning: WriteBsdCred() failed; falling back to ordinary WriteCred()" - IL_0020: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0025: leave IL_002a - - } // end handler 0 - IL_002a: ldc.i4.0 - IL_002b: stloc.0 - IL_002c: ldarg.0 - IL_002d: ldfld class [mscorlib]System.IO.Stream NDesk.DBus.Transports.Transport::Stream - IL_0032: ldloc.0 - IL_0033: callvirt instance void class [mscorlib]System.IO.Stream::WriteByte(unsigned int8) - IL_0038: ret - } // end of method UnixNativeTransport::WriteCred - - // method line 1025 - .method public static hidebysig - default unsigned int8[] GetSockAddr (string path) cil managed - { - // Method begins at RVA 0xe550 - // Code size 82 (0x52) - .maxstack 4 - .locals init ( - unsigned int8[] V_0, - unsigned int8[] V_1, - unsigned int8[] V_2, - int32 V_3) - IL_0000: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() - IL_0005: ldarg.0 - IL_0006: callvirt instance unsigned int8[] class [mscorlib]System.Text.Encoding::GetBytes(string) - IL_000b: stloc.0 - IL_000c: ldc.i4.2 - IL_000d: ldloc.0 - IL_000e: ldlen - IL_000f: conv.i4 - IL_0010: add - IL_0011: ldc.i4.1 - IL_0012: add - IL_0013: newarr [mscorlib]System.Byte - IL_0018: stloc.1 - IL_0019: ldc.i4.1 - IL_001a: call unsigned int8[] class [mscorlib]System.BitConverter::GetBytes(int16) - IL_001f: stloc.2 - IL_0020: ldloc.1 - IL_0021: ldc.i4.0 - IL_0022: ldloc.2 - IL_0023: ldc.i4.0 - IL_0024: ldelem.u1 - IL_0025: stelem.i1 - IL_0026: ldloc.1 - IL_0027: ldc.i4.1 - IL_0028: ldloc.2 - IL_0029: ldc.i4.1 - IL_002a: ldelem.u1 - IL_002b: stelem.i1 - IL_002c: ldc.i4.0 - IL_002d: stloc.3 - IL_002e: br IL_003f - - IL_0033: ldloc.1 - IL_0034: ldc.i4.2 - IL_0035: ldloc.3 - IL_0036: add - IL_0037: ldloc.0 - IL_0038: ldloc.3 - IL_0039: ldelem.u1 - IL_003a: stelem.i1 - IL_003b: ldloc.3 - IL_003c: ldc.i4.1 - IL_003d: add - IL_003e: stloc.3 - IL_003f: ldloc.3 - IL_0040: ldloc.0 - IL_0041: ldlen - IL_0042: conv.i4 - IL_0043: bne.un IL_0033 - - IL_0048: ldloc.1 - IL_0049: ldc.i4.2 - IL_004a: ldloc.0 - IL_004b: ldlen - IL_004c: conv.i4 - IL_004d: add - IL_004e: ldc.i4.0 - IL_004f: stelem.i1 - IL_0050: ldloc.1 - IL_0051: ret - } // end of method UnixNativeTransport::GetSockAddr - - // method line 1026 - .method public static hidebysig - default unsigned int8[] GetSockAddrAbstract (string path) cil managed - { - // Method begins at RVA 0xe5b0 - // Code size 76 (0x4c) - .maxstack 4 - .locals init ( - unsigned int8[] V_0, - unsigned int8[] V_1, - unsigned int8[] V_2, - int32 V_3) - IL_0000: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() - IL_0005: ldarg.0 - IL_0006: callvirt instance unsigned int8[] class [mscorlib]System.Text.Encoding::GetBytes(string) - IL_000b: stloc.0 - IL_000c: ldc.i4.3 - IL_000d: ldloc.0 - IL_000e: ldlen - IL_000f: conv.i4 - IL_0010: add - IL_0011: newarr [mscorlib]System.Byte - IL_0016: stloc.1 - IL_0017: ldc.i4.1 - IL_0018: call unsigned int8[] class [mscorlib]System.BitConverter::GetBytes(int16) - IL_001d: stloc.2 - IL_001e: ldloc.1 - IL_001f: ldc.i4.0 - IL_0020: ldloc.2 - IL_0021: ldc.i4.0 - IL_0022: ldelem.u1 - IL_0023: stelem.i1 - IL_0024: ldloc.1 - IL_0025: ldc.i4.1 - IL_0026: ldloc.2 - IL_0027: ldc.i4.1 - IL_0028: ldelem.u1 - IL_0029: stelem.i1 - IL_002a: ldloc.1 - IL_002b: ldc.i4.2 - IL_002c: ldc.i4.0 - IL_002d: stelem.i1 - IL_002e: ldc.i4.0 - IL_002f: stloc.3 - IL_0030: br IL_0041 - - IL_0035: ldloc.1 - IL_0036: ldc.i4.3 - IL_0037: ldloc.3 - IL_0038: add - IL_0039: ldloc.0 - IL_003a: ldloc.3 - IL_003b: ldelem.u1 - IL_003c: stelem.i1 - IL_003d: ldloc.3 - IL_003e: ldc.i4.1 - IL_003f: add - IL_0040: stloc.3 - IL_0041: ldloc.3 - IL_0042: ldloc.0 - IL_0043: ldlen - IL_0044: conv.i4 - IL_0045: bne.un IL_0035 - - IL_004a: ldloc.1 - IL_004b: ret - } // end of method UnixNativeTransport::GetSockAddrAbstract + class NDesk.DBus.Signature/'c__Iterator1' V_0) + IL_0000: ldarg.0 + IL_0001: ldflda int32 NDesk.DBus.Signature/'c__Iterator1'::$PC + IL_0006: ldc.i4.0 + IL_0007: ldc.i4.s 0xfffffffe + IL_0009: call int32 class [mscorlib]System.Threading.Interlocked::CompareExchange([out] int32&, int32, int32) + IL_000e: ldc.i4.s 0xfffffffe + IL_0010: bne.un.s IL_0014 - // method line 1027 - .method assembly hidebysig - instance default class NDesk.Unix.UnixSocket OpenUnix (string path) cil managed - { - // Method begins at RVA 0xe608 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - unsigned int8[] V_0, - class NDesk.Unix.UnixSocket V_1) - IL_0000: ldarg.1 - IL_0001: call unsigned int8[] class NDesk.DBus.Transports.UnixNativeTransport::GetSockAddr(string) - IL_0006: stloc.0 - IL_0007: newobj instance void class NDesk.Unix.UnixSocket::'.ctor'() - IL_000c: stloc.1 - IL_000d: ldloc.1 - IL_000e: ldloc.0 - IL_000f: callvirt instance void class NDesk.Unix.UnixSocket::Connect(unsigned int8[]) - IL_0014: ldloc.1 - IL_0015: ret - } // end of method UnixNativeTransport::OpenUnix + IL_0012: ldarg.0 + IL_0013: ret + IL_0014: newobj instance void class NDesk.DBus.Signature/'c__Iterator1'::'.ctor'() + IL_0019: stloc.0 + IL_001a: ldloc.0 + IL_001b: ldarg.0 + IL_001c: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator1'::$this + IL_0021: stfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator1'::$this + IL_0026: ldloc.0 + IL_0027: ret + } // end of method c__Iterator1::System.Collections.Generic.IEnumerable.GetEnumerator - // method line 1028 - .method assembly hidebysig - instance default class NDesk.Unix.UnixSocket OpenAbstractUnix (string path) cil managed - { - // Method begins at RVA 0xe62c - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - unsigned int8[] V_0, - class NDesk.Unix.UnixSocket V_1) - IL_0000: ldarg.1 - IL_0001: call unsigned int8[] class NDesk.DBus.Transports.UnixNativeTransport::GetSockAddrAbstract(string) - IL_0006: stloc.0 - IL_0007: newobj instance void class NDesk.Unix.UnixSocket::'.ctor'() - IL_000c: stloc.1 - IL_000d: ldloc.1 - IL_000e: ldloc.0 - IL_000f: callvirt instance void class NDesk.Unix.UnixSocket::Connect(unsigned int8[]) - IL_0014: ldloc.1 - IL_0015: ret - } // end of method UnixNativeTransport::OpenAbstractUnix + .property instance valuetype NDesk.DBus.Signature 'System.Collections.Generic.IEnumerator.Current' () + { + .get instance default valuetype NDesk.DBus.Signature NDesk.DBus.Signature/'c__Iterator1'::'System.Collections.Generic.IEnumerator.get_Current' () + } + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NDesk.DBus.Signature/'c__Iterator1'::System.Collections.IEnumerator.get_Current () + } + } // end of class c__Iterator1 - } // end of class NDesk.DBus.Transports.UnixNativeTransport + } // end of class NDesk.DBus.Signature } -.namespace NDesk.DBus.Transports +.namespace NDesk.DBus { - .class private sequential ansi sealed beforefieldinit msghdr - extends [mscorlib]System.ValueType + .class private auto ansi sealed ArgDirection + extends [mscorlib]System.Enum { - .field public native int msg_name - .field public unsigned int32 msg_namelen - .field public valuetype NDesk.Unix.IOVector* msg_iov - .field public int32 msg_iovlen - .field public native int msg_control - .field public unsigned int32 msg_controllen - .field public int32 msg_flags + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NDesk.DBus.ArgDirection In = int32(0x00000000) + .field public static literal valuetype NDesk.DBus.ArgDirection Out = int32(0x00000001) - } // end of class NDesk.DBus.Transports.msghdr + } // end of class NDesk.DBus.ArgDirection } -.namespace NDesk.DBus.Transports +.namespace NDesk.DBus { - .class private sequential ansi sealed beforefieldinit cmsghdr - extends [mscorlib]System.ValueType + .class private auto ansi sealed DType + extends [mscorlib]System.Enum { - .field public unsigned int32 cmsg_len - .field public int32 cmsg_level - .field public int32 cmsg_type + .field public specialname rtspecialname unsigned int8 value__ + .field public static literal valuetype NDesk.DBus.DType Invalid = int8(0x00) + .field public static literal valuetype NDesk.DBus.DType Byte = int8(0x79) + .field public static literal valuetype NDesk.DBus.DType Boolean = int8(0x62) + .field public static literal valuetype NDesk.DBus.DType Int16 = int8(0x6e) + .field public static literal valuetype NDesk.DBus.DType UInt16 = int8(0x71) + .field public static literal valuetype NDesk.DBus.DType Int32 = int8(0x69) + .field public static literal valuetype NDesk.DBus.DType UInt32 = int8(0x75) + .field public static literal valuetype NDesk.DBus.DType Int64 = int8(0x78) + .field public static literal valuetype NDesk.DBus.DType UInt64 = int8(0x74) + .field public static literal valuetype NDesk.DBus.DType Single = int8(0x66) + .field public static literal valuetype NDesk.DBus.DType Double = int8(0x64) + .field public static literal valuetype NDesk.DBus.DType String = int8(0x73) + .field public static literal valuetype NDesk.DBus.DType ObjectPath = int8(0x6f) + .field public static literal valuetype NDesk.DBus.DType Signature = int8(0x67) + .field public static literal valuetype NDesk.DBus.DType Array = int8(0x61) + .field public static literal valuetype NDesk.DBus.DType Struct = int8(0x72) + .field public static literal valuetype NDesk.DBus.DType DictEntry = int8(0x65) + .field public static literal valuetype NDesk.DBus.DType Variant = int8(0x76) + .field public static literal valuetype NDesk.DBus.DType StructBegin = int8(0x28) + .field public static literal valuetype NDesk.DBus.DType StructEnd = int8(0x29) + .field public static literal valuetype NDesk.DBus.DType DictEntryBegin = int8(0x7b) + .field public static literal valuetype NDesk.DBus.DType DictEntryEnd = int8(0x7d) - } // end of class NDesk.DBus.Transports.cmsghdr + } // end of class NDesk.DBus.DType } -.namespace NDesk.DBus.Transports +.namespace NDesk.DBus { - .class private sequential ansi sealed beforefieldinit cmsgcred - extends [mscorlib]System.ValueType + .class private auto ansi beforefieldinit MessageFilter + extends [mscorlib]System.Object { - .field private static literal int32 CMGROUP_MAX = int32(0x00000010) - .field public int32 cmcred_pid - .field public unsigned int32 cmcred_uid - .field public unsigned int32 cmcred_euid - .field public unsigned int32 cmcred_gid - .field public int16 cmcred_ngroups - .field public valuetype NDesk.DBus.Transports.cmsgcred/'__FixedBuffer0' cmcred_groups - .custom instance void class [mscorlib]System.Runtime.CompilerServices.FixedBufferAttribute::'.ctor'(class [mscorlib]System.Type, int32) = ( - 01 00 5A 53 79 73 74 65 6D 2E 55 49 6E 74 33 32 // ..ZSystem.UInt32 - 2C 20 6D 73 63 6F 72 6C 69 62 2C 20 56 65 72 73 // , mscorlib, Vers - 69 6F 6E 3D 34 2E 30 2E 30 2E 30 2C 20 43 75 6C // ion=4.0.0.0, Cul - 74 75 72 65 3D 6E 65 75 74 72 61 6C 2C 20 50 75 // ture=neutral, Pu - 62 6C 69 63 4B 65 79 54 6F 6B 65 6E 3D 62 37 37 // blicKeyToken=b77 - 61 35 63 35 36 31 39 33 34 65 30 38 39 10 00 00 // a5c561934e089... - 00 00 00 ) // ... + // method line 1000 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xe04c + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method MessageFilter::.ctor - .class nested public sequential ansi sealed beforefieldinit '__FixedBuffer0' - extends [mscorlib]System.ValueType - { - .custom instance void class [mscorlib]System.Runtime.CompilerServices.UnsafeValueTypeAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 1001 + .method public static hidebysig + default string MessageTypeToString (valuetype NDesk.DBus.MessageType mtype) cil managed + { + // Method begins at RVA 0xe054 + // Code size 83 (0x53) + .maxstack 2 + IL_0000: ldarg.0 + IL_0001: switch ( + IL_0037, + IL_001f, + IL_0025, + IL_002b, + IL_0031) + IL_001a: br IL_003d - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_001f: ldstr "method_call" + IL_0024: ret + IL_0025: ldstr "method_return" + IL_002a: ret + IL_002b: ldstr "error" + IL_0030: ret + IL_0031: ldstr "signal" + IL_0036: ret + IL_0037: ldstr "invalid" + IL_003c: ret + IL_003d: ldstr "Bad MessageType: " + IL_0042: ldarg.0 + IL_0043: box NDesk.DBus.MessageType + IL_0048: call string string::Concat(object, object) + IL_004d: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0052: throw + } // end of method MessageFilter::MessageTypeToString - .pack 0 - .size 64 - .field public unsigned int32 FixedElementField + // method line 1002 + .method public static hidebysig + default valuetype NDesk.DBus.MessageType StringToMessageType (string text) cil managed + { + // Method begins at RVA 0xe0b4 + // Code size 118 (0x76) + .maxstack 2 + IL_0000: ldarg.0 + IL_0001: brfalse IL_0065 - } // end of class __FixedBuffer0 + IL_0006: ldarg.0 + IL_0007: ldstr "method_call" + IL_000c: call bool string::op_Equality(string, string) + IL_0011: brtrue IL_005b - } // end of class NDesk.DBus.Transports.cmsgcred -} + IL_0016: ldarg.0 + IL_0017: ldstr "method_return" + IL_001c: call bool string::op_Equality(string, string) + IL_0021: brtrue IL_005d -.namespace NDesk.DBus.Transports -{ - .class private sequential ansi sealed beforefieldinit cmsg - extends [mscorlib]System.ValueType - { - .field public valuetype NDesk.DBus.Transports.cmsghdr hdr - .field public valuetype NDesk.DBus.Transports.cmsgcred cred + IL_0026: ldarg.0 + IL_0027: ldstr "error" + IL_002c: call bool string::op_Equality(string, string) + IL_0031: brtrue IL_005f - } // end of class NDesk.DBus.Transports.cmsg + IL_0036: ldarg.0 + IL_0037: ldstr "signal" + IL_003c: call bool string::op_Equality(string, string) + IL_0041: brtrue IL_0061 + + IL_0046: ldarg.0 + IL_0047: ldstr "invalid" + IL_004c: call bool string::op_Equality(string, string) + IL_0051: brtrue IL_0063 + + IL_0056: br IL_0065 + + IL_005b: ldc.i4.1 + IL_005c: ret + IL_005d: ldc.i4.2 + IL_005e: ret + IL_005f: ldc.i4.3 + IL_0060: ret + IL_0061: ldc.i4.4 + IL_0062: ret + IL_0063: ldc.i4.0 + IL_0064: ret + IL_0065: ldstr "Bad MessageType: " + IL_006a: ldarg.0 + IL_006b: call string string::Concat(string, string) + IL_0070: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0075: throw + } // end of method MessageFilter::StringToMessageType + + // method line 1003 + .method public static hidebysig + default string CreateMatchRule (valuetype NDesk.DBus.MessageType mtype) cil managed + { + // Method begins at RVA 0xe136 + // Code size 22 (0x16) + .maxstack 8 + IL_0000: ldstr "type='" + IL_0005: ldarg.0 + IL_0006: call string class NDesk.DBus.MessageFilter::MessageTypeToString(valuetype NDesk.DBus.MessageType) + IL_000b: ldstr "'" + IL_0010: call string string::Concat(string, string, string) + IL_0015: ret + } // end of method MessageFilter::CreateMatchRule + + } // end of class NDesk.DBus.MessageFilter } .namespace NDesk.DBus.Transports @@ -29661,11 +28745,11 @@ .field private class [mscorlib]System.Collections.Generic.IEnumerator`1 msgRdr .field private object writeLock - // method line 1029 + // method line 1004 .method family hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x9939 + // Method begins at RVA 0x8ea4 // Code size 37 (0x25) .maxstack 8 IL_0000: ldarg.0 @@ -29682,11 +28766,11 @@ IL_0024: ret } // end of method Transport::.ctor - // method line 1030 + // method line 1005 .method public static hidebysig default class NDesk.DBus.Transports.Transport Create (class NDesk.DBus.AddressEntry entry) cil managed { - // Method begins at RVA 0x9960 + // Method begins at RVA 0x8ecc // Code size 107 (0x6b) .maxstack 3 .locals init ( @@ -29734,11 +28818,11 @@ IL_006a: throw } // end of method Transport::Create - // method line 1031 + // method line 1006 .method public hidebysig specialname instance default class NDesk.DBus.Connection get_Connection () cil managed { - // Method begins at RVA 0x99d7 + // Method begins at RVA 0x8f43 // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 @@ -29746,11 +28830,11 @@ IL_0006: ret } // end of method Transport::get_Connection - // method line 1032 + // method line 1007 .method public hidebysig specialname instance default void set_Connection (class NDesk.DBus.Connection 'value') cil managed { - // Method begins at RVA 0x99df + // Method begins at RVA 0x8f4b // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 @@ -29759,32 +28843,32 @@ IL_0007: ret } // end of method Transport::set_Connection - // method line 1033 + // method line 1008 .method public virtual hidebysig newslot abstract instance default void Open (class NDesk.DBus.AddressEntry entry) cil managed { // Method begins at RVA 0x0 } // end of method Transport::Open - // method line 1034 + // method line 1009 .method public virtual hidebysig newslot abstract instance default string AuthString () cil managed { // Method begins at RVA 0x0 } // end of method Transport::AuthString - // method line 1035 + // method line 1010 .method public virtual hidebysig newslot abstract instance default void WriteCred () cil managed { // Method begins at RVA 0x0 } // end of method Transport::WriteCred - // method line 1036 + // method line 1011 .method public virtual hidebysig newslot instance default bool TryGetPeerPid ([out] unsigned int32& pid) cil managed { - // Method begins at RVA 0x99e8 + // Method begins at RVA 0x8f54 // Code size 5 (0x5) .maxstack 8 IL_0000: ldarg.1 @@ -29794,11 +28878,11 @@ IL_0004: ret } // end of method Transport::TryGetPeerPid - // method line 1037 + // method line 1012 .method private hidebysig specialname instance default class [mscorlib]System.IO.Stream get_ns () cil managed { - // Method begins at RVA 0x99ee + // Method begins at RVA 0x8f5a // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 @@ -29806,11 +28890,11 @@ IL_0006: ret } // end of method Transport::get_ns - // method line 1038 + // method line 1013 .method public virtual hidebysig newslot instance default void Disconnect () cil managed { - // Method begins at RVA 0x99f6 + // Method begins at RVA 0x8f62 // Code size 12 (0xc) .maxstack 8 IL_0000: ldarg.0 @@ -29819,11 +28903,11 @@ IL_000b: ret } // end of method Transport::Disconnect - // method line 1039 + // method line 1014 .method public hidebysig specialname instance default void add_WakeUp (class [mscorlib]System.EventHandler 'value') cil managed { - // Method begins at RVA 0x9a04 + // Method begins at RVA 0x8f70 // Code size 42 (0x2a) .maxstack 3 .locals init ( @@ -29850,11 +28934,11 @@ IL_0029: ret } // end of method Transport::add_WakeUp - // method line 1040 + // method line 1015 .method public hidebysig specialname instance default void remove_WakeUp (class [mscorlib]System.EventHandler 'value') cil managed { - // Method begins at RVA 0x9a3c + // Method begins at RVA 0x8fa8 // Code size 42 (0x2a) .maxstack 3 .locals init ( @@ -29881,11 +28965,11 @@ IL_0029: ret } // end of method Transport::remove_WakeUp - // method line 1041 + // method line 1016 .method family hidebysig instance default void FireWakeUp () cil managed { - // Method begins at RVA 0x9a72 + // Method begins at RVA 0x8fde // Code size 29 (0x1d) .maxstack 8 IL_0000: ldarg.0 @@ -29900,11 +28984,11 @@ IL_001c: ret } // end of method Transport::FireWakeUp - // method line 1042 + // method line 1017 .method assembly hidebysig instance default class NDesk.DBus.Message TryReadMessage () cil managed { - // Method begins at RVA 0x9a90 + // Method begins at RVA 0x8ffc // Code size 37 (0x25) .maxstack 8 IL_0000: ldarg.0 @@ -29923,11 +29007,11 @@ IL_0024: ret } // end of method Transport::TryReadMessage - // method line 1043 + // method line 1018 .method public hidebysig instance default void Iterate () cil managed { - // Method begins at RVA 0x9ab6 + // Method begins at RVA 0x9022 // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 @@ -29935,11 +29019,11 @@ IL_0006: ret } // end of method Transport::Iterate - // method line 1044 + // method line 1019 .method assembly hidebysig instance default class NDesk.DBus.Message ReadMessage () cil managed { - // Method begins at RVA 0x9ac0 + // Method begins at RVA 0x902c // Code size 82 (0x52) .maxstack 2 .locals init ( @@ -29982,11 +29066,11 @@ IL_0051: ret } // end of method Transport::ReadMessage - // method line 1045 + // method line 1020 .method private hidebysig instance default int32 Read (unsigned int8[] buffer, int32 offset, int32 count) cil managed { - // Method begins at RVA 0x9b30 + // Method begins at RVA 0x909c // Code size 63 (0x3f) .maxstack 5 .locals init ( @@ -30030,11 +29114,11 @@ IL_003e: ret } // end of method Transport::Read - // method line 1046 + // method line 1021 .method public hidebysig instance default void GetData () cil managed { - // Method begins at RVA 0x9b7c + // Method begins at RVA 0x90e8 // Code size 198 (0xc6) .maxstack 5 .locals init ( @@ -30122,13 +29206,13 @@ IL_00c5: ret } // end of method Transport::GetData - // method line 1047 + // method line 1022 .method private hidebysig instance default class [mscorlib]System.Collections.Generic.IEnumerator`1 ReadMessageReal2 () cil managed { .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - // Method begins at RVA 0x9c50 + // Method begins at RVA 0x91bc // Code size 15 (0xf) .maxstack 2 .locals init ( @@ -30142,11 +29226,11 @@ IL_000e: ret } // end of method Transport::ReadMessageReal2 - // method line 1048 + // method line 1023 .method private hidebysig instance default class NDesk.DBus.Message ReadMessageReal () cil managed { - // Method begins at RVA 0x9c6c + // Method begins at RVA 0x91d8 // Code size 564 (0x234) .maxstack 4 .locals init ( @@ -30392,11 +29476,11 @@ IL_0233: ret } // end of method Transport::ReadMessageReal - // method line 1049 + // method line 1024 .method assembly virtual hidebysig newslot instance default void WriteMessage (class NDesk.DBus.Message msg) cil managed { - // Method begins at RVA 0x9eac + // Method begins at RVA 0x9418 // Code size 106 (0x6a) .maxstack 4 .locals init ( @@ -30498,13 +29582,13 @@ .field assembly bool $disposing .field assembly int32 $PC - // method line 1336 + // method line 1346 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - // Method begins at RVA 0x9f34 + // Method begins at RVA 0x94a0 // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 @@ -30512,11 +29596,11 @@ IL_0006: ret } // end of method c__Iterator0::.ctor - // method line 1337 + // method line 1347 .method public final virtual hidebysig newslot instance default bool MoveNext () cil managed { - // Method begins at RVA 0x9f3c + // Method begins at RVA 0x94a8 // Code size 971 (0x3cb) .maxstack 5 .locals init ( @@ -30856,13 +29940,13 @@ IL_03ca: ret } // end of method c__Iterator0::MoveNext - // method line 1338 + // method line 1348 .method private final virtual hidebysig newslot specialname instance default valuetype NDesk.DBus.Transports.Transport/MsgState 'System.Collections.Generic.IEnumerator.get_Current' () cil managed { .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - // Method begins at RVA 0xa313 + // Method begins at RVA 0x987f .override method instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() // Code size 7 (0x7) .maxstack 8 @@ -30871,13 +29955,13 @@ IL_0006: ret } // end of method c__Iterator0::System.Collections.Generic.IEnumerator.get_Current - // method line 1339 + // method line 1349 .method private final virtual hidebysig newslot specialname instance default object System.Collections.IEnumerator.get_Current () cil managed { .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - // Method begins at RVA 0xa31b + // Method begins at RVA 0x9887 .override class [mscorlib]System.Collections.IEnumerator::get_Current // Code size 12 (0xc) .maxstack 8 @@ -30887,13 +29971,13 @@ IL_000b: ret } // end of method c__Iterator0::System.Collections.IEnumerator.get_Current - // method line 1340 + // method line 1350 .method public final virtual hidebysig newslot instance default void Dispose () cil managed { .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - // Method begins at RVA 0xa328 + // Method begins at RVA 0x9894 // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 @@ -30905,13 +29989,13 @@ IL_000e: ret } // end of method c__Iterator0::Dispose - // method line 1341 + // method line 1351 .method public final virtual hidebysig newslot instance default void Reset () cil managed { .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - // Method begins at RVA 0xa338 + // Method begins at RVA 0x98a4 // Code size 6 (0x6) .maxstack 8 IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() @@ -30933,7268 +30017,6991 @@ .namespace NDesk.DBus { - .class private sequential ansi sealed beforefieldinit UUID - extends [mscorlib]System.ValueType + .class public auto ansi sealed VoidHandler + extends [mscorlib]System.MulticastDelegate { - .field private int32 a - .field private int32 b - .field private int32 c - .field private int32 d - .field private static literal int32 ByteLength = int32(0x00000010) - .field public static initonly valuetype NDesk.DBus.UUID Zero - .field private static class [mscorlib]System.Random rand - .field private static unsigned int8[] buf - // method line 1050 - .method public static hidebysig specialname - default bool op_Equality (valuetype NDesk.DBus.UUID a, valuetype NDesk.DBus.UUID b) cil managed + // method line 1025 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (object 'object', native int 'method') runtime managed { - // Method begins at RVA 0xe650 - // Code size 80 (0x50) - .maxstack 2 - IL_0000: ldarga.s 0 - IL_0002: ldfld int32 NDesk.DBus.UUID::a - IL_0007: ldarga.s 1 - IL_0009: ldfld int32 NDesk.DBus.UUID::a - IL_000e: bne.un IL_004e + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method VoidHandler::.ctor - IL_0013: ldarga.s 0 - IL_0015: ldfld int32 NDesk.DBus.UUID::b - IL_001a: ldarga.s 1 - IL_001c: ldfld int32 NDesk.DBus.UUID::b - IL_0021: bne.un IL_004e + // method line 1026 + .method public virtual hidebysig newslot + instance default void Invoke () runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method VoidHandler::Invoke - IL_0026: ldarga.s 0 - IL_0028: ldfld int32 NDesk.DBus.UUID::c - IL_002d: ldarga.s 1 - IL_002f: ldfld int32 NDesk.DBus.UUID::c - IL_0034: bne.un IL_004e + // method line 1027 + .method public virtual hidebysig newslot + instance default class [mscorlib]System.IAsyncResult BeginInvoke (class [mscorlib]System.AsyncCallback callback, object 'object') runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method VoidHandler::BeginInvoke - IL_0039: ldarga.s 0 - IL_003b: ldfld int32 NDesk.DBus.UUID::d - IL_0040: ldarga.s 1 - IL_0042: ldfld int32 NDesk.DBus.UUID::d - IL_0047: bne.un IL_004e + // method line 1028 + .method public virtual hidebysig newslot + instance default void EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method VoidHandler::EndInvoke - IL_004c: ldc.i4.1 - IL_004d: ret - IL_004e: ldc.i4.0 - IL_004f: ret - } // end of method UUID::op_Equality + } // end of class NDesk.DBus.VoidHandler +} - // method line 1051 - .method public static hidebysig specialname - default bool op_Inequality (valuetype NDesk.DBus.UUID a, valuetype NDesk.DBus.UUID b) cil managed +.namespace NDesk.DBus +{ + .class private auto ansi Connection + extends [mscorlib]System.Object + { + .field private class NDesk.DBus.Transports.Transport transport + .field assembly bool isConnected + .field assembly bool isShared + .field assembly valuetype NDesk.DBus.UUID Id + .field assembly bool isAuthenticated + .field private int32 serial + .field private class [mscorlib]System.Collections.Generic.Queue`1 Inbound + .field assembly class [mscorlib]System.Threading.Thread mainThread + .field private class [mscorlib]System.Collections.Generic.Dictionary`2 pendingCalls + .field assembly class [mscorlib]System.Collections.Generic.Dictionary`2 Handlers + .field private class [mscorlib]System.Collections.Generic.Dictionary`2 RegisteredObjects + .field private static literal string machineUuidFilename = "/var/lib/dbus/machine-id" + .field private static valuetype [mscorlib]System.Nullable`1 machineId + .field private static object idReadLock + .field assembly static initonly valuetype NDesk.DBus.EndianFlag NativeEndianness + + // method line 1029 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xe6ac - // Code size 11 (0xb) - .maxstack 8 + // Method begins at RVA 0xe150 + // Code size 73 (0x49) + .maxstack 2 IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call bool valuetype NDesk.DBus.UUID::op_Equality(valuetype NDesk.DBus.UUID, valuetype NDesk.DBus.UUID) - IL_0007: ldc.i4.0 - IL_0008: ceq - IL_000a: ret - } // end of method UUID::op_Inequality + IL_0001: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero + IL_0006: stfld valuetype NDesk.DBus.UUID NDesk.DBus.Connection::Id + IL_000b: ldarg.0 + IL_000c: newobj instance void class [mscorlib]System.Collections.Generic.Queue`1::'.ctor'() + IL_0011: stfld class [mscorlib]System.Collections.Generic.Queue`1 NDesk.DBus.Connection::Inbound + IL_0016: ldarg.0 + IL_0017: call class [mscorlib]System.Threading.Thread class [mscorlib]System.Threading.Thread::get_CurrentThread() + IL_001c: stfld class [mscorlib]System.Threading.Thread NDesk.DBus.Connection::mainThread + IL_0021: ldarg.0 + IL_0022: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() + IL_0027: stfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::pendingCalls + IL_002c: ldarg.0 + IL_002d: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() + IL_0032: stfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers + IL_0037: ldarg.0 + IL_0038: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() + IL_003d: stfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::RegisteredObjects + IL_0042: ldarg.0 + IL_0043: call instance void object::'.ctor'() + IL_0048: ret + } // end of method Connection::.ctor - // method line 1052 - .method public virtual hidebysig - instance default bool Equals (object o) cil managed + // method line 1030 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NDesk.DBus.Transports.Transport transport) cil managed { - // Method begins at RVA 0xe6b8 - // Code size 39 (0x27) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: brtrue IL_0008 - - IL_0006: ldc.i4.0 - IL_0007: ret - IL_0008: ldarg.1 - IL_0009: isinst NDesk.DBus.UUID - IL_000e: brtrue IL_0015 - - IL_0013: ldc.i4.0 - IL_0014: ret - IL_0015: ldarg.0 - IL_0016: ldobj NDesk.DBus.UUID - IL_001b: ldarg.1 - IL_001c: unbox.any NDesk.DBus.UUID - IL_0021: call bool valuetype NDesk.DBus.UUID::op_Equality(valuetype NDesk.DBus.UUID, valuetype NDesk.DBus.UUID) - IL_0026: ret - } // end of method UUID::Equals + // Method begins at RVA 0xe1a8 + // Code size 87 (0x57) + .maxstack 2 + IL_0000: ldarg.0 + IL_0001: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero + IL_0006: stfld valuetype NDesk.DBus.UUID NDesk.DBus.Connection::Id + IL_000b: ldarg.0 + IL_000c: newobj instance void class [mscorlib]System.Collections.Generic.Queue`1::'.ctor'() + IL_0011: stfld class [mscorlib]System.Collections.Generic.Queue`1 NDesk.DBus.Connection::Inbound + IL_0016: ldarg.0 + IL_0017: call class [mscorlib]System.Threading.Thread class [mscorlib]System.Threading.Thread::get_CurrentThread() + IL_001c: stfld class [mscorlib]System.Threading.Thread NDesk.DBus.Connection::mainThread + IL_0021: ldarg.0 + IL_0022: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() + IL_0027: stfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::pendingCalls + IL_002c: ldarg.0 + IL_002d: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() + IL_0032: stfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers + IL_0037: ldarg.0 + IL_0038: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() + IL_003d: stfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::RegisteredObjects + IL_0042: ldarg.0 + IL_0043: call instance void object::'.ctor'() + IL_0048: ldarg.0 + IL_0049: ldarg.1 + IL_004a: stfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport + IL_004f: ldarg.1 + IL_0050: ldarg.0 + IL_0051: callvirt instance void class NDesk.DBus.Transports.Transport::set_Connection(class NDesk.DBus.Connection) + IL_0056: ret + } // end of method Connection::.ctor - // method line 1053 - .method public virtual hidebysig - instance default int32 GetHashCode () cil managed + // method line 1031 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (string address) cil managed { - // Method begins at RVA 0xe6e0 - // Code size 28 (0x1c) - .maxstack 8 + // Method begins at RVA 0xe20c + // Code size 86 (0x56) + .maxstack 2 IL_0000: ldarg.0 - IL_0001: ldfld int32 NDesk.DBus.UUID::a - IL_0006: ldarg.0 - IL_0007: ldfld int32 NDesk.DBus.UUID::b - IL_000c: xor - IL_000d: ldarg.0 - IL_000e: ldfld int32 NDesk.DBus.UUID::c - IL_0013: xor - IL_0014: ldarg.0 - IL_0015: ldfld int32 NDesk.DBus.UUID::d - IL_001a: xor - IL_001b: ret - } // end of method UUID::GetHashCode + IL_0001: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero + IL_0006: stfld valuetype NDesk.DBus.UUID NDesk.DBus.Connection::Id + IL_000b: ldarg.0 + IL_000c: newobj instance void class [mscorlib]System.Collections.Generic.Queue`1::'.ctor'() + IL_0011: stfld class [mscorlib]System.Collections.Generic.Queue`1 NDesk.DBus.Connection::Inbound + IL_0016: ldarg.0 + IL_0017: call class [mscorlib]System.Threading.Thread class [mscorlib]System.Threading.Thread::get_CurrentThread() + IL_001c: stfld class [mscorlib]System.Threading.Thread NDesk.DBus.Connection::mainThread + IL_0021: ldarg.0 + IL_0022: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() + IL_0027: stfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::pendingCalls + IL_002c: ldarg.0 + IL_002d: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() + IL_0032: stfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers + IL_0037: ldarg.0 + IL_0038: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() + IL_003d: stfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::RegisteredObjects + IL_0042: ldarg.0 + IL_0043: call instance void object::'.ctor'() + IL_0048: ldarg.0 + IL_0049: ldarg.1 + IL_004a: call instance void class NDesk.DBus.Connection::OpenPrivate(string) + IL_004f: ldarg.0 + IL_0050: call instance void class NDesk.DBus.Connection::Authenticate() + IL_0055: ret + } // end of method Connection::.ctor - // method line 1054 - .method public virtual hidebysig - instance default string ToString () cil managed + // method line 1032 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed { - // Method begins at RVA 0xe700 - // Code size 72 (0x48) - .maxstack 4 + // Method begins at RVA 0xe270 + // Code size 54 (0x36) + .maxstack 1 .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - int32& pinned V_1, - unsigned int8* V_2, - int32 V_3) - IL_0000: ldc.i4.s 0x20 - IL_0002: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(int32) - IL_0007: stloc.0 - IL_0008: ldarg.0 - IL_0009: ldflda int32 NDesk.DBus.UUID::a - IL_000e: stloc.1 - IL_000f: ldloc.1 - IL_0010: stloc.2 - IL_0011: ldc.i4.0 - IL_0012: stloc.3 - IL_0013: br IL_0036 + valuetype [mscorlib]System.Nullable`1 V_0) + IL_0000: ldloca.s 0 + IL_0002: initobj valuetype [mscorlib]System.Nullable`1 + IL_0008: ldloc.0 + IL_0009: stsfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.Connection::machineId + IL_000e: newobj instance void object::'.ctor'() + IL_0013: stsfld object NDesk.DBus.Connection::idReadLock + IL_0018: ldsfld bool [mscorlib]System.BitConverter::IsLittleEndian + IL_001d: brfalse IL_002e - IL_0018: ldloc.0 - IL_0019: ldloc.2 - IL_001a: ldloc.3 - IL_001b: conv.i - IL_001c: add - IL_001d: ldstr "x2" - IL_0022: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0027: call instance string unsigned int8::ToString(string, class [mscorlib]System.IFormatProvider) - IL_002c: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0031: pop - IL_0032: ldloc.3 - IL_0033: ldc.i4.1 - IL_0034: add - IL_0035: stloc.3 - IL_0036: ldloc.3 - IL_0037: ldc.i4.s 0x10 - IL_0039: bne.un IL_0018 + IL_0022: ldc.i4.s 0x6c + IL_0024: stsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness + IL_0029: br IL_0035 - IL_003e: ldc.i4.0 - IL_003f: conv.u - IL_0040: stloc.1 - IL_0041: ldloc.0 - IL_0042: callvirt instance string object::ToString() - IL_0047: ret - } // end of method UUID::ToString + IL_002e: ldc.i4.s 0x42 + IL_0030: stsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness + IL_0035: ret + } // end of method Connection::.cctor - // method line 1055 - .method public static hidebysig - default valuetype NDesk.DBus.UUID Parse (string hex) cil managed + // method line 1033 + .method public hidebysig + instance default object GetObject (string bus_name, class NDesk.DBus.ObjectPath path) cil managed { - // Method begins at RVA 0xe754 - // Code size 112 (0x70) - .maxstack 6 + // Method begins at RVA 0xe2b4 + // Code size 78 (0x4e) + .maxstack 4 .locals init ( - valuetype NDesk.DBus.UUID V_0, - unsigned int8* V_1, - int32 V_2, - int32 V_3) + class org.freedesktop.DBus.Introspectable V_0, + string V_1, + class [mscorlib]System.IO.StringReader V_2, + class [System.Xml]System.Xml.Serialization.XmlSerializer V_3, + class NDesk.DBus.Introspection.Node V_4, + class [mscorlib]System.Type V_5) IL_0000: ldarg.0 - IL_0001: callvirt instance int32 string::get_Length() - IL_0006: ldc.i4.s 0x20 - IL_0008: beq IL_0018 - - IL_000d: ldstr "Cannot parse UUID/GUID of invalid length" - IL_0012: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0017: throw - IL_0018: ldloca.s 0 - IL_001a: initobj NDesk.DBus.UUID - IL_0020: ldloca.s 0 - IL_0022: ldflda int32 NDesk.DBus.UUID::a - IL_0027: stloc.1 - IL_0028: ldc.i4.0 - IL_0029: stloc.2 - IL_002a: ldc.i4.0 - IL_002b: stloc.3 - IL_002c: br IL_0066 - - IL_0031: ldloc.1 - IL_0032: ldloc.2 - IL_0033: conv.i - IL_0034: add - IL_0035: ldarg.0 - IL_0036: ldloc.3 - IL_0037: dup - IL_0038: ldc.i4.1 - IL_0039: add - IL_003a: stloc.3 - IL_003b: callvirt instance char string::get_Chars(int32) - IL_0040: call unsigned int8 class NDesk.DBus.Authentication.Sasl::FromHexChar(char) - IL_0045: ldc.i4.4 - IL_0046: shl - IL_0047: conv.u1 - IL_0048: stind.i1 - IL_0049: ldloc.1 - IL_004a: ldloc.2 - IL_004b: dup - IL_004c: ldc.i4.1 - IL_004d: add - IL_004e: stloc.2 - IL_004f: conv.i - IL_0050: add - IL_0051: dup - IL_0052: ldind.u1 - IL_0053: ldarg.0 - IL_0054: ldloc.3 - IL_0055: dup - IL_0056: ldc.i4.1 - IL_0057: add - IL_0058: stloc.3 - IL_0059: callvirt instance char string::get_Chars(int32) - IL_005e: call unsigned int8 class NDesk.DBus.Authentication.Sasl::FromHexChar(char) - IL_0063: add - IL_0064: conv.u1 - IL_0065: stind.i1 - IL_0066: ldloc.2 - IL_0067: ldc.i4.s 0x10 - IL_0069: blt IL_0031 - - IL_006e: ldloc.0 - IL_006f: ret - } // end of method UUID::Parse + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance !!0 class NDesk.DBus.Connection::GetObject (string, class NDesk.DBus.ObjectPath) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: callvirt instance string class org.freedesktop.DBus.Introspectable::Introspect() + IL_000f: stloc.1 + IL_0010: ldloc.1 + IL_0011: newobj instance void class [mscorlib]System.IO.StringReader::'.ctor'(string) + IL_0016: stloc.2 + IL_0017: ldtoken NDesk.DBus.Introspection.Node + IL_001c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0021: newobj instance void class [System.Xml]System.Xml.Serialization.XmlSerializer::'.ctor'(class [mscorlib]System.Type) + IL_0026: stloc.3 + IL_0027: ldloc.3 + IL_0028: ldloc.2 + IL_0029: callvirt instance object class [System.Xml]System.Xml.Serialization.XmlSerializer::Deserialize(class [mscorlib]System.IO.TextReader) + IL_002e: castclass NDesk.DBus.Introspection.Node + IL_0033: stloc.s 4 + IL_0035: ldloc.s 4 + IL_0037: ldfld class NDesk.DBus.Introspection.Interface[] NDesk.DBus.Introspection.Node::Interfaces + IL_003c: call class [mscorlib]System.Type class NDesk.DBus.TypeDefiner::Define(class NDesk.DBus.Introspection.Interface[]) + IL_0041: stloc.s 5 + IL_0043: ldarg.0 + IL_0044: ldloc.s 5 + IL_0046: ldarg.1 + IL_0047: ldarg.2 + IL_0048: call instance object class NDesk.DBus.Connection::GetObject(class [mscorlib]System.Type, string, class NDesk.DBus.ObjectPath) + IL_004d: ret + } // end of method Connection::GetObject - // method line 1056 - .method public static hidebysig - default valuetype NDesk.DBus.UUID Generate (valuetype [mscorlib]System.DateTime timestamp) cil managed + // method line 1034 + .method family virtual hidebysig + instance default void Finalize () cil managed { - // Method begins at RVA 0xe7d0 - // Code size 116 (0x74) - .maxstack 3 - .locals init ( - valuetype NDesk.DBus.UUID V_0, - object V_1, - bool V_2, - unsigned int8& pinned V_3, - int32* V_4) - IL_0000: ldloca.s 0 - IL_0002: initobj NDesk.DBus.UUID - IL_0008: ldsfld unsigned int8[] NDesk.DBus.UUID::buf - IL_000d: stloc.1 - IL_000e: ldc.i4.0 - IL_000f: stloc.2 + // Method begins at RVA 0xe310 + // Code size 28 (0x1c) + .maxstack 1 .try { // 0 - IL_0010: ldloc.1 - IL_0011: ldloca.s 2 - IL_0013: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) - IL_0018: ldsfld class [mscorlib]System.Random NDesk.DBus.UUID::rand - IL_001d: ldsfld unsigned int8[] NDesk.DBus.UUID::buf - IL_0022: callvirt instance void class [mscorlib]System.Random::NextBytes(unsigned int8[]) - IL_0027: ldsfld unsigned int8[] NDesk.DBus.UUID::buf - IL_002c: ldc.i4.0 - IL_002d: ldelema [mscorlib]System.Byte - IL_0032: stloc.3 - IL_0033: ldloc.3 - IL_0034: stloc.s 4 - IL_0036: ldloca.s 0 - IL_0038: ldloc.s 4 - IL_003a: ldind.i4 - IL_003b: stfld int32 NDesk.DBus.UUID::a - IL_0040: ldloca.s 0 - IL_0042: ldloc.s 4 - IL_0044: ldc.i4.4 - IL_0045: add - IL_0046: ldind.i4 - IL_0047: stfld int32 NDesk.DBus.UUID::b - IL_004c: ldloca.s 0 - IL_004e: ldloc.s 4 - IL_0050: ldc.i4.8 - IL_0051: add - IL_0052: ldind.i4 - IL_0053: stfld int32 NDesk.DBus.UUID::c - IL_0058: ldc.i4.0 - IL_0059: conv.u - IL_005a: stloc.3 - IL_005b: leave IL_006a + IL_0000: ldsfld bool NDesk.DBus.Protocol::Verbose + IL_0005: brfalse IL_000f + + IL_000a: call void class NDesk.DBus.TypeDefiner::Save() + IL_000f: leave IL_001b } // end .try 0 finally { // 0 - IL_0060: ldloc.2 - IL_0061: brfalse.s IL_0069 - - IL_0063: ldloc.1 - IL_0064: call void class [mscorlib]System.Threading.Monitor::Exit(object) - IL_0069: endfinally + IL_0014: ldarg.0 + IL_0015: call instance void object::Finalize() + IL_001a: endfinally } // end handler 0 - IL_006a: ldloca.s 0 - IL_006c: ldarg.0 - IL_006d: call instance void valuetype NDesk.DBus.UUID::set_Timestamp(valuetype [mscorlib]System.DateTime) - IL_0072: ldloc.0 - IL_0073: ret - } // end of method UUID::Generate + IL_001b: ret + } // end of method Connection::Finalize - // method line 1057 - .method public static hidebysig - default valuetype NDesk.DBus.UUID Generate () cil managed + // method line 1035 + .method assembly hidebysig specialname + instance default class NDesk.DBus.Transports.Transport get_Transport () cil managed { - // Method begins at RVA 0xe860 - // Code size 11 (0xb) + // Method begins at RVA 0xe348 + // Code size 7 (0x7) .maxstack 8 - IL_0000: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now() - IL_0005: call valuetype NDesk.DBus.UUID valuetype NDesk.DBus.UUID::Generate(valuetype [mscorlib]System.DateTime) - IL_000a: ret - } // end of method UUID::Generate - - // method line 1058 - .method public hidebysig specialname - instance default unsigned int32 get_UnixTimestamp () cil managed - { - // Method begins at RVA 0xe86c - // Code size 63 (0x3f) - .maxstack 3 - .locals init ( - unsigned int32 V_0, - int32& pinned V_1, - unsigned int8* V_2, - unsigned int8* V_3) IL_0000: ldarg.0 - IL_0001: ldflda int32 NDesk.DBus.UUID::d - IL_0006: stloc.1 - IL_0007: ldsfld bool [mscorlib]System.BitConverter::IsLittleEndian - IL_000c: brfalse IL_0037 - - IL_0011: ldloc.1 - IL_0012: stloc.2 - IL_0013: ldloca.s 0 - IL_0015: stloc.3 - IL_0016: ldloc.3 - IL_0017: ldloc.2 - IL_0018: ldc.i4.3 - IL_0019: add - IL_001a: ldind.u1 - IL_001b: stind.i1 - IL_001c: ldloc.3 - IL_001d: ldc.i4.1 - IL_001e: add - IL_001f: ldloc.2 - IL_0020: ldc.i4.2 - IL_0021: add - IL_0022: ldind.u1 - IL_0023: stind.i1 - IL_0024: ldloc.3 - IL_0025: ldc.i4.2 - IL_0026: add - IL_0027: ldloc.2 - IL_0028: ldc.i4.1 - IL_0029: add - IL_002a: ldind.u1 - IL_002b: stind.i1 - IL_002c: ldloc.3 - IL_002d: ldc.i4.3 - IL_002e: add - IL_002f: ldloc.2 - IL_0030: ldind.u1 - IL_0031: stind.i1 - IL_0032: br IL_003a - - IL_0037: ldloc.1 - IL_0038: ldind.u4 - IL_0039: stloc.0 - IL_003a: ldc.i4.0 - IL_003b: conv.u - IL_003c: stloc.1 - IL_003d: ldloc.0 - IL_003e: ret - } // end of method UUID::get_UnixTimestamp - - // method line 1059 - .method public hidebysig specialname - instance default void set_UnixTimestamp (unsigned int32 'value') cil managed - { - // Method begins at RVA 0xe8b8 - // Code size 64 (0x40) - .maxstack 3 - .locals init ( - unsigned int32 V_0, - int32& pinned V_1, - unsigned int8* V_2, - unsigned int8* V_3) - IL_0000: ldarg.1 - IL_0001: stloc.0 - IL_0002: ldarg.0 - IL_0003: ldflda int32 NDesk.DBus.UUID::d - IL_0008: stloc.1 - IL_0009: ldsfld bool [mscorlib]System.BitConverter::IsLittleEndian - IL_000e: brfalse IL_0039 - - IL_0013: ldloca.s 0 - IL_0015: stloc.2 - IL_0016: ldloc.1 - IL_0017: stloc.3 - IL_0018: ldloc.3 - IL_0019: ldloc.2 - IL_001a: ldc.i4.3 - IL_001b: add - IL_001c: ldind.u1 - IL_001d: stind.i1 - IL_001e: ldloc.3 - IL_001f: ldc.i4.1 - IL_0020: add - IL_0021: ldloc.2 - IL_0022: ldc.i4.2 - IL_0023: add - IL_0024: ldind.u1 - IL_0025: stind.i1 - IL_0026: ldloc.3 - IL_0027: ldc.i4.2 - IL_0028: add - IL_0029: ldloc.2 - IL_002a: ldc.i4.1 - IL_002b: add - IL_002c: ldind.u1 - IL_002d: stind.i1 - IL_002e: ldloc.3 - IL_002f: ldc.i4.3 - IL_0030: add - IL_0031: ldloc.2 - IL_0032: ldind.u1 - IL_0033: stind.i1 - IL_0034: br IL_003c - - IL_0039: ldloc.1 - IL_003a: ldloc.0 - IL_003b: stind.i4 - IL_003c: ldc.i4.0 - IL_003d: conv.u - IL_003e: stloc.1 - IL_003f: ret - } // end of method UUID::set_UnixTimestamp + IL_0001: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport + IL_0006: ret + } // end of method Connection::get_Transport - // method line 1060 - .method public hidebysig specialname - instance default valuetype [mscorlib]System.DateTime get_Timestamp () cil managed + // method line 1036 + .method assembly hidebysig specialname + instance default void set_Transport (class NDesk.DBus.Transports.Transport 'value') cil managed { - // Method begins at RVA 0xe904 - // Code size 13 (0xd) + // Method begins at RVA 0xe350 + // Code size 20 (0x14) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance unsigned int32 valuetype NDesk.DBus.UUID::get_UnixTimestamp() - IL_0006: conv.u8 - IL_0007: call valuetype [mscorlib]System.DateTime class NDesk.DBus.Authentication.Sasl::UnixToDateTime(int64) - IL_000c: ret - } // end of method UUID::get_Timestamp + IL_0001: ldarg.1 + IL_0002: stfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport + IL_0007: ldarg.0 + IL_0008: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport + IL_000d: ldarg.0 + IL_000e: callvirt instance void class NDesk.DBus.Transports.Transport::set_Connection(class NDesk.DBus.Connection) + IL_0013: ret + } // end of method Connection::set_Transport - // method line 1061 + // method line 1037 .method public hidebysig specialname - instance default void set_Timestamp (valuetype [mscorlib]System.DateTime 'value') cil managed + instance default bool get_IsConnected () cil managed { - // Method begins at RVA 0xe912 - // Code size 14 (0xe) + // Method begins at RVA 0xe365 + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call int64 class NDesk.DBus.Authentication.Sasl::DateTimeToUnix(valuetype [mscorlib]System.DateTime) - IL_0007: conv.u4 - IL_0008: call instance void valuetype NDesk.DBus.UUID::set_UnixTimestamp(unsigned int32) - IL_000d: ret - } // end of method UUID::set_Timestamp + IL_0001: ldfld bool NDesk.DBus.Connection::isConnected + IL_0006: ret + } // end of method Connection::get_IsConnected - // method line 1062 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + // method line 1038 + .method public hidebysig + instance default void Close () cil managed { - // Method begins at RVA 0xe924 - // Code size 37 (0x25) - .maxstack 1 - .locals init ( - valuetype NDesk.DBus.UUID V_0) - IL_0000: ldloca.s 0 - IL_0002: initobj NDesk.DBus.UUID - IL_0008: ldloc.0 - IL_0009: stsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero - IL_000e: newobj instance void class [mscorlib]System.Random::'.ctor'() - IL_0013: stsfld class [mscorlib]System.Random NDesk.DBus.UUID::rand - IL_0018: ldc.i4.s 0x0c - IL_001a: newarr [mscorlib]System.Byte - IL_001f: stsfld unsigned int8[] NDesk.DBus.UUID::buf - IL_0024: ret - } // end of method UUID::.cctor - - .property instance unsigned int32 UnixTimestamp () - { - .get instance default unsigned int32 NDesk.DBus.UUID::get_UnixTimestamp () - .set instance default void NDesk.DBus.UUID::set_UnixTimestamp (unsigned int32 'value') - } - .property instance valuetype [mscorlib]System.DateTime Timestamp () - { - .get instance default valuetype [mscorlib]System.DateTime NDesk.DBus.UUID::get_Timestamp () - .set instance default void NDesk.DBus.UUID::set_Timestamp (valuetype [mscorlib]System.DateTime 'value') - } - } // end of class NDesk.DBus.UUID -} + // Method begins at RVA 0xe36d + // Code size 53 (0x35) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld bool NDesk.DBus.Connection::isShared + IL_0006: brfalse IL_0016 -.namespace NDesk.DBus.Authentication -{ - .class private auto ansi sealed ClientState - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NDesk.DBus.Authentication.ClientState WaitingForData = int32(0x00000000) - .field public static literal valuetype NDesk.DBus.Authentication.ClientState WaitingForOK = int32(0x00000001) - .field public static literal valuetype NDesk.DBus.Authentication.ClientState WaitingForReject = int32(0x00000002) + IL_000b: ldstr "Cannot disconnect a shared Connection" + IL_0010: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0015: throw + IL_0016: ldarg.0 + IL_0017: call instance bool class NDesk.DBus.Connection::get_IsConnected() + IL_001c: brtrue IL_0022 - } // end of class NDesk.DBus.Authentication.ClientState -} + IL_0021: ret + IL_0022: ldarg.0 + IL_0023: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport + IL_0028: callvirt instance void class NDesk.DBus.Transports.Transport::Disconnect() + IL_002d: ldarg.0 + IL_002e: ldc.i4.0 + IL_002f: stfld bool NDesk.DBus.Connection::isConnected + IL_0034: ret + } // end of method Connection::Close -.namespace NDesk.DBus.Authentication -{ - .class private auto ansi sealed ServerState - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NDesk.DBus.Authentication.ServerState WaitingForAuth = int32(0x00000000) - .field public static literal valuetype NDesk.DBus.Authentication.ServerState WaitingForData = int32(0x00000001) - .field public static literal valuetype NDesk.DBus.Authentication.ServerState WaitingForBegin = int32(0x00000002) + // method line 1039 + .method public static hidebysig + default class NDesk.DBus.Connection Open (string address) cil managed + { + // Method begins at RVA 0xe3a4 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + class NDesk.DBus.Connection V_0) + IL_0000: newobj instance void class NDesk.DBus.Connection::'.ctor'() + IL_0005: stloc.0 + IL_0006: ldloc.0 + IL_0007: ldarg.0 + IL_0008: callvirt instance void class NDesk.DBus.Connection::OpenPrivate(string) + IL_000d: ldloc.0 + IL_000e: callvirt instance void class NDesk.DBus.Connection::Authenticate() + IL_0013: ldloc.0 + IL_0014: ret + } // end of method Connection::Open - } // end of class NDesk.DBus.Authentication.ServerState -} + // method line 1040 + .method assembly hidebysig + instance default void OpenPrivate (string address) cil managed + { + // Method begins at RVA 0xe3c8 + // Code size 79 (0x4f) + .maxstack 2 + .locals init ( + class NDesk.DBus.AddressEntry[] V_0, + class NDesk.DBus.AddressEntry V_1) + IL_0000: ldarg.1 + IL_0001: brtrue IL_0011 -.namespace NDesk.DBus.Authentication -{ - .class private auto ansi beforefieldinit AuthCommand - extends [mscorlib]System.Object - { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + IL_0006: ldstr "address" + IL_000b: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0010: throw + IL_0011: ldarg.1 + IL_0012: call class NDesk.DBus.AddressEntry[] class NDesk.DBus.Address::Parse(string) + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldlen + IL_001a: conv.i4 + IL_001b: brtrue IL_002b - .field private initonly class [mscorlib]System.Collections.Generic.List`1 Args - .field public initonly string Value + IL_0020: ldstr "No addresses were found" + IL_0025: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_002a: throw + IL_002b: ldloc.0 + IL_002c: ldc.i4.0 + IL_002d: ldelem.ref + IL_002e: stloc.1 + IL_002f: ldarg.0 + IL_0030: ldloc.1 + IL_0031: ldfld valuetype NDesk.DBus.UUID NDesk.DBus.AddressEntry::GUID + IL_0036: stfld valuetype NDesk.DBus.UUID NDesk.DBus.Connection::Id + IL_003b: ldarg.0 + IL_003c: ldloc.1 + IL_003d: call class NDesk.DBus.Transports.Transport class NDesk.DBus.Transports.Transport::Create(class NDesk.DBus.AddressEntry) + IL_0042: call instance void class NDesk.DBus.Connection::set_Transport(class NDesk.DBus.Transports.Transport) + IL_0047: ldarg.0 + IL_0048: ldc.i4.1 + IL_0049: stfld bool NDesk.DBus.Connection::isConnected + IL_004e: ret + } // end of method Connection::OpenPrivate - // method line 1063 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string 'value') cil managed + // method line 1041 + .method private hidebysig + instance default void Authenticate () cil managed { - // Method begins at RVA 0xe955 - // Code size 63 (0x3f) - .maxstack 8 + // Method begins at RVA 0xe424 + // Code size 224 (0xe0) + .maxstack 2 + .locals init ( + class NDesk.DBus.Authentication.SaslClient V_0) IL_0000: ldarg.0 - IL_0001: newobj instance void class [mscorlib]System.Collections.Generic.List`1::'.ctor'() - IL_0006: stfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.Authentication.AuthCommand::Args + IL_0001: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport + IL_0006: brfalse IL_0016 + IL_000b: ldarg.0 - IL_000c: call instance void object::'.ctor'() - IL_0011: ldarg.0 - IL_0012: ldarg.1 - IL_0013: callvirt instance string string::Trim() - IL_0018: stfld string NDesk.DBus.Authentication.AuthCommand::Value + IL_000c: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport + IL_0011: callvirt instance void class NDesk.DBus.Transports.Transport::WriteCred() + IL_0016: newobj instance void class NDesk.DBus.Authentication.SaslClient::'.ctor'() + IL_001b: stloc.0 + IL_001c: ldloc.0 IL_001d: ldarg.0 - IL_001e: ldfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.Authentication.AuthCommand::Args - IL_0023: ldarg.0 - IL_0024: ldfld string NDesk.DBus.Authentication.AuthCommand::Value - IL_0029: ldc.i4.1 - IL_002a: newarr [mscorlib]System.Char - IL_002f: dup - IL_0030: ldc.i4.0 - IL_0031: ldc.i4.s 0x20 - IL_0033: stelem.i2 - IL_0034: callvirt instance string[] string::Split(char[]) - IL_0039: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::AddRange(class [mscorlib]System.Collections.Generic.IEnumerable`1) - IL_003e: ret - } // end of method AuthCommand::.ctor + IL_001e: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport + IL_0023: callvirt instance string class NDesk.DBus.Transports.Transport::AuthString() + IL_0028: stfld string NDesk.DBus.Authentication.SaslClient::Identity + IL_002d: ldloc.0 + IL_002e: ldarg.0 + IL_002f: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport + IL_0034: ldfld class [mscorlib]System.IO.Stream NDesk.DBus.Transports.Transport::Stream + IL_0039: stfld class [mscorlib]System.IO.Stream NDesk.DBus.Authentication.SaslPeer::'stream' + IL_003e: ldloc.0 + IL_003f: newobj instance void class NDesk.DBus.Authentication.SaslPeer::'.ctor'() + IL_0044: stfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer::Peer + IL_0049: ldloc.0 + IL_004a: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer::Peer + IL_004f: ldloc.0 + IL_0050: stfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer::Peer + IL_0055: ldloc.0 + IL_0056: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer::Peer + IL_005b: ldarg.0 + IL_005c: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport + IL_0061: ldfld class [mscorlib]System.IO.Stream NDesk.DBus.Transports.Transport::Stream + IL_0066: stfld class [mscorlib]System.IO.Stream NDesk.DBus.Authentication.SaslPeer::'stream' + IL_006b: ldloc.0 + IL_006c: callvirt instance bool class NDesk.DBus.Authentication.SaslPeer::Authenticate() + IL_0071: brtrue IL_0081 - // method line 1064 - .method public hidebysig specialname - instance default string get_Item (int32 index) cil managed - { - // Method begins at RVA 0xe995 - // Code size 36 (0x24) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.Authentication.AuthCommand::Args - IL_0007: callvirt instance int32 class [mscorlib]System.Collections.Generic.List`1::get_Count() - IL_000c: blt IL_0017 + IL_0076: ldstr "Authentication failure" + IL_007b: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0080: throw + IL_0081: ldarg.0 + IL_0082: ldfld valuetype NDesk.DBus.UUID NDesk.DBus.Connection::Id + IL_0087: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero + IL_008c: call bool valuetype NDesk.DBus.UUID::op_Inequality(valuetype NDesk.DBus.UUID, valuetype NDesk.DBus.UUID) + IL_0091: brfalse IL_00b7 - IL_0011: ldsfld string [mscorlib]System.String::Empty - IL_0016: ret - IL_0017: ldarg.0 - IL_0018: ldfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.Authentication.AuthCommand::Args - IL_001d: ldarg.1 - IL_001e: callvirt instance !0 class [mscorlib]System.Collections.Generic.List`1::get_Item(int32) - IL_0023: ret - } // end of method AuthCommand::get_Item + IL_0096: ldloc.0 + IL_0097: ldfld valuetype NDesk.DBus.UUID NDesk.DBus.Authentication.SaslClient::ActualId + IL_009c: ldarg.0 + IL_009d: ldfld valuetype NDesk.DBus.UUID NDesk.DBus.Connection::Id + IL_00a2: call bool valuetype NDesk.DBus.UUID::op_Inequality(valuetype NDesk.DBus.UUID, valuetype NDesk.DBus.UUID) + IL_00a7: brfalse IL_00b7 - .property instance string Item (int32) - { - .get instance default string NDesk.DBus.Authentication.AuthCommand::get_Item (int32 index) - } - } // end of class NDesk.DBus.Authentication.AuthCommand -} + IL_00ac: ldstr "Authentication failure: Unexpected GUID" + IL_00b1: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_00b6: throw + IL_00b7: ldarg.0 + IL_00b8: ldfld valuetype NDesk.DBus.UUID NDesk.DBus.Connection::Id + IL_00bd: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero + IL_00c2: call bool valuetype NDesk.DBus.UUID::op_Equality(valuetype NDesk.DBus.UUID, valuetype NDesk.DBus.UUID) + IL_00c7: brfalse IL_00d8 -.namespace NDesk.DBus.Authentication -{ - .class private auto ansi beforefieldinit SaslPeer - extends [mscorlib]System.Object - implements class [mscorlib]System.Collections.Generic.IEnumerable`1, [mscorlib]System.Collections.IEnumerable { - .field public class NDesk.DBus.Authentication.SaslPeer Peer - .field public class [mscorlib]System.IO.Stream 'stream' - .field public bool UseConsole - .field assembly bool isFinalRead + IL_00cc: ldarg.0 + IL_00cd: ldloc.0 + IL_00ce: ldfld valuetype NDesk.DBus.UUID NDesk.DBus.Authentication.SaslClient::ActualId + IL_00d3: stfld valuetype NDesk.DBus.UUID NDesk.DBus.Connection::Id + IL_00d8: ldarg.0 + IL_00d9: ldc.i4.1 + IL_00da: stfld bool NDesk.DBus.Connection::isAuthenticated + IL_00df: ret + } // end of method Connection::Authenticate - // method line 1065 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1042 + .method assembly hidebysig specialname + instance default bool get_IsAuthenticated () cil managed { - // Method begins at RVA 0xe9ba + // Method begins at RVA 0xe510 // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() + IL_0001: ldfld bool NDesk.DBus.Connection::isAuthenticated IL_0006: ret - } // end of method SaslPeer::.ctor + } // end of method Connection::get_IsAuthenticated - // method line 1066 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed + // method line 1043 + .method assembly hidebysig + instance default unsigned int32 GenerateSerial () cil managed { - // Method begins at RVA 0xe9c2 - .override class [mscorlib]System.Collections.IEnumerable::GetEnumerator - // Code size 7 (0x7) + // Method begins at RVA 0xe518 + // Code size 12 (0xc) .maxstack 8 IL_0000: ldarg.0 - IL_0001: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class NDesk.DBus.Authentication.SaslPeer::GetEnumerator() - IL_0006: ret - } // end of method SaslPeer::System.Collections.IEnumerable.GetEnumerator + IL_0001: ldflda int32 NDesk.DBus.Connection::serial + IL_0006: call int32 class [mscorlib]System.Threading.Interlocked::Increment([out] int32&) + IL_000b: ret + } // end of method Connection::GenerateSerial - // method line 1067 - .method public virtual hidebysig newslot - instance default class [mscorlib]System.Collections.Generic.IEnumerator`1 GetEnumerator () cil managed + // method line 1044 + .method assembly hidebysig + instance default class NDesk.DBus.Message SendWithReplyAndBlock (class NDesk.DBus.Message msg) cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0xe9cc + // Method begins at RVA 0xe528 // Code size 15 (0xf) .maxstack 2 .locals init ( - class NDesk.DBus.Authentication.SaslPeer/'c__Iterator0' V_0) - IL_0000: newobj instance void class NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'.ctor'() - IL_0005: stloc.0 - IL_0006: ldloc.0 - IL_0007: ldarg.0 - IL_0008: stfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$this - IL_000d: ldloc.0 + class NDesk.DBus.PendingCall V_0) + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call instance class NDesk.DBus.PendingCall class NDesk.DBus.Connection::SendWithReply(class NDesk.DBus.Message) + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: callvirt instance class NDesk.DBus.Message class NDesk.DBus.PendingCall::get_Reply() IL_000e: ret - } // end of method SaslPeer::GetEnumerator + } // end of method Connection::SendWithReplyAndBlock - // method line 1068 - .method public hidebysig - instance default bool Authenticate () cil managed + // method line 1045 + .method assembly hidebysig + instance default class NDesk.DBus.PendingCall SendWithReply (class NDesk.DBus.Message msg) cil managed { - // Method begins at RVA 0xe9e7 - // Code size 8 (0x8) + // Method begins at RVA 0xe544 + // Code size 112 (0x70) + .maxstack 3 + .locals init ( + class NDesk.DBus.PendingCall V_0, + object V_1, + bool V_2) + IL_0000: ldarg.1 + IL_0001: ldc.i4.1 + IL_0002: callvirt instance void class NDesk.DBus.Message::set_ReplyExpected(bool) + IL_0007: ldarg.1 + IL_0008: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_000d: ldfld unsigned int32 NDesk.DBus.Header::Serial + IL_0012: brtrue IL_0028 + + IL_0017: ldarg.1 + IL_0018: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_001d: ldarg.0 + IL_001e: call instance unsigned int32 class NDesk.DBus.Connection::GenerateSerial() + IL_0023: stfld unsigned int32 NDesk.DBus.Header::Serial + IL_0028: ldarg.0 + IL_0029: newobj instance void class NDesk.DBus.PendingCall::'.ctor'(class NDesk.DBus.Connection) + IL_002e: stloc.0 + IL_002f: ldarg.0 + IL_0030: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::pendingCalls + IL_0035: stloc.1 + IL_0036: ldc.i4.0 + IL_0037: stloc.2 + .try { // 0 + IL_0038: ldloc.1 + IL_0039: ldloca.s 2 + IL_003b: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) + IL_0040: ldarg.0 + IL_0041: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::pendingCalls + IL_0046: ldarg.1 + IL_0047: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_004c: ldfld unsigned int32 NDesk.DBus.Header::Serial + IL_0051: ldloc.0 + IL_0052: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::set_Item(!0, !1) + IL_0057: leave IL_0066 + + } // end .try 0 + finally { // 0 + IL_005c: ldloc.2 + IL_005d: brfalse.s IL_0065 + + IL_005f: ldloc.1 + IL_0060: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_0065: endfinally + } // end handler 0 + IL_0066: ldarg.0 + IL_0067: ldarg.1 + IL_0068: callvirt instance unsigned int32 class NDesk.DBus.Connection::Send(class NDesk.DBus.Message) + IL_006d: pop + IL_006e: ldloc.0 + IL_006f: ret + } // end of method Connection::SendWithReply + + // method line 1046 + .method assembly virtual hidebysig newslot + instance default unsigned int32 Send (class NDesk.DBus.Message msg) cil managed + { + // Method begins at RVA 0xe5d0 + // Code size 57 (0x39) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.0 - IL_0002: callvirt instance bool class NDesk.DBus.Authentication.SaslPeer::Run(class [mscorlib]System.Collections.Generic.IEnumerable`1) - IL_0007: ret - } // end of method SaslPeer::Authenticate + IL_0000: ldarg.1 + IL_0001: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0006: ldfld unsigned int32 NDesk.DBus.Header::Serial + IL_000b: brtrue IL_0021 - // method line 1069 - .method public hidebysig - instance default bool AuthenticateSelf () cil managed + IL_0010: ldarg.1 + IL_0011: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0016: ldarg.0 + IL_0017: call instance unsigned int32 class NDesk.DBus.Connection::GenerateSerial() + IL_001c: stfld unsigned int32 NDesk.DBus.Header::Serial + IL_0021: ldarg.0 + IL_0022: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport + IL_0027: ldarg.1 + IL_0028: callvirt instance void class NDesk.DBus.Transports.Transport::WriteMessage(class NDesk.DBus.Message) + IL_002d: ldarg.1 + IL_002e: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0033: ldfld unsigned int32 NDesk.DBus.Header::Serial + IL_0038: ret + } // end of method Connection::Send + + // method line 1047 + .method assembly hidebysig + instance default void DispatchSignals () cil managed { - // Method begins at RVA 0xe9f0 - // Code size 53 (0x35) + // Method begins at RVA 0xe60c + // Code size 73 (0x49) .maxstack 2 .locals init ( - class [mscorlib]System.Collections.Generic.IEnumerator`1 V_0) + object V_0, + bool V_1, + class NDesk.DBus.Message V_2) IL_0000: ldarg.0 - IL_0001: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class NDesk.DBus.Authentication.SaslPeer::GetEnumerator() + IL_0001: ldfld class [mscorlib]System.Collections.Generic.Queue`1 NDesk.DBus.Connection::Inbound IL_0006: stloc.0 - IL_0007: br IL_0028 + IL_0007: ldc.i4.0 + IL_0008: stloc.1 + .try { // 0 + IL_0009: ldloc.0 + IL_000a: ldloca.s 1 + IL_000c: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) + IL_0011: br IL_0029 - IL_000c: ldloc.0 - IL_000d: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_0012: ldfld string NDesk.DBus.Authentication.AuthCommand::Value - IL_0017: ldstr "BEGIN" - IL_001c: call bool string::op_Equality(string, string) - IL_0021: brfalse IL_0028 + IL_0016: ldarg.0 + IL_0017: ldfld class [mscorlib]System.Collections.Generic.Queue`1 NDesk.DBus.Connection::Inbound + IL_001c: callvirt instance !0 class [mscorlib]System.Collections.Generic.Queue`1::Dequeue() + IL_0021: stloc.2 + IL_0022: ldarg.0 + IL_0023: ldloc.2 + IL_0024: call instance void class NDesk.DBus.Connection::HandleSignal(class NDesk.DBus.Message) + IL_0029: ldarg.0 + IL_002a: ldfld class [mscorlib]System.Collections.Generic.Queue`1 NDesk.DBus.Connection::Inbound + IL_002f: callvirt instance int32 class [mscorlib]System.Collections.Generic.Queue`1::get_Count() + IL_0034: brtrue IL_0016 - IL_0026: ldc.i4.1 - IL_0027: ret - IL_0028: ldloc.0 - IL_0029: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_002e: brtrue IL_000c + IL_0039: leave IL_0048 - IL_0033: ldc.i4.0 - IL_0034: ret - } // end of method SaslPeer::AuthenticateSelf + } // end .try 0 + finally { // 0 + IL_003e: ldloc.1 + IL_003f: brfalse.s IL_0047 - // method line 1070 - .method public virtual hidebysig newslot - instance default bool Run (class [mscorlib]System.Collections.Generic.IEnumerable`1 commands) cil managed + IL_0041: ldloc.0 + IL_0042: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_0047: endfinally + } // end handler 0 + IL_0048: ret + } // end of method Connection::DispatchSignals + + // method line 1048 + .method public hidebysig + instance default void Iterate () cil managed { - // Method begins at RVA 0xea34 - // Code size 143 (0x8f) + // Method begins at RVA 0xe674 + // Code size 37 (0x25) .maxstack 2 .locals init ( - class [mscorlib]System.IO.TextWriter V_0, - class NDesk.DBus.Authentication.AuthCommand V_1, - class [mscorlib]System.Collections.Generic.IEnumerator`1 V_2, - bool V_3) + class NDesk.DBus.Message V_0) IL_0000: ldarg.0 - IL_0001: ldfld bool NDesk.DBus.Authentication.SaslPeer::UseConsole - IL_0006: brfalse IL_0015 + IL_0001: call class [mscorlib]System.Threading.Thread class [mscorlib]System.Threading.Thread::get_CurrentThread() + IL_0006: stfld class [mscorlib]System.Threading.Thread NDesk.DBus.Connection::mainThread + IL_000b: ldarg.0 + IL_000c: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport + IL_0011: callvirt instance class NDesk.DBus.Message class NDesk.DBus.Transports.Transport::ReadMessage() + IL_0016: stloc.0 + IL_0017: ldarg.0 + IL_0018: ldloc.0 + IL_0019: callvirt instance void class NDesk.DBus.Connection::HandleMessage(class NDesk.DBus.Message) + IL_001e: ldarg.0 + IL_001f: call instance void class NDesk.DBus.Connection::DispatchSignals() + IL_0024: ret + } // end of method Connection::Iterate - IL_000b: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Out() - IL_0010: br IL_0025 + // method line 1049 + .method assembly hidebysig + instance default void Dispatch () cil managed + { + // Method begins at RVA 0xe6a8 + // Code size 57 (0x39) + .maxstack 2 + .locals init ( + class NDesk.DBus.Message V_0) + IL_0000: br IL_001d - IL_0015: ldarg.0 - IL_0016: ldfld class [mscorlib]System.IO.Stream NDesk.DBus.Authentication.SaslPeer::'stream' - IL_001b: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_ASCII() - IL_0020: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(class [mscorlib]System.IO.Stream, class [mscorlib]System.Text.Encoding) - IL_0025: stloc.0 - IL_0026: ldarg.0 - IL_0027: ldfld bool NDesk.DBus.Authentication.SaslPeer::UseConsole - IL_002c: brtrue IL_003c + IL_0005: ldarg.0 + IL_0006: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport + IL_000b: ldfld class [mscorlib]System.Collections.Generic.Queue`1 NDesk.DBus.Transports.Transport::Inbound + IL_0010: callvirt instance !0 class [mscorlib]System.Collections.Generic.Queue`1::Dequeue() + IL_0015: stloc.0 + IL_0016: ldarg.0 + IL_0017: ldloc.0 + IL_0018: callvirt instance void class NDesk.DBus.Connection::HandleMessage(class NDesk.DBus.Message) + IL_001d: ldarg.0 + IL_001e: ldfld class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::transport + IL_0023: ldfld class [mscorlib]System.Collections.Generic.Queue`1 NDesk.DBus.Transports.Transport::Inbound + IL_0028: callvirt instance int32 class [mscorlib]System.Collections.Generic.Queue`1::get_Count() + IL_002d: brtrue IL_0005 - IL_0031: ldloc.0 - IL_0032: ldstr "\r\n" - IL_0037: callvirt instance void class [mscorlib]System.IO.TextWriter::set_NewLine(string) - IL_003c: ldarg.1 - IL_003d: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() - IL_0042: stloc.2 - .try { // 0 - IL_0043: br IL_006e + IL_0032: ldarg.0 + IL_0033: call instance void class NDesk.DBus.Connection::DispatchSignals() + IL_0038: ret + } // end of method Connection::Dispatch - IL_0048: ldloc.2 - IL_0049: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_004e: stloc.1 + // method line 1050 + .method assembly virtual hidebysig newslot + instance default void HandleMessage (class NDesk.DBus.Message msg) cil managed + { + // Method begins at RVA 0xe6f0 + // Code size 516 (0x204) + .maxstack 5 + .locals init ( + object V_0, + unsigned int32 V_1, + class NDesk.DBus.PendingCall V_2, + object V_3, + bool V_4, + valuetype NDesk.DBus.MessageType V_5, + class NDesk.DBus.MethodCall V_6, + object V_7, + bool V_8, + class NDesk.DBus.Error V_9, + string V_10, + valuetype NDesk.DBus.Signature V_11, + class NDesk.DBus.MessageReader V_12, + valuetype NDesk.DBus.Signature V_13) + IL_0000: ldarg.1 + IL_0001: brtrue IL_0007 + + IL_0006: ret + IL_0007: ldarg.1 + IL_0008: brtrue IL_001d + + IL_000d: ldstr "msg" + IL_0012: ldstr "Cannot handle a null message; maybe the bus was disconnected" + IL_0017: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string, string) + IL_001c: throw + IL_001d: ldarg.1 + IL_001e: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0023: ldc.i4.5 + IL_0024: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) + IL_0029: stloc.0 + IL_002a: ldloc.0 + IL_002b: brfalse IL_00d5 + + IL_0030: ldloc.0 + IL_0031: unbox.any [mscorlib]System.UInt32 + IL_0036: stloc.1 + IL_0037: ldarg.0 + IL_0038: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::pendingCalls + IL_003d: stloc.3 + IL_003e: ldc.i4.0 + IL_003f: stloc.s 4 + .try { // 0 + IL_0041: ldloc.3 + IL_0042: ldloca.s 4 + IL_0044: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) + IL_0049: ldarg.0 + IL_004a: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::pendingCalls IL_004f: ldloc.1 - IL_0050: brtrue IL_005c + IL_0050: ldloca.s 2 + IL_0052: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) + IL_0057: brfalse IL_0079 - IL_0055: ldc.i4.0 - IL_0056: stloc.3 - IL_0057: leave IL_008d + IL_005c: ldarg.0 + IL_005d: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::pendingCalls + IL_0062: ldloc.1 + IL_0063: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::Remove(!0) + IL_0068: brfalse IL_0074 - IL_005c: ldloc.0 - IL_005d: ldloc.1 - IL_005e: ldfld string NDesk.DBus.Authentication.AuthCommand::Value - IL_0063: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0068: ldloc.0 - IL_0069: callvirt instance void class [mscorlib]System.IO.TextWriter::Flush() - IL_006e: ldloc.2 - IL_006f: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0074: brtrue IL_0048 + IL_006d: ldloc.2 + IL_006e: ldarg.1 + IL_006f: callvirt instance void class NDesk.DBus.PendingCall::set_Reply(class NDesk.DBus.Message) + IL_0074: leave IL_0203 - IL_0079: leave IL_008b + IL_0079: leave IL_0089 } // end .try 0 finally { // 0 - IL_007e: ldloc.2 - IL_007f: brfalse IL_008a + IL_007e: ldloc.s 4 + IL_0080: brfalse.s IL_0088 - IL_0084: ldloc.2 - IL_0085: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_008a: endfinally + IL_0082: ldloc.3 + IL_0083: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_0088: endfinally } // end handler 0 - IL_008b: ldc.i4.1 - IL_008c: ret - IL_008d: ldloc.3 - IL_008e: ret - } // end of method SaslPeer::Run + IL_0089: ldsfld bool NDesk.DBus.Protocol::Verbose + IL_008e: brfalse IL_00d4 - .class nested private auto ansi sealed beforefieldinit 'c__Iterator0' - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator, [mscorlib]System.IDisposable, class [mscorlib]System.Collections.Generic.IEnumerator`1 { - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0093: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_0098: ldc.i4.4 + IL_0099: newarr [mscorlib]System.Object + IL_009e: dup + IL_009f: ldc.i4.0 + IL_00a0: ldstr "Unexpected reply message received: MessageType='" + IL_00a5: stelem.ref + IL_00a6: dup + IL_00a7: ldc.i4.1 + IL_00a8: ldarg.1 + IL_00a9: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_00ae: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType + IL_00b3: box NDesk.DBus.MessageType + IL_00b8: stelem.ref + IL_00b9: dup + IL_00ba: ldc.i4.2 + IL_00bb: ldstr "', ReplySerial=" + IL_00c0: stelem.ref + IL_00c1: dup + IL_00c2: ldc.i4.3 + IL_00c3: ldloc.1 + IL_00c4: box [mscorlib]System.UInt32 + IL_00c9: stelem.ref + IL_00ca: call string string::Concat(object[]) + IL_00cf: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_00d4: ret + IL_00d5: ldarg.1 + IL_00d6: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_00db: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType + IL_00e0: stloc.s 5 + IL_00e2: ldloc.s 5 + IL_00e4: switch ( + IL_01de, + IL_0102, + IL_01de, + IL_014d, + IL_0117) + IL_00fd: br IL_01de - .field assembly class [mscorlib]System.IO.TextReader '__0' - .field assembly bool '__1' - .field assembly string '__2' - .field assembly class NDesk.DBus.Authentication.SaslPeer $this - .field assembly class NDesk.DBus.Authentication.AuthCommand $current - .field assembly bool $disposing - .field assembly int32 $PC + IL_0102: ldarg.1 + IL_0103: newobj instance void class NDesk.DBus.MethodCall::'.ctor'(class NDesk.DBus.Message) + IL_0108: stloc.s 6 + IL_010a: ldarg.0 + IL_010b: ldloc.s 6 + IL_010d: call instance void class NDesk.DBus.Connection::HandleMethodCall(class NDesk.DBus.MethodCall) + IL_0112: br IL_0203 - // method line 1342 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0117: ldarg.0 + IL_0118: ldfld class [mscorlib]System.Collections.Generic.Queue`1 NDesk.DBus.Connection::Inbound + IL_011d: stloc.s 7 + IL_011f: ldc.i4.0 + IL_0120: stloc.s 8 + .try { // 1 + IL_0122: ldloc.s 7 + IL_0124: ldloca.s 8 + IL_0126: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) + IL_012b: ldarg.0 + IL_012c: ldfld class [mscorlib]System.Collections.Generic.Queue`1 NDesk.DBus.Connection::Inbound + IL_0131: ldarg.1 + IL_0132: callvirt instance void class [mscorlib]System.Collections.Generic.Queue`1::Enqueue(!0) + IL_0137: leave IL_0148 - // Method begins at RVA 0xeae0 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method c__Iterator0::.ctor + } // end .try 1 + finally { // 1 + IL_013c: ldloc.s 8 + IL_013e: brfalse.s IL_0147 - // method line 1343 - .method public final virtual hidebysig newslot - instance default bool MoveNext () cil managed + IL_0140: ldloc.s 7 + IL_0142: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_0147: endfinally + } // end handler 1 + IL_0148: br IL_0203 + + IL_014d: ldarg.1 + IL_014e: newobj instance void class NDesk.DBus.Error::'.ctor'(class NDesk.DBus.Message) + IL_0153: stloc.s 9 + IL_0155: ldsfld string [mscorlib]System.String::Empty + IL_015a: stloc.s 10 + IL_015c: ldarg.1 + IL_015d: callvirt instance valuetype NDesk.DBus.Signature class NDesk.DBus.Message::get_Signature() + IL_0162: stloc.s 11 + IL_0164: ldloca.s 11 + IL_0166: call instance string valuetype NDesk.DBus.Signature::get_Value() + IL_016b: ldstr "s" + IL_0170: callvirt instance bool string::StartsWith(string) + IL_0175: brfalse IL_018b + + IL_017a: ldarg.1 + IL_017b: newobj instance void class NDesk.DBus.MessageReader::'.ctor'(class NDesk.DBus.Message) + IL_0180: stloc.s 12 + IL_0182: ldloc.s 12 + IL_0184: callvirt instance string class NDesk.DBus.MessageReader::ReadString() + IL_0189: stloc.s 10 + IL_018b: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_0190: ldc.i4.6 + IL_0191: newarr [mscorlib]System.String + IL_0196: dup + IL_0197: ldc.i4.0 + IL_0198: ldstr "Remote Error: Signature='" + IL_019d: stelem.ref + IL_019e: dup + IL_019f: ldc.i4.1 + IL_01a0: ldarg.1 + IL_01a1: callvirt instance valuetype NDesk.DBus.Signature class NDesk.DBus.Message::get_Signature() + IL_01a6: stloc.s 13 + IL_01a8: ldloca.s 13 + IL_01aa: call instance string valuetype NDesk.DBus.Signature::get_Value() + IL_01af: stelem.ref + IL_01b0: dup + IL_01b1: ldc.i4.2 + IL_01b2: ldstr "' " + IL_01b7: stelem.ref + IL_01b8: dup + IL_01b9: ldc.i4.3 + IL_01ba: ldloc.s 9 + IL_01bc: ldfld string NDesk.DBus.Error::ErrorName + IL_01c1: stelem.ref + IL_01c2: dup + IL_01c3: ldc.i4.4 + IL_01c4: ldstr ": " + IL_01c9: stelem.ref + IL_01ca: dup + IL_01cb: ldc.i4.5 + IL_01cc: ldloc.s 10 + IL_01ce: stelem.ref + IL_01cf: call string string::Concat(string[]) + IL_01d4: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_01d9: br IL_0203 + + IL_01de: ldstr "Invalid message received: MessageType='" + IL_01e3: ldarg.1 + IL_01e4: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_01e9: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType + IL_01ee: box NDesk.DBus.MessageType + IL_01f3: ldstr "'" + IL_01f8: call string string::Concat(object, object, object) + IL_01fd: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0202: throw + IL_0203: ret + } // end of method Connection::HandleMessage + + // method line 1051 + .method assembly hidebysig + instance default void HandleSignal (class NDesk.DBus.Message msg) cil managed { - // Method begins at RVA 0xeae8 - // Code size 365 (0x16d) - .maxstack 3 + // Method begins at RVA 0xe91c + // Code size 351 (0x15f) + .maxstack 5 .locals init ( - unsigned int32 V_0, - class [mscorlib]System.Text.StringBuilder V_1, - int32 V_2, - int32 V_3) - IL_0000: ldarg.0 - IL_0001: ldfld int32 NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$PC + class NDesk.DBus.Signal V_0, + class NDesk.DBus.MatchRule V_1, + class [mscorlib]System.Delegate V_2, + class [mscorlib]System.Reflection.MethodInfo V_3, + bool V_4, + valuetype NDesk.DBus.Signature V_5, + valuetype NDesk.DBus.Signature V_6) + IL_0000: ldarg.1 + IL_0001: newobj instance void class NDesk.DBus.Signal::'.ctor'(class NDesk.DBus.Message) IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldc.i4.m1 - IL_0009: stfld int32 NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$PC - IL_000e: ldloc.0 - IL_000f: switch ( - IL_0021, - IL_014d) - IL_001c: br IL_0169 + IL_0007: newobj instance void class NDesk.DBus.MatchRule::'.ctor'() + IL_000c: stloc.1 + IL_000d: ldloc.1 + IL_000e: ldc.i4.4 + IL_000f: newobj instance void valuetype [mscorlib]System.Nullable`1::'.ctor'(!0) + IL_0014: stfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.MatchRule::MessageType + IL_0019: ldloc.1 + IL_001a: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields + IL_001f: ldc.i4.2 + IL_0020: ldloc.0 + IL_0021: ldfld string NDesk.DBus.Signal::Interface + IL_0026: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(string) + IL_002b: callvirt instance void class [System]System.Collections.Generic.SortedList`2::Add(!0, !1) + IL_0030: ldloc.1 + IL_0031: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields + IL_0036: ldc.i4.3 + IL_0037: ldloc.0 + IL_0038: ldfld string NDesk.DBus.Signal::Member + IL_003d: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(string) + IL_0042: callvirt instance void class [System]System.Collections.Generic.SortedList`2::Add(!0, !1) + IL_0047: ldloc.1 + IL_0048: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields + IL_004d: ldc.i4.7 + IL_004e: ldloc.0 + IL_004f: ldfld string NDesk.DBus.Signal::Sender + IL_0054: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(string) + IL_0059: callvirt instance void class [System]System.Collections.Generic.SortedList`2::Add(!0, !1) + IL_005e: ldloc.1 + IL_005f: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields + IL_0064: ldc.i4.1 + IL_0065: ldloc.0 + IL_0066: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.Signal::Path + IL_006b: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(class NDesk.DBus.ObjectPath) + IL_0070: callvirt instance void class [System]System.Collections.Generic.SortedList`2::Add(!0, !1) + IL_0075: ldarg.0 + IL_0076: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::Handlers + IL_007b: ldloc.1 + IL_007c: ldloca.s 2 + IL_007e: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) + IL_0083: brfalse IL_013a - IL_0021: ldarg.0 - IL_0022: ldarg.0 - IL_0023: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$this - IL_0028: ldfld bool NDesk.DBus.Authentication.SaslPeer::UseConsole - IL_002d: brfalse IL_003c + IL_0088: ldloc.2 + IL_0089: brfalse IL_013a - IL_0032: call class [mscorlib]System.IO.TextReader class [mscorlib]System.Console::get_In() - IL_0037: br IL_0051 + IL_008e: ldloc.2 + IL_008f: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0094: ldstr "Invoke" + IL_0099: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) + IL_009e: stloc.3 + IL_009f: ldc.i4.0 + IL_00a0: stloc.s 4 + IL_00a2: ldloc.3 + IL_00a3: ldloca.s 5 + IL_00a5: ldloca.s 6 + IL_00a7: call bool class NDesk.DBus.TypeImplementer::SigsForMethod(class [mscorlib]System.Reflection.MethodInfo, [out] valuetype NDesk.DBus.Signature&, [out] valuetype NDesk.DBus.Signature&) + IL_00ac: brfalse IL_00d7 - IL_003c: ldarg.0 - IL_003d: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$this - IL_0042: ldfld class [mscorlib]System.IO.Stream NDesk.DBus.Authentication.SaslPeer::'stream' - IL_0047: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_ASCII() - IL_004c: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(class [mscorlib]System.IO.Stream, class [mscorlib]System.Text.Encoding) - IL_0051: stfld class [mscorlib]System.IO.TextReader NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'__0' - IL_0056: ldarg.0 - IL_0057: ldc.i4.0 - IL_0058: stfld bool NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'__1' - IL_005d: ldarg.0 - IL_005e: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$this - IL_0063: ldfld bool NDesk.DBus.Authentication.SaslPeer::UseConsole - IL_0068: brtrue IL_00f2 + IL_00b1: ldloc.s 6 + IL_00b3: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + IL_00b8: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_00bd: brfalse IL_00d7 - IL_006d: ldarg.0 - IL_006e: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$this - IL_0073: ldfld bool NDesk.DBus.Authentication.SaslPeer::isFinalRead - IL_0078: brfalse IL_00f2 + IL_00c2: ldloc.s 5 + IL_00c4: ldarg.1 + IL_00c5: callvirt instance valuetype NDesk.DBus.Signature class NDesk.DBus.Message::get_Signature() + IL_00ca: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_00cf: brfalse IL_00d7 - IL_007d: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0082: stloc.1 - IL_0083: ldarg.0 - IL_0084: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$this - IL_0089: ldfld class [mscorlib]System.IO.Stream NDesk.DBus.Authentication.SaslPeer::'stream' - IL_008e: callvirt instance int32 class [mscorlib]System.IO.Stream::ReadByte() - IL_0093: stloc.2 - IL_0094: ldloc.2 - IL_0095: ldc.i4.m1 - IL_0096: bne.un IL_00a7 + IL_00d4: ldc.i4.1 + IL_00d5: stloc.s 4 + IL_00d7: ldloc.s 4 + IL_00d9: brtrue IL_0122 - IL_009b: ldarg.0 - IL_009c: ldc.i4.1 - IL_009d: stfld bool NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'__1' - IL_00a2: br IL_00e1 + IL_00de: ldsfld bool NDesk.DBus.Protocol::Verbose + IL_00e3: brfalse IL_0121 - IL_00a7: ldloc.2 - IL_00a8: ldc.i4.s 0x0d - IL_00aa: bne.un IL_00d3 + IL_00e8: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_00ed: ldc.i4.4 + IL_00ee: newarr [mscorlib]System.Object + IL_00f3: dup + IL_00f4: ldc.i4.0 + IL_00f5: ldstr "Signal argument mismatch: " + IL_00fa: stelem.ref + IL_00fb: dup + IL_00fc: ldc.i4.1 + IL_00fd: ldloc.0 + IL_00fe: ldfld string NDesk.DBus.Signal::Interface + IL_0103: stelem.ref + IL_0104: dup + IL_0105: ldc.i4.2 + IL_0106: ldc.i4.s 0x2e + IL_0108: box [mscorlib]System.Char + IL_010d: stelem.ref + IL_010e: dup + IL_010f: ldc.i4.3 + IL_0110: ldloc.0 + IL_0111: ldfld string NDesk.DBus.Signal::Member + IL_0116: stelem.ref + IL_0117: call string string::Concat(object[]) + IL_011c: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0121: ret + IL_0122: ldloc.2 + IL_0123: ldarg.1 + IL_0124: ldloc.3 + IL_0125: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_012a: call object[] class NDesk.DBus.MessageHelper::GetDynamicValues(class NDesk.DBus.Message, class [mscorlib]System.Reflection.ParameterInfo[]) + IL_012f: callvirt instance object class [mscorlib]System.Delegate::DynamicInvoke(object[]) + IL_0134: pop + IL_0135: br IL_015e - IL_00af: ldarg.0 - IL_00b0: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$this - IL_00b5: ldfld class [mscorlib]System.IO.Stream NDesk.DBus.Authentication.SaslPeer::'stream' - IL_00ba: callvirt instance int32 class [mscorlib]System.IO.Stream::ReadByte() - IL_00bf: stloc.3 - IL_00c0: ldloc.3 - IL_00c1: ldc.i4.s 0x0a - IL_00c3: beq IL_00ce + IL_013a: ldsfld bool NDesk.DBus.Protocol::Verbose + IL_013f: brfalse IL_015e - IL_00c8: newobj instance void class [mscorlib]System.Exception::'.ctor'() - IL_00cd: throw - IL_00ce: br IL_00e1 + IL_0144: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_0149: ldstr "Warning: No signal handler for " + IL_014e: ldloc.0 + IL_014f: ldfld string NDesk.DBus.Signal::Member + IL_0154: call string string::Concat(string, string) + IL_0159: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_015e: ret + } // end of method Connection::HandleSignal - IL_00d3: ldloc.1 - IL_00d4: ldloc.2 - IL_00d5: conv.u2 - IL_00d6: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_00db: pop - IL_00dc: br IL_0083 + // method line 1052 + .method assembly hidebysig + instance default void MaybeSendUnknownMethodError (class NDesk.DBus.MethodCall method_call) cil managed + { + // Method begins at RVA 0xea88 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class NDesk.DBus.Message V_0) + IL_0000: ldarg.1 + IL_0001: call class NDesk.DBus.Message class NDesk.DBus.MessageHelper::CreateUnknownMethodError(class NDesk.DBus.MethodCall) + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: brfalse IL_0015 - IL_00e1: ldarg.0 - IL_00e2: ldloc.1 - IL_00e3: callvirt instance string object::ToString() - IL_00e8: stfld string NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'__2' - IL_00ed: br IL_0103 + IL_000d: ldarg.0 + IL_000e: ldloc.0 + IL_000f: callvirt instance unsigned int32 class NDesk.DBus.Connection::Send(class NDesk.DBus.Message) + IL_0014: pop + IL_0015: ret + } // end of method Connection::MaybeSendUnknownMethodError - IL_00f2: ldarg.0 - IL_00f3: ldarg.0 - IL_00f4: ldfld class [mscorlib]System.IO.TextReader NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'__0' - IL_00f9: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_00fe: stfld string NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'__2' - IL_0103: ldarg.0 - IL_0104: ldfld string NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'__2' - IL_0109: brtrue IL_0113 + // method line 1053 + .method assembly hidebysig + instance default void HandleMethodCall (class NDesk.DBus.MethodCall method_call) cil managed + { + // Method begins at RVA 0xeaac + // Code size 562 (0x232) + .maxstack 6 + .locals init ( + string V_0, + valuetype NDesk.DBus.UUID V_1, + class NDesk.DBus.Introspector V_2, + class [mscorlib]System.Collections.Generic.List`1 V_3, + int32 V_4, + class NDesk.DBus.ObjectPath V_5, + valuetype [mscorlib]System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator V_6, + class NDesk.DBus.ExportObject V_7, + class NDesk.DBus.ObjectPath V_8, + string V_9, + class NDesk.DBus.Message V_10, + class NDesk.DBus.BusObject V_11, + class NDesk.DBus.ExportObject V_12) + IL_0000: ldarg.1 + IL_0001: ldfld string NDesk.DBus.MethodCall::Interface + IL_0006: ldstr "org.freedesktop.DBus.Peer" + IL_000b: call bool string::op_Equality(string, string) + IL_0010: brfalse IL_009e - IL_010e: br IL_0169 + IL_0015: ldarg.1 + IL_0016: ldfld string NDesk.DBus.MethodCall::Member + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: brfalse IL_009e - IL_0113: ldarg.0 - IL_0114: ldfld string NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'__2' - IL_0119: ldsfld string [mscorlib]System.String::Empty - IL_011e: call bool string::op_Inequality(string, string) - IL_0123: brfalse IL_014d + IL_0022: ldloc.0 + IL_0023: ldstr "Ping" + IL_0028: call bool string::op_Equality(string, string) + IL_002d: brtrue IL_0047 - IL_0128: ldarg.0 - IL_0129: ldarg.0 - IL_012a: ldfld string NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'__2' - IL_012f: newobj instance void class NDesk.DBus.Authentication.AuthCommand::'.ctor'(string) - IL_0134: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$current - IL_0139: ldarg.0 - IL_013a: ldfld bool NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$disposing - IL_013f: brtrue.s IL_0148 + IL_0032: ldloc.0 + IL_0033: ldstr "GetMachineId" + IL_0038: call bool string::op_Equality(string, string) + IL_003d: brtrue IL_005b - IL_0141: ldarg.0 - IL_0142: ldc.i4.1 - IL_0143: stfld int32 NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$PC - IL_0148: br IL_016b + IL_0042: br IL_009e - IL_014d: ldarg.0 - IL_014e: ldfld bool NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'__1' - IL_0153: brfalse IL_015d + IL_0047: ldarg.0 + IL_0048: ldarg.1 + IL_0049: ldc.i4.0 + IL_004a: newarr [mscorlib]System.Object + IL_004f: call class NDesk.DBus.Message class NDesk.DBus.MessageHelper::ConstructReply(class NDesk.DBus.MethodCall, object[]) + IL_0054: callvirt instance unsigned int32 class NDesk.DBus.Connection::Send(class NDesk.DBus.Message) + IL_0059: pop + IL_005a: ret + IL_005b: call valuetype NDesk.DBus.UUID class NDesk.DBus.Connection::get_MachineId() + IL_0060: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero + IL_0065: call bool valuetype NDesk.DBus.UUID::op_Inequality(valuetype NDesk.DBus.UUID, valuetype NDesk.DBus.UUID) + IL_006a: brfalse IL_0099 - IL_0158: br IL_0169 + IL_006f: ldarg.0 + IL_0070: ldarg.1 + IL_0071: ldc.i4.1 + IL_0072: newarr [mscorlib]System.Object + IL_0077: dup + IL_0078: ldc.i4.0 + IL_0079: call valuetype NDesk.DBus.UUID class NDesk.DBus.Connection::get_MachineId() + IL_007e: stloc.1 + IL_007f: ldloca.s 1 + IL_0081: constrained. NDesk.DBus.UUID + IL_0087: callvirt instance string object::ToString() + IL_008c: stelem.ref + IL_008d: call class NDesk.DBus.Message class NDesk.DBus.MessageHelper::ConstructReply(class NDesk.DBus.MethodCall, object[]) + IL_0092: callvirt instance unsigned int32 class NDesk.DBus.Connection::Send(class NDesk.DBus.Message) + IL_0097: pop + IL_0098: ret + IL_0099: br IL_009e - IL_015d: br IL_0056 + IL_009e: ldarg.1 + IL_009f: ldfld string NDesk.DBus.MethodCall::Interface + IL_00a4: ldstr "org.freedesktop.DBus.Introspectable" + IL_00a9: call bool string::op_Equality(string, string) + IL_00ae: brfalse IL_01fc - IL_0162: ldarg.0 - IL_0163: ldc.i4.m1 - IL_0164: stfld int32 NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$PC - IL_0169: ldc.i4.0 - IL_016a: ret - IL_016b: ldc.i4.1 - IL_016c: ret - } // end of method c__Iterator0::MoveNext + IL_00b3: ldarg.1 + IL_00b4: ldfld string NDesk.DBus.MethodCall::Member + IL_00b9: ldstr "Introspect" + IL_00be: call bool string::op_Equality(string, string) + IL_00c3: brfalse IL_01fc - // method line 1344 - .method private final virtual hidebysig newslot specialname - instance default class NDesk.DBus.Authentication.AuthCommand 'System.Collections.Generic.IEnumerator.get_Current' () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_00c8: newobj instance void class NDesk.DBus.Introspector::'.ctor'() + IL_00cd: stloc.2 + IL_00ce: ldloc.2 + IL_00cf: ldarg.1 + IL_00d0: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.MethodCall::Path + IL_00d5: stfld class NDesk.DBus.ObjectPath NDesk.DBus.Introspector::root_path + IL_00da: ldloc.2 + IL_00db: callvirt instance void class NDesk.DBus.Introspector::WriteStart() + IL_00e0: newobj instance void class [mscorlib]System.Collections.Generic.List`1::'.ctor'() + IL_00e5: stloc.3 + IL_00e6: ldarg.1 + IL_00e7: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.MethodCall::Path + IL_00ec: callvirt instance string[] class NDesk.DBus.ObjectPath::get_Decomposed() + IL_00f1: ldlen + IL_00f2: conv.i4 + IL_00f3: stloc.s 4 + IL_00f5: ldarg.0 + IL_00f6: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::RegisteredObjects + IL_00fb: callvirt instance class [mscorlib]System.Collections.Generic.Dictionary`2/KeyCollection class [mscorlib]System.Collections.Generic.Dictionary`2::get_Keys() + IL_0100: callvirt instance valuetype [mscorlib]System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator class [mscorlib]System.Collections.Generic.Dictionary`2/KeyCollection::GetEnumerator() + IL_0105: stloc.s 6 + .try { // 0 + IL_0107: br IL_01b6 - // Method begins at RVA 0xec61 - .override method instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$current - IL_0006: ret - } // end of method c__Iterator0::System.Collections.Generic.IEnumerator.get_Current + IL_010c: ldloca.s 6 + IL_010e: call instance !0 valuetype [mscorlib]System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator::get_Current() + IL_0113: stloc.s 5 + IL_0115: ldloc.s 5 + IL_0117: ldfld string NDesk.DBus.ObjectPath::Value + IL_011c: ldarg.1 + IL_011d: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.MethodCall::Path + IL_0122: ldfld string NDesk.DBus.ObjectPath::Value + IL_0127: call bool string::op_Equality(string, string) + IL_012c: brfalse IL_0152 - // method line 1345 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0131: ldarg.0 + IL_0132: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::RegisteredObjects + IL_0137: ldloc.s 5 + IL_0139: callvirt instance !1 class [mscorlib]System.Collections.Generic.Dictionary`2::get_Item(!0) + IL_013e: castclass NDesk.DBus.ExportObject + IL_0143: stloc.s 7 + IL_0145: ldloc.s 7 + IL_0147: ldloc.2 + IL_0148: callvirt instance void class NDesk.DBus.ExportObject::WriteIntrospect(class NDesk.DBus.Introspector) + IL_014d: br IL_01b6 - // Method begins at RVA 0xec69 - .override class [mscorlib]System.Collections.IEnumerator::get_Current - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$current - IL_0006: ret - } // end of method c__Iterator0::System.Collections.IEnumerator.get_Current + IL_0152: ldloc.s 5 + IL_0154: stloc.s 8 + IL_0156: br IL_01a9 - // method line 1346 - .method public final virtual hidebysig newslot - instance default void Dispose () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_015b: ldloc.s 8 + IL_015d: ldfld string NDesk.DBus.ObjectPath::Value + IL_0162: ldarg.1 + IL_0163: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.MethodCall::Path + IL_0168: ldfld string NDesk.DBus.ObjectPath::Value + IL_016d: call bool string::op_Equality(string, string) + IL_0172: brfalse IL_01a0 - // Method begins at RVA 0xec71 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$disposing - IL_0007: ldarg.0 - IL_0008: ldc.i4.m1 - IL_0009: stfld int32 NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$PC - IL_000e: ret - } // end of method c__Iterator0::Dispose + IL_0177: ldloc.s 5 + IL_0179: callvirt instance string[] class NDesk.DBus.ObjectPath::get_Decomposed() + IL_017e: ldloc.s 4 + IL_0180: ldelem.ref + IL_0181: stloc.s 9 + IL_0183: ldloc.3 + IL_0184: ldloc.s 9 + IL_0186: callvirt instance bool class [mscorlib]System.Collections.Generic.List`1::Contains(!0) + IL_018b: brtrue IL_01a0 - // method line 1347 - .method public final virtual hidebysig newslot - instance default void Reset () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0190: ldloc.2 + IL_0191: ldloc.s 9 + IL_0193: callvirt instance void class NDesk.DBus.Introspector::WriteNode(string) + IL_0198: ldloc.3 + IL_0199: ldloc.s 9 + IL_019b: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Add(!0) + IL_01a0: ldloc.s 8 + IL_01a2: callvirt instance class NDesk.DBus.ObjectPath class NDesk.DBus.ObjectPath::get_Parent() + IL_01a7: stloc.s 8 + IL_01a9: ldloc.s 8 + IL_01ab: ldnull + IL_01ac: call bool class NDesk.DBus.ObjectPath::op_Inequality(class NDesk.DBus.ObjectPath, class NDesk.DBus.ObjectPath) + IL_01b1: brtrue IL_015b - // Method begins at RVA 0xec81 - // Code size 6 (0x6) - .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() - IL_0005: throw - } // end of method c__Iterator0::Reset + IL_01b6: ldloca.s 6 + IL_01b8: call instance bool valuetype [mscorlib]System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator::MoveNext() + IL_01bd: brtrue IL_010c - .property instance class NDesk.DBus.Authentication.AuthCommand 'System.Collections.Generic.IEnumerator.Current' () - { - .get instance default class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'System.Collections.Generic.IEnumerator.get_Current' () - } - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::System.Collections.IEnumerator.get_Current () - } - } // end of class c__Iterator0 + IL_01c2: leave IL_01d5 - } // end of class NDesk.DBus.Authentication.SaslPeer -} + } // end .try 0 + finally { // 0 + IL_01c7: ldloca.s 6 + IL_01c9: constrained. valuetype [mscorlib]System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator + IL_01cf: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01d4: endfinally + } // end handler 0 + IL_01d5: ldloc.2 + IL_01d6: callvirt instance void class NDesk.DBus.Introspector::WriteEnd() + IL_01db: ldarg.1 + IL_01dc: ldc.i4.1 + IL_01dd: newarr [mscorlib]System.Object + IL_01e2: dup + IL_01e3: ldc.i4.0 + IL_01e4: ldloc.2 + IL_01e5: ldfld string NDesk.DBus.Introspector::xml + IL_01ea: stelem.ref + IL_01eb: call class NDesk.DBus.Message class NDesk.DBus.MessageHelper::ConstructReply(class NDesk.DBus.MethodCall, object[]) + IL_01f0: stloc.s 10 + IL_01f2: ldarg.0 + IL_01f3: ldloc.s 10 + IL_01f5: callvirt instance unsigned int32 class NDesk.DBus.Connection::Send(class NDesk.DBus.Message) + IL_01fa: pop + IL_01fb: ret + IL_01fc: ldarg.0 + IL_01fd: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::RegisteredObjects + IL_0202: ldarg.1 + IL_0203: ldfld class NDesk.DBus.ObjectPath NDesk.DBus.MethodCall::Path + IL_0208: ldloca.s 11 + IL_020a: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) + IL_020f: brfalse IL_022a -.namespace NDesk.DBus.Authentication -{ - .class private auto ansi beforefieldinit SaslClient - extends NDesk.DBus.Authentication.SaslPeer - { - .field public string Identity - .field public valuetype NDesk.DBus.UUID ActualId + IL_0214: ldloc.s 11 + IL_0216: castclass NDesk.DBus.ExportObject + IL_021b: stloc.s 12 + IL_021d: ldloc.s 12 + IL_021f: ldarg.1 + IL_0220: callvirt instance void class NDesk.DBus.ExportObject::HandleMethodCall(class NDesk.DBus.MethodCall) + IL_0225: br IL_0231 - // method line 1071 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xec88 - // Code size 29 (0x1d) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldsfld string [mscorlib]System.String::Empty - IL_0006: stfld string NDesk.DBus.Authentication.SaslClient::Identity - IL_000b: ldarg.0 - IL_000c: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero - IL_0011: stfld valuetype NDesk.DBus.UUID NDesk.DBus.Authentication.SaslClient::ActualId - IL_0016: ldarg.0 - IL_0017: call instance void class NDesk.DBus.Authentication.SaslPeer::'.ctor'() - IL_001c: ret - } // end of method SaslClient::.ctor + IL_022a: ldarg.0 + IL_022b: ldarg.1 + IL_022c: call instance void class NDesk.DBus.Connection::MaybeSendUnknownMethodError(class NDesk.DBus.MethodCall) + IL_0231: ret + } // end of method Connection::HandleMethodCall - // method line 1072 - .method public virtual hidebysig - instance default class [mscorlib]System.Collections.Generic.IEnumerator`1 GetEnumerator () cil managed + // method line 1054 + .method public hidebysig + instance default object GetObject (class [mscorlib]System.Type 'type', string bus_name, class NDesk.DBus.ObjectPath path) cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0xeca8 - // Code size 15 (0xf) - .maxstack 2 + // Method begins at RVA 0xecfc + // Code size 81 (0x51) + .maxstack 4 .locals init ( - class NDesk.DBus.Authentication.SaslClient/'c__Iterator0' V_0) - IL_0000: newobj instance void class NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'.ctor'() - IL_0005: stloc.0 - IL_0006: ldloc.0 - IL_0007: ldarg.0 - IL_0008: stfld class NDesk.DBus.Authentication.SaslClient NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$this - IL_000d: ldloc.0 - IL_000e: ret - } // end of method SaslClient::GetEnumerator + class NDesk.DBus.BusObject V_0, + class NDesk.DBus.DProxy V_1) + IL_0000: ldarg.1 + IL_0001: callvirt instance bool class [mscorlib]System.Type::get_IsInterface() + IL_0006: brtrue IL_0016 - .class nested private auto ansi sealed AuthMech - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NDesk.DBus.Authentication.SaslClient/AuthMech External = int32(0x00000000) - .field public static literal valuetype NDesk.DBus.Authentication.SaslClient/AuthMech Anonymous = int32(0x00000001) - .field public static literal valuetype NDesk.DBus.Authentication.SaslClient/AuthMech None = int32(0x00000002) + IL_000b: ldarg.1 + IL_000c: callvirt instance bool class [mscorlib]System.Type::get_IsAbstract() + IL_0011: brfalse IL_0020 - } // end of class AuthMech + IL_0016: ldarg.0 + IL_0017: ldarg.2 + IL_0018: ldarg.3 + IL_0019: ldarg.1 + IL_001a: call object class NDesk.DBus.BusObject::GetObject(class NDesk.DBus.Connection, string, class NDesk.DBus.ObjectPath, class [mscorlib]System.Type) + IL_001f: ret + IL_0020: ldsfld bool NDesk.DBus.Protocol::Verbose + IL_0025: brfalse IL_0039 - .class nested private auto ansi sealed beforefieldinit 'c__Iterator0' - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator, [mscorlib]System.IDisposable, class [mscorlib]System.Collections.Generic.IEnumerator`1 { - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_002a: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_002f: ldstr "Warning: Note that MarshalByRefObject use is not recommended; for best performance, define interfaces" + IL_0034: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0039: ldarg.0 + IL_003a: ldarg.2 + IL_003b: ldarg.3 + IL_003c: newobj instance void class NDesk.DBus.BusObject::'.ctor'(class NDesk.DBus.Connection, string, class NDesk.DBus.ObjectPath) + IL_0041: stloc.0 + IL_0042: ldloc.0 + IL_0043: ldarg.1 + IL_0044: newobj instance void class NDesk.DBus.DProxy::'.ctor'(class NDesk.DBus.BusObject, class [mscorlib]System.Type) + IL_0049: stloc.1 + IL_004a: ldloc.1 + IL_004b: callvirt instance object class [mscorlib]System.Runtime.Remoting.Proxies.RealProxy::GetTransparentProxy() + IL_0050: ret + } // end of method Connection::GetObject - .field assembly class [mscorlib]System.Collections.Generic.IEnumerator`1 '__0' - .field assembly valuetype NDesk.DBus.Authentication.SaslClient/AuthMech '__0' - .field assembly string '__1' - .field assembly unsigned int8[] '__1' - .field assembly string '__1' - .field assembly class NDesk.DBus.Authentication.AuthCommand '__2' - .field assembly class NDesk.DBus.Authentication.SaslClient $this - .field assembly class NDesk.DBus.Authentication.AuthCommand $current - .field assembly bool $disposing - .field assembly int32 $PC + // method line 1055 + .method public hidebysig + instance default !!T GetObject (string bus_name, class NDesk.DBus.ObjectPath path) cil managed + { + // Method begins at RVA 0xed59 + // Code size 24 (0x18) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldtoken !!T + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: ldarg.1 + IL_000c: ldarg.2 + IL_000d: call instance object class NDesk.DBus.Connection::GetObject(class [mscorlib]System.Type, string, class NDesk.DBus.ObjectPath) + IL_0012: unbox.any !!0 + IL_0017: ret + } // end of method Connection::GetObject - // method line 1348 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1056 + .method public hidebysig + instance default void Register (string bus_name, class NDesk.DBus.ObjectPath path, object obj) cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + // Method begins at RVA 0xed72 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.2 + IL_0002: ldarg.3 + IL_0003: call instance void class NDesk.DBus.Connection::Register(class NDesk.DBus.ObjectPath, object) + IL_0008: ret + } // end of method Connection::Register - // Method begins at RVA 0xecc3 - // Code size 7 (0x7) + // method line 1057 + .method public hidebysig + instance default object Unregister (string bus_name, class NDesk.DBus.ObjectPath path) cil managed + { + // Method begins at RVA 0xed7c + // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method c__Iterator0::.ctor + IL_0001: ldarg.2 + IL_0002: call instance object class NDesk.DBus.Connection::Unregister(class NDesk.DBus.ObjectPath) + IL_0007: ret + } // end of method Connection::Unregister - // method line 1349 - .method public final virtual hidebysig newslot - instance default bool MoveNext () cil managed + // method line 1058 + .method public hidebysig + instance default void Register (class NDesk.DBus.ObjectPath path, object obj) cil managed { - // Method begins at RVA 0xeccc - // Code size 576 (0x240) + // Method begins at RVA 0xed88 + // Code size 30 (0x1e) .maxstack 3 .locals init ( - unsigned int32 V_0) + class NDesk.DBus.ExportObject V_0) IL_0000: ldarg.0 - IL_0001: ldfld int32 NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$PC - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldc.i4.m1 - IL_0009: stfld int32 NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$PC - IL_000e: ldloc.0 - IL_000f: switch ( - IL_002d, - IL_00cd, - IL_0109, - IL_01b6, - IL_022b) - IL_0028: br IL_023c - - IL_002d: ldarg.0 - IL_002e: ldarg.0 - IL_002f: ldfld class NDesk.DBus.Authentication.SaslClient NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$this - IL_0034: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer::Peer - IL_0039: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class NDesk.DBus.Authentication.SaslPeer::GetEnumerator() - IL_003e: stfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__0' - IL_0043: ldarg.0 - IL_0044: ldc.i4.0 - IL_0045: stfld valuetype NDesk.DBus.Authentication.SaslClient/AuthMech NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__0' - IL_004a: ldarg.0 - IL_004b: ldfld class NDesk.DBus.Authentication.SaslClient NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$this - IL_0050: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer::Peer - IL_0055: ldc.i4.0 - IL_0056: stfld bool NDesk.DBus.Authentication.SaslPeer::isFinalRead - IL_005b: ldarg.0 - IL_005c: ldfld valuetype NDesk.DBus.Authentication.SaslClient/AuthMech NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__0' - IL_0061: brtrue IL_00d9 - - IL_0066: ldarg.0 - IL_0067: ldarg.0 - IL_0068: ldfld class NDesk.DBus.Authentication.SaslClient NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$this - IL_006d: ldfld string NDesk.DBus.Authentication.SaslClient::Identity - IL_0072: stfld string NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__1' - IL_0077: ldarg.0 - IL_0078: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_ASCII() - IL_007d: ldarg.0 - IL_007e: ldfld string NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__1' - IL_0083: callvirt instance unsigned int8[] class [mscorlib]System.Text.Encoding::GetBytes(string) - IL_0088: stfld unsigned int8[] NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__1' - IL_008d: ldarg.0 - IL_008e: ldarg.0 - IL_008f: ldfld unsigned int8[] NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__1' - IL_0094: call string class NDesk.DBus.Authentication.Sasl::ToHex(unsigned int8[]) - IL_0099: stfld string NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__1' - IL_009e: ldarg.0 - IL_009f: ldstr "AUTH EXTERNAL " - IL_00a4: ldarg.0 - IL_00a5: ldfld string NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__1' - IL_00aa: call string string::Concat(string, string) - IL_00af: newobj instance void class NDesk.DBus.Authentication.AuthCommand::'.ctor'(string) - IL_00b4: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$current - IL_00b9: ldarg.0 - IL_00ba: ldfld bool NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$disposing - IL_00bf: brtrue.s IL_00c8 - - IL_00c1: ldarg.0 - IL_00c2: ldc.i4.1 - IL_00c3: stfld int32 NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$PC - IL_00c8: br IL_023e - - IL_00cd: ldarg.0 - IL_00ce: ldc.i4.1 - IL_00cf: stfld valuetype NDesk.DBus.Authentication.SaslClient/AuthMech NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__0' - IL_00d4: br IL_0120 - - IL_00d9: ldarg.0 - IL_00da: ldfld valuetype NDesk.DBus.Authentication.SaslClient/AuthMech NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__0' - IL_00df: ldc.i4.1 - IL_00e0: bne.un IL_0115 - - IL_00e5: ldarg.0 - IL_00e6: ldstr "AUTH ANONYMOUS" - IL_00eb: newobj instance void class NDesk.DBus.Authentication.AuthCommand::'.ctor'(string) - IL_00f0: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$current - IL_00f5: ldarg.0 - IL_00f6: ldfld bool NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$disposing - IL_00fb: brtrue.s IL_0104 - - IL_00fd: ldarg.0 - IL_00fe: ldc.i4.2 - IL_00ff: stfld int32 NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$PC - IL_0104: br IL_023e - - IL_0109: ldarg.0 - IL_010a: ldc.i4.2 - IL_010b: stfld valuetype NDesk.DBus.Authentication.SaslClient/AuthMech NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__0' - IL_0110: br IL_0120 - - IL_0115: ldstr "Authentication failure" - IL_011a: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_011f: throw - IL_0120: ldarg.0 - IL_0121: ldfld class NDesk.DBus.Authentication.SaslClient NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$this - IL_0126: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer::Peer - IL_012b: ldc.i4.1 - IL_012c: stfld bool NDesk.DBus.Authentication.SaslPeer::isFinalRead - IL_0131: ldarg.0 - IL_0132: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__0' - IL_0137: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_013c: brtrue IL_0146 - - IL_0141: br IL_023c - - IL_0146: ldarg.0 - IL_0147: ldarg.0 - IL_0148: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__0' - IL_014d: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_0152: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__2' - IL_0157: ldarg.0 - IL_0158: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__2' - IL_015d: ldc.i4.0 - IL_015e: callvirt instance string class NDesk.DBus.Authentication.AuthCommand::get_Item(int32) - IL_0163: ldstr "REJECTED" - IL_0168: call bool string::op_Equality(string, string) - IL_016d: brfalse IL_0177 - - IL_0172: br IL_004a + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call class NDesk.DBus.ExportObject class NDesk.DBus.ExportObject::CreateExportObject(class NDesk.DBus.Connection, class NDesk.DBus.ObjectPath, object) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: ldc.i4.1 + IL_000b: callvirt instance void class NDesk.DBus.ExportObject::set_Registered(bool) + IL_0010: ldarg.0 + IL_0011: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::RegisteredObjects + IL_0016: ldarg.1 + IL_0017: ldloc.0 + IL_0018: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::set_Item(!0, !1) + IL_001d: ret + } // end of method Connection::Register - IL_0177: ldarg.0 - IL_0178: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__2' - IL_017d: ldc.i4.0 - IL_017e: callvirt instance string class NDesk.DBus.Authentication.AuthCommand::get_Item(int32) - IL_0183: ldstr "OK" - IL_0188: call bool string::op_Inequality(string, string) - IL_018d: brfalse IL_01bb + // method line 1059 + .method public hidebysig + instance default object Unregister (class NDesk.DBus.ObjectPath path) cil managed + { + // Method begins at RVA 0xedb4 + // Code size 75 (0x4b) + .maxstack 3 + .locals init ( + class NDesk.DBus.BusObject V_0, + class NDesk.DBus.ExportObject V_1) + IL_0000: ldarg.0 + IL_0001: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::RegisteredObjects + IL_0006: ldarg.1 + IL_0007: ldloca.s 0 + IL_0009: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) + IL_000e: brtrue IL_0029 - IL_0192: ldarg.0 - IL_0193: ldstr "ERROR" - IL_0198: newobj instance void class NDesk.DBus.Authentication.AuthCommand::'.ctor'(string) - IL_019d: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$current - IL_01a2: ldarg.0 - IL_01a3: ldfld bool NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$disposing - IL_01a8: brtrue.s IL_01b1 + IL_0013: ldstr "Cannot unregister " + IL_0018: ldarg.1 + IL_0019: ldstr " as it isn't registered" + IL_001e: call string string::Concat(object, object, object) + IL_0023: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0028: throw + IL_0029: ldarg.0 + IL_002a: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Connection::RegisteredObjects + IL_002f: ldarg.1 + IL_0030: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::Remove(!0) + IL_0035: pop + IL_0036: ldloc.0 + IL_0037: castclass NDesk.DBus.ExportObject + IL_003c: stloc.1 + IL_003d: ldloc.1 + IL_003e: ldc.i4.0 + IL_003f: callvirt instance void class NDesk.DBus.ExportObject::set_Registered(bool) + IL_0044: ldloc.1 + IL_0045: ldfld object NDesk.DBus.ExportObject::obj + IL_004a: ret + } // end of method Connection::Unregister - IL_01aa: ldarg.0 - IL_01ab: ldc.i4.3 - IL_01ac: stfld int32 NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$PC - IL_01b1: br IL_023e + // method line 1060 + .method famorassem virtual hidebysig newslot + instance default void AddMatch (string rule) cil managed + { + // Method begins at RVA 0xee0b + // Code size 1 (0x1) + .maxstack 8 + IL_0000: ret + } // end of method Connection::AddMatch - IL_01b6: br IL_004a + // method line 1061 + .method famorassem virtual hidebysig newslot + instance default void RemoveMatch (string rule) cil managed + { + // Method begins at RVA 0xee0d + // Code size 1 (0x1) + .maxstack 8 + IL_0000: ret + } // end of method Connection::RemoveMatch - IL_01bb: ldarg.0 - IL_01bc: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__2' - IL_01c1: ldc.i4.1 - IL_01c2: callvirt instance string class NDesk.DBus.Authentication.AuthCommand::get_Item(int32) - IL_01c7: ldsfld string [mscorlib]System.String::Empty - IL_01cc: call bool string::op_Equality(string, string) - IL_01d1: brfalse IL_01eb + // method line 1062 + .method assembly static hidebysig specialname + default valuetype NDesk.DBus.UUID get_MachineId () cil managed + { + // Method begins at RVA 0xee10 + // Code size 134 (0x86) + .maxstack 2 + .locals init ( + object V_0, + bool V_1, + valuetype [mscorlib]System.Nullable`1 V_2, + valuetype [mscorlib]System.Nullable`1 V_3, + valuetype NDesk.DBus.UUID V_4, + valuetype [mscorlib]System.Nullable`1 V_5) + IL_0000: ldsfld object NDesk.DBus.Connection::idReadLock + IL_0005: stloc.0 + IL_0006: ldc.i4.0 + IL_0007: stloc.1 + .try { // 1 + IL_0008: ldloc.0 + IL_0009: ldloca.s 1 + IL_000b: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) + IL_0010: ldsfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.Connection::machineId + IL_0015: stloc.2 + IL_0016: ldloca.s 2 + IL_0018: call instance bool valuetype [mscorlib]System.Nullable`1::get_HasValue() + IL_001d: brfalse IL_0036 - IL_01d6: ldarg.0 - IL_01d7: ldfld class NDesk.DBus.Authentication.SaslClient NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$this - IL_01dc: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero - IL_01e1: stfld valuetype NDesk.DBus.UUID NDesk.DBus.Authentication.SaslClient::ActualId - IL_01e6: br IL_0207 + IL_0022: ldsfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.Connection::machineId + IL_0027: stloc.3 + IL_0028: ldloca.s 3 + IL_002a: call instance !0 valuetype [mscorlib]System.Nullable`1::get_Value() + IL_002f: stloc.s 4 + IL_0031: leave IL_0083 - IL_01eb: ldarg.0 - IL_01ec: ldfld class NDesk.DBus.Authentication.SaslClient NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$this - IL_01f1: ldarg.0 - IL_01f2: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__2' - IL_01f7: ldc.i4.1 - IL_01f8: callvirt instance string class NDesk.DBus.Authentication.AuthCommand::get_Item(int32) - IL_01fd: call valuetype NDesk.DBus.UUID valuetype NDesk.DBus.UUID::Parse(string) - IL_0202: stfld valuetype NDesk.DBus.UUID NDesk.DBus.Authentication.SaslClient::ActualId - IL_0207: ldarg.0 - IL_0208: ldstr "BEGIN" - IL_020d: newobj instance void class NDesk.DBus.Authentication.AuthCommand::'.ctor'(string) - IL_0212: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$current - IL_0217: ldarg.0 - IL_0218: ldfld bool NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$disposing - IL_021d: brtrue.s IL_0226 + .try { // 0 + IL_0036: ldstr "/var/lib/dbus/machine-id" + IL_003b: call valuetype NDesk.DBus.UUID class NDesk.DBus.Connection::ReadMachineId(string) + IL_0040: newobj instance void valuetype [mscorlib]System.Nullable`1::'.ctor'(!0) + IL_0045: stsfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.Connection::machineId + IL_004a: leave IL_0064 - IL_021f: ldarg.0 - IL_0220: ldc.i4.4 - IL_0221: stfld int32 NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$PC - IL_0226: br IL_023e + } // end .try 0 + catch class [mscorlib]System.Object { // 0 + IL_004f: pop + IL_0050: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero + IL_0055: newobj instance void valuetype [mscorlib]System.Nullable`1::'.ctor'(!0) + IL_005a: stsfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.Connection::machineId + IL_005f: leave IL_0064 - IL_022b: br IL_023c + } // end handler 0 + IL_0064: ldsfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.Connection::machineId + IL_0069: stloc.s 5 + IL_006b: ldloca.s 5 + IL_006d: call instance !0 valuetype [mscorlib]System.Nullable`1::get_Value() + IL_0072: stloc.s 4 + IL_0074: leave IL_0083 - IL_0230: br IL_004a + } // end .try 1 + finally { // 1 + IL_0079: ldloc.1 + IL_007a: brfalse.s IL_0082 - IL_0235: ldarg.0 - IL_0236: ldc.i4.m1 - IL_0237: stfld int32 NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$PC - IL_023c: ldc.i4.0 - IL_023d: ret - IL_023e: ldc.i4.1 - IL_023f: ret - } // end of method c__Iterator0::MoveNext + IL_007c: ldloc.0 + IL_007d: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_0082: endfinally + } // end handler 1 + IL_0083: ldloc.s 4 + IL_0085: ret + } // end of method Connection::get_MachineId - // method line 1350 - .method private final virtual hidebysig newslot specialname - instance default class NDesk.DBus.Authentication.AuthCommand 'System.Collections.Generic.IEnumerator.get_Current' () cil managed + // method line 1063 + .method private static hidebysig + default valuetype NDesk.DBus.UUID ReadMachineId (string fname) cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0xef18 - .override method instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - // Code size 7 (0x7) - .maxstack 8 + // Method begins at RVA 0xeec0 + // Code size 119 (0x77) + .maxstack 5 + .locals init ( + class [mscorlib]System.IO.FileStream V_0, + unsigned int8[] V_1, + int32 V_2, + int32 V_3, + valuetype NDesk.DBus.UUID V_4) IL_0000: ldarg.0 - IL_0001: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$current - IL_0006: ret - } // end of method c__Iterator0::System.Collections.Generic.IEnumerator.get_Current + IL_0001: call class [mscorlib]System.IO.FileStream class [mscorlib]System.IO.File::OpenRead(string) + IL_0006: stloc.0 + .try { // 0 + IL_0007: ldc.i4.s 0x20 + IL_0009: newarr [mscorlib]System.Byte + IL_000e: stloc.1 + IL_000f: ldc.i4.0 + IL_0010: stloc.2 + IL_0011: br IL_0033 - // method line 1351 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0016: ldloc.0 + IL_0017: ldloc.1 + IL_0018: ldloc.2 + IL_0019: ldloc.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: ldloc.2 + IL_001d: sub + IL_001e: callvirt instance int32 class [mscorlib]System.IO.Stream::Read(unsigned int8[], int32, int32) + IL_0023: stloc.3 + IL_0024: ldloc.3 + IL_0025: brtrue IL_002f - // Method begins at RVA 0xef20 - .override class [mscorlib]System.Collections.IEnumerator::get_Current - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$current - IL_0006: ret - } // end of method c__Iterator0::System.Collections.IEnumerator.get_Current + IL_002a: leave IL_003c - // method line 1352 - .method public final virtual hidebysig newslot - instance default void Dispose () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_002f: ldloc.2 + IL_0030: ldloc.3 + IL_0031: add + IL_0032: stloc.2 + IL_0033: ldloc.2 + IL_0034: ldloc.1 + IL_0035: ldlen + IL_0036: conv.i4 + IL_0037: blt IL_0016 - // Method begins at RVA 0xef28 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$disposing - IL_0007: ldarg.0 - IL_0008: ldc.i4.m1 - IL_0009: stfld int32 NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$PC - IL_000e: ret - } // end of method c__Iterator0::Dispose + IL_003c: ldloc.2 + IL_003d: ldloc.1 + IL_003e: ldlen + IL_003f: conv.i4 + IL_0040: beq IL_0050 - // method line 1353 - .method public final virtual hidebysig newslot - instance default void Reset () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0045: ldstr "Insufficient data while reading GUID string" + IL_004a: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_004f: throw + IL_0050: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_ASCII() + IL_0055: ldloc.1 + IL_0056: callvirt instance string class [mscorlib]System.Text.Encoding::GetString(unsigned int8[]) + IL_005b: call valuetype NDesk.DBus.UUID valuetype NDesk.DBus.UUID::Parse(string) + IL_0060: stloc.s 4 + IL_0062: leave IL_0074 - // Method begins at RVA 0xef38 - // Code size 6 (0x6) - .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() - IL_0005: throw - } // end of method c__Iterator0::Reset + } // end .try 0 + finally { // 0 + IL_0067: ldloc.0 + IL_0068: brfalse IL_0073 - .property instance class NDesk.DBus.Authentication.AuthCommand 'System.Collections.Generic.IEnumerator.Current' () + IL_006d: ldloc.0 + IL_006e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0073: endfinally + } // end handler 0 + IL_0074: ldloc.s 4 + IL_0076: ret + } // end of method Connection::ReadMachineId + + .property instance class NDesk.DBus.Transports.Transport Transport () { - .get instance default class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'System.Collections.Generic.IEnumerator.get_Current' () + .get instance default class NDesk.DBus.Transports.Transport NDesk.DBus.Connection::get_Transport () + .set instance default void NDesk.DBus.Connection::set_Transport (class NDesk.DBus.Transports.Transport 'value') } - .property instance object System.Collections.IEnumerator.Current () + .property instance bool IsConnected () { - .get instance default object NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::System.Collections.IEnumerator.get_Current () + .get instance default bool NDesk.DBus.Connection::get_IsConnected () } - } // end of class c__Iterator0 - - } // end of class NDesk.DBus.Authentication.SaslClient + .property instance bool IsAuthenticated () + { + .get instance default bool NDesk.DBus.Connection::get_IsAuthenticated () + } + .property valuetype NDesk.DBus.UUID MachineId () + { + .get default valuetype NDesk.DBus.UUID NDesk.DBus.Connection::get_MachineId () + } + } // end of class NDesk.DBus.Connection } -.namespace NDesk.DBus.Authentication +.namespace NDesk.DBus { - .class private auto ansi beforefieldinit SaslServer - extends NDesk.DBus.Authentication.SaslPeer + .class private auto ansi abstract sealed beforefieldinit TypeDefiner + extends [mscorlib]System.Object { - .field public valuetype NDesk.DBus.UUID Guid - .field public int64 uid - .field private static class [System]System.Text.RegularExpressions.Regex authRegex - .field private static string[] supportedMechanisms - - // method line 1073 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xef3f - // Code size 18 (0x12) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero - IL_0006: stfld valuetype NDesk.DBus.UUID NDesk.DBus.Authentication.SaslServer::Guid - IL_000b: ldarg.0 - IL_000c: call instance void class NDesk.DBus.Authentication.SaslPeer::'.ctor'() - IL_0011: ret - } // end of method SaslServer::.ctor + .field private static class [mscorlib]System.Reflection.Emit.AssemblyBuilder asmBdef + .field private static class [mscorlib]System.Reflection.Emit.ModuleBuilder modBdef + .field private static unsigned int32 ifaceId + .field private static literal valuetype [mscorlib]System.Reflection.MethodAttributes ifaceMethAttr = int32(0x000005c6) - // method line 1074 - .method public virtual hidebysig - instance default class [mscorlib]System.Collections.Generic.IEnumerator`1 GetEnumerator () cil managed + // method line 1064 + .method private static hidebysig + default void InitHack () cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - // Method begins at RVA 0xef54 - // Code size 15 (0xf) - .maxstack 2 - .locals init ( - class NDesk.DBus.Authentication.SaslServer/'c__Iterator0' V_0) - IL_0000: newobj instance void class NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'.ctor'() - IL_0005: stloc.0 - IL_0006: ldloc.0 - IL_0007: ldarg.0 - IL_0008: stfld class NDesk.DBus.Authentication.SaslServer NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$this - IL_000d: ldloc.0 - IL_000e: ret - } // end of method SaslServer::GetEnumerator + // Code size 69 (0x45) + .maxstack 3 + IL_0000: ldsfld class [mscorlib]System.Reflection.Emit.AssemblyBuilder NDesk.DBus.TypeDefiner::asmBdef + IL_0005: ldnull + IL_0006: call bool class [mscorlib]System.Reflection.Assembly::op_Inequality(class [mscorlib]System.Reflection.Assembly, class [mscorlib]System.Reflection.Assembly) + IL_000b: brfalse IL_0011 - // method line 1075 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + IL_0010: ret + IL_0011: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_0016: ldstr "Defs" + IL_001b: newobj instance void class [mscorlib]System.Reflection.AssemblyName::'.ctor'(string) + IL_0020: ldc.i4.3 + IL_0021: callvirt instance class [mscorlib]System.Reflection.Emit.AssemblyBuilder class [mscorlib]System.AppDomain::DefineDynamicAssembly(class [mscorlib]System.Reflection.AssemblyName, valuetype [mscorlib]System.Reflection.Emit.AssemblyBuilderAccess) + IL_0026: stsfld class [mscorlib]System.Reflection.Emit.AssemblyBuilder NDesk.DBus.TypeDefiner::asmBdef + IL_002b: ldsfld class [mscorlib]System.Reflection.Emit.AssemblyBuilder NDesk.DBus.TypeDefiner::asmBdef + IL_0030: ldstr "Defs.dll" + IL_0035: ldstr "Defs.dll" + IL_003a: callvirt instance class [mscorlib]System.Reflection.Emit.ModuleBuilder class [mscorlib]System.Reflection.Emit.AssemblyBuilder::DefineDynamicModule(string, string) + IL_003f: stsfld class [mscorlib]System.Reflection.Emit.ModuleBuilder NDesk.DBus.TypeDefiner::modBdef + IL_0044: ret + } // end of method TypeDefiner::InitHack + + // method line 1065 + .method public static hidebysig + default class [mscorlib]System.Type Define (class NDesk.DBus.Introspection.Interface[] ifaces) cil managed { - // Method begins at RVA 0xef6f - // Code size 35 (0x23) - .maxstack 8 - IL_0000: ldstr "^AUTH\\s+(\\w+)(?:\\s+(.*))?$" - IL_0005: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) - IL_000a: stsfld class [System]System.Text.RegularExpressions.Regex NDesk.DBus.Authentication.SaslServer::authRegex - IL_000f: ldc.i4.1 - IL_0010: newarr [mscorlib]System.String - IL_0015: dup - IL_0016: ldc.i4.0 - IL_0017: ldstr "EXTERNAL" - IL_001c: stelem.ref - IL_001d: stsfld string[] NDesk.DBus.Authentication.SaslServer::supportedMechanisms - IL_0022: ret - } // end of method SaslServer::.cctor + // Method begins at RVA 0xefa8 + // Code size 101 (0x65) + .maxstack 4 + .locals init ( + string V_0, + class [mscorlib]System.Reflection.Emit.TypeBuilder V_1, + class NDesk.DBus.Introspection.Interface V_2, + class NDesk.DBus.Introspection.Interface[] V_3, + int32 V_4) + IL_0000: call void class NDesk.DBus.TypeDefiner::InitHack() + IL_0005: ldstr "Aggregate" + IL_000a: ldsfld unsigned int32 NDesk.DBus.TypeDefiner::ifaceId + IL_000f: dup + IL_0010: ldc.i4.1 + IL_0011: add + IL_0012: stsfld unsigned int32 NDesk.DBus.TypeDefiner::ifaceId + IL_0017: box [mscorlib]System.UInt32 + IL_001c: call string string::Concat(object, object) + IL_0021: stloc.0 + IL_0022: ldsfld class [mscorlib]System.Reflection.Emit.ModuleBuilder NDesk.DBus.TypeDefiner::modBdef + IL_0027: ldloc.0 + IL_0028: ldc.i4 161 + IL_002d: callvirt instance class [mscorlib]System.Reflection.Emit.TypeBuilder class [mscorlib]System.Reflection.Emit.ModuleBuilder::DefineType(string, valuetype [mscorlib]System.Reflection.TypeAttributes) + IL_0032: stloc.1 + IL_0033: ldarg.0 + IL_0034: stloc.3 + IL_0035: ldc.i4.0 + IL_0036: stloc.s 4 + IL_0038: br IL_0054 - .class nested private auto ansi sealed beforefieldinit 'c__Iterator0' - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator, [mscorlib]System.IDisposable, class [mscorlib]System.Collections.Generic.IEnumerator`1 { - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_003d: ldloc.3 + IL_003e: ldloc.s 4 + IL_0040: ldelem.ref + IL_0041: stloc.2 + IL_0042: ldloc.1 + IL_0043: ldloc.2 + IL_0044: call class [mscorlib]System.Type class NDesk.DBus.TypeDefiner::Define(class NDesk.DBus.Introspection.Interface) + IL_0049: callvirt instance void class [mscorlib]System.Reflection.Emit.TypeBuilder::AddInterfaceImplementation(class [mscorlib]System.Type) + IL_004e: ldloc.s 4 + IL_0050: ldc.i4.1 + IL_0051: add + IL_0052: stloc.s 4 + IL_0054: ldloc.s 4 + IL_0056: ldloc.3 + IL_0057: ldlen + IL_0058: conv.i4 + IL_0059: blt IL_003d - .field assembly class [mscorlib]System.Collections.Generic.IEnumerator`1 '__0' - .field assembly class NDesk.DBus.Authentication.AuthCommand '__1' - .field assembly class [System]System.Text.RegularExpressions.Match '__1' - .field assembly string '__1' - .field assembly string '__1' - .field assembly class NDesk.DBus.Authentication.SaslServer $this - .field assembly class NDesk.DBus.Authentication.AuthCommand $current - .field assembly bool $disposing - .field assembly int32 $PC + IL_005e: ldloc.1 + IL_005f: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Emit.TypeBuilder::CreateType() + IL_0064: ret + } // end of method TypeDefiner::Define - // method line 1354 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1066 + .method private static hidebysig + default class [mscorlib]System.Type Define (class NDesk.DBus.Introspection.Interface iface) cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + // Method begins at RVA 0xf01c + // Code size 132 (0x84) + .maxstack 5 + .locals init ( + int32 V_0, + string V_1, + string V_2, + class [mscorlib]System.Reflection.Emit.TypeBuilder V_3) + IL_0000: call void class NDesk.DBus.TypeDefiner::InitHack() + IL_0005: ldarg.0 + IL_0006: ldfld string NDesk.DBus.Introspection.Interface::Name + IL_000b: ldc.i4.s 0x2e + IL_000d: callvirt instance int32 string::LastIndexOf(char) + IL_0012: stloc.0 + IL_0013: ldarg.0 + IL_0014: ldfld string NDesk.DBus.Introspection.Interface::Name + IL_0019: ldc.i4.0 + IL_001a: ldloc.0 + IL_001b: callvirt instance string string::Substring(int32, int32) + IL_0020: stloc.1 + IL_0021: ldarg.0 + IL_0022: ldfld string NDesk.DBus.Introspection.Interface::Name + IL_0027: ldloc.0 + IL_0028: ldc.i4.1 + IL_0029: add + IL_002a: callvirt instance string string::Substring(int32) + IL_002f: stloc.2 + IL_0030: ldloc.1 + IL_0031: ldc.i4.s 0x2e + IL_0033: ldsfld char [mscorlib]System.Type::Delimiter + IL_0038: callvirt instance string string::Replace(char, char) + IL_003d: stloc.1 + IL_003e: ldsfld class [mscorlib]System.Reflection.Emit.ModuleBuilder NDesk.DBus.TypeDefiner::modBdef + IL_0043: ldc.i4.4 + IL_0044: newarr [mscorlib]System.Object + IL_0049: dup + IL_004a: ldc.i4.0 + IL_004b: ldloc.1 + IL_004c: stelem.ref + IL_004d: dup + IL_004e: ldc.i4.1 + IL_004f: ldsfld char [mscorlib]System.Type::Delimiter + IL_0054: box [mscorlib]System.Char + IL_0059: stelem.ref + IL_005a: dup + IL_005b: ldc.i4.2 + IL_005c: ldstr "I" + IL_0061: stelem.ref + IL_0062: dup + IL_0063: ldc.i4.3 + IL_0064: ldloc.2 + IL_0065: stelem.ref + IL_0066: call string string::Concat(object[]) + IL_006b: ldc.i4 161 + IL_0070: callvirt instance class [mscorlib]System.Reflection.Emit.TypeBuilder class [mscorlib]System.Reflection.Emit.ModuleBuilder::DefineType(string, valuetype [mscorlib]System.Reflection.TypeAttributes) + IL_0075: stloc.3 + IL_0076: ldloc.3 + IL_0077: ldarg.0 + IL_0078: call void class NDesk.DBus.TypeDefiner::Define(class [mscorlib]System.Reflection.Emit.TypeBuilder, class NDesk.DBus.Introspection.Interface) + IL_007d: ldloc.3 + IL_007e: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Emit.TypeBuilder::CreateType() + IL_0083: ret + } // end of method TypeDefiner::Define - // Method begins at RVA 0xef93 - // Code size 7 (0x7) + // method line 1067 + .method public static hidebysig + default void Save () cil managed + { + // Method begins at RVA 0xf0ac + // Code size 16 (0x10) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method c__Iterator0::.ctor + IL_0000: ldsfld class [mscorlib]System.Reflection.Emit.AssemblyBuilder NDesk.DBus.TypeDefiner::asmBdef + IL_0005: ldstr "Defs.dll" + IL_000a: callvirt instance void class [mscorlib]System.Reflection.Emit.AssemblyBuilder::Save(string) + IL_000f: ret + } // end of method TypeDefiner::Save - // method line 1355 - .method public final virtual hidebysig newslot - instance default bool MoveNext () cil managed + // method line 1068 + .method public static hidebysig + default class [mscorlib]System.Type DefineHandler (class [mscorlib]System.Reflection.Emit.ModuleBuilder modB, class NDesk.DBus.Introspection.Signal declSignal) cil managed { - // Method begins at RVA 0xef9c - // Code size 754 (0x2f2) - .maxstack 4 + // Method begins at RVA 0xf0c0 + // Code size 130 (0x82) + .maxstack 7 .locals init ( - unsigned int32 V_0, - unsigned int8[] V_1, - string V_2) - IL_0000: ldarg.0 - IL_0001: ldfld int32 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$PC - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldc.i4.m1 - IL_0009: stfld int32 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$PC - IL_000e: ldloc.0 - IL_000f: switch ( - IL_0039, - IL_008b, - IL_00f0, - IL_01c1, - IL_0204, - IL_0248, - IL_0284, - IL_02d8) - IL_0034: br IL_02ee + string V_0, + class [mscorlib]System.Reflection.Emit.TypeBuilder V_1, + class [mscorlib]System.Reflection.Emit.ConstructorBuilder V_2, + class [mscorlib]System.Reflection.Emit.MethodBuilder V_3) + IL_0000: ldarg.1 + IL_0001: ldfld string NDesk.DBus.Introspection.Member::Name + IL_0006: ldstr "Handler" + IL_000b: call string string::Concat(string, string) + IL_0010: stloc.0 + IL_0011: ldarg.0 + IL_0012: ldloc.0 + IL_0013: ldc.i4 131329 + IL_0018: ldtoken [mscorlib]System.MulticastDelegate + IL_001d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0022: callvirt instance class [mscorlib]System.Reflection.Emit.TypeBuilder class [mscorlib]System.Reflection.Emit.ModuleBuilder::DefineType(string, valuetype [mscorlib]System.Reflection.TypeAttributes, class [mscorlib]System.Type) + IL_0027: stloc.1 + IL_0028: ldloc.1 + IL_0029: ldc.i4 4230 + IL_002e: ldc.i4.1 + IL_002f: ldc.i4.2 + IL_0030: newarr [mscorlib]System.Type + IL_0035: dup + IL_0036: ldc.i4.0 + IL_0037: ldtoken [mscorlib]System.Object + IL_003c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0041: stelem.ref + IL_0042: dup + IL_0043: ldc.i4.1 + IL_0044: ldtoken [mscorlib]System.IntPtr + IL_0049: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_004e: stelem.ref + IL_004f: callvirt instance class [mscorlib]System.Reflection.Emit.ConstructorBuilder class [mscorlib]System.Reflection.Emit.TypeBuilder::DefineConstructor(valuetype [mscorlib]System.Reflection.MethodAttributes, valuetype [mscorlib]System.Reflection.CallingConventions, class [mscorlib]System.Type[]) + IL_0054: stloc.2 + IL_0055: ldloc.2 + IL_0056: ldc.i4.3 + IL_0057: callvirt instance void class [mscorlib]System.Reflection.Emit.ConstructorBuilder::SetImplementationFlags(valuetype [mscorlib]System.Reflection.MethodImplAttributes) + IL_005c: ldloc.1 + IL_005d: ldstr "Invoke" + IL_0062: ldc.i4 454 + IL_0067: ldarg.1 + IL_0068: ldfld class NDesk.DBus.Introspection.Argument[] NDesk.DBus.Introspection.Method::Arguments + IL_006d: ldc.i4.1 + IL_006e: call class [mscorlib]System.Reflection.Emit.MethodBuilder class NDesk.DBus.TypeDefiner::DefineSignal(class [mscorlib]System.Reflection.Emit.TypeBuilder, string, valuetype [mscorlib]System.Reflection.MethodAttributes, class NDesk.DBus.Introspection.Argument[], bool) + IL_0073: stloc.3 + IL_0074: ldloc.3 + IL_0075: ldc.i4.3 + IL_0076: callvirt instance void class [mscorlib]System.Reflection.Emit.MethodBuilder::SetImplementationFlags(valuetype [mscorlib]System.Reflection.MethodImplAttributes) + IL_007b: ldloc.1 + IL_007c: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Emit.TypeBuilder::CreateType() + IL_0081: ret + } // end of method TypeDefiner::DefineHandler - IL_0039: ldarg.0 - IL_003a: ldarg.0 - IL_003b: ldfld class NDesk.DBus.Authentication.SaslServer NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$this - IL_0040: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer::Peer - IL_0045: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class NDesk.DBus.Authentication.SaslPeer::GetEnumerator() - IL_004a: stfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__0' - IL_004f: ldarg.0 - IL_0050: ldfld class NDesk.DBus.Authentication.SaslServer NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$this - IL_0055: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer::Peer - IL_005a: ldc.i4.0 - IL_005b: stfld bool NDesk.DBus.Authentication.SaslPeer::isFinalRead - IL_0060: ldarg.0 - IL_0061: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__0' - IL_0066: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_006b: brtrue IL_0090 + // method line 1069 + .method public static hidebysig + default class [mscorlib]System.Reflection.Emit.MethodBuilder DefineSignal (class [mscorlib]System.Reflection.Emit.TypeBuilder typeB, string name, valuetype [mscorlib]System.Reflection.MethodAttributes mattr, class NDesk.DBus.Introspection.Argument[] args, bool isSignal) cil managed + { + // Method begins at RVA 0xf150 + // Code size 188 (0xbc) + .maxstack 5 + .locals init ( + class [mscorlib]System.Collections.Generic.List`1 V_0, + class NDesk.DBus.Introspection.Argument V_1, + class NDesk.DBus.Introspection.Argument[] V_2, + int32 V_3, + valuetype NDesk.DBus.Signature V_4, + class [mscorlib]System.Type V_5, + class [mscorlib]System.Reflection.Emit.MethodBuilder V_6, + int32 V_7, + class NDesk.DBus.Introspection.Argument V_8, + class NDesk.DBus.Introspection.Argument[] V_9, + int32 V_10) + IL_0000: newobj instance void class [mscorlib]System.Collections.Generic.List`1::'.ctor'() + IL_0005: stloc.0 + IL_0006: ldarg.3 + IL_0007: brfalse IL_0040 - IL_0070: ldarg.0 - IL_0071: ldnull - IL_0072: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$current - IL_0077: ldarg.0 - IL_0078: ldfld bool NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$disposing - IL_007d: brtrue.s IL_0086 + IL_000c: ldarg.3 + IL_000d: stloc.2 + IL_000e: ldc.i4.0 + IL_000f: stloc.3 + IL_0010: br IL_0037 - IL_007f: ldarg.0 - IL_0080: ldc.i4.1 - IL_0081: stfld int32 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$PC - IL_0086: br IL_02f0 + IL_0015: ldloc.2 + IL_0016: ldloc.3 + IL_0017: ldelem.ref + IL_0018: stloc.1 + IL_0019: ldloc.0 + IL_001a: ldloca.s 4 + IL_001c: ldloc.1 + IL_001d: ldfld string NDesk.DBus.Introspection.Argument::Type + IL_0022: call instance void valuetype NDesk.DBus.Signature::'.ctor'(string) + IL_0027: ldloca.s 4 + IL_0029: call instance class [mscorlib]System.Type valuetype NDesk.DBus.Signature::ToType() + IL_002e: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Add(!0) + IL_0033: ldloc.3 + IL_0034: ldc.i4.1 + IL_0035: add + IL_0036: stloc.3 + IL_0037: ldloc.3 + IL_0038: ldloc.2 + IL_0039: ldlen + IL_003a: conv.i4 + IL_003b: blt IL_0015 - IL_008b: br IL_02ee + IL_0040: ldtoken [mscorlib]System.Void + IL_0045: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_004a: stloc.s 5 + IL_004c: ldarg.0 + IL_004d: ldarg.1 + IL_004e: ldarg.2 + IL_004f: ldloc.s 5 + IL_0051: ldloc.0 + IL_0052: callvirt instance !0[] class [mscorlib]System.Collections.Generic.List`1::ToArray() + IL_0057: callvirt instance class [mscorlib]System.Reflection.Emit.MethodBuilder class [mscorlib]System.Reflection.Emit.TypeBuilder::DefineMethod(string, valuetype [mscorlib]System.Reflection.MethodAttributes, class [mscorlib]System.Type, class [mscorlib]System.Type[]) + IL_005c: stloc.s 6 + IL_005e: ldarg.3 + IL_005f: brfalse IL_00b9 - IL_0090: ldarg.0 - IL_0091: ldarg.0 - IL_0092: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__0' - IL_0097: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_009c: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' - IL_00a1: ldarg.0 - IL_00a2: ldsfld class [System]System.Text.RegularExpressions.Regex NDesk.DBus.Authentication.SaslServer::authRegex - IL_00a7: ldarg.0 - IL_00a8: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' - IL_00ad: ldfld string NDesk.DBus.Authentication.AuthCommand::Value - IL_00b2: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) - IL_00b7: stfld class [System]System.Text.RegularExpressions.Match NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' - IL_00bc: ldarg.0 - IL_00bd: ldfld class [System]System.Text.RegularExpressions.Match NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' - IL_00c2: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() - IL_00c7: brtrue IL_00f5 + IL_0064: ldc.i4.0 + IL_0065: stloc.s 7 + IL_0067: ldarg.3 + IL_0068: stloc.s 9 + IL_006a: ldc.i4.0 + IL_006b: stloc.s 10 + IL_006d: br IL_00ae - IL_00cc: ldarg.0 - IL_00cd: ldstr "ERROR" - IL_00d2: newobj instance void class NDesk.DBus.Authentication.AuthCommand::'.ctor'(string) - IL_00d7: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$current - IL_00dc: ldarg.0 - IL_00dd: ldfld bool NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$disposing - IL_00e2: brtrue.s IL_00eb + IL_0072: ldloc.s 9 + IL_0074: ldloc.s 10 + IL_0076: ldelem.ref + IL_0077: stloc.s 8 + IL_0079: ldloc.s 6 + IL_007b: ldloc.s 7 + IL_007d: ldc.i4.1 + IL_007e: add + IL_007f: dup + IL_0080: stloc.s 7 + IL_0082: ldc.i4.1 + IL_0083: ldloc.s 8 + IL_0085: ldfld string NDesk.DBus.Introspection.Argument::Name + IL_008a: dup + IL_008b: brtrue IL_00a2 - IL_00e4: ldarg.0 - IL_00e5: ldc.i4.2 - IL_00e6: stfld int32 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$PC - IL_00eb: br IL_02f0 + IL_0090: pop + IL_0091: ldstr "arg" + IL_0096: ldloc.s 7 + IL_0098: box [mscorlib]System.Int32 + IL_009d: call string string::Concat(object, object) + IL_00a2: callvirt instance class [mscorlib]System.Reflection.Emit.ParameterBuilder class [mscorlib]System.Reflection.Emit.MethodBuilder::DefineParameter(int32, valuetype [mscorlib]System.Reflection.ParameterAttributes, string) + IL_00a7: pop + IL_00a8: ldloc.s 10 + IL_00aa: ldc.i4.1 + IL_00ab: add + IL_00ac: stloc.s 10 + IL_00ae: ldloc.s 10 + IL_00b0: ldloc.s 9 + IL_00b2: ldlen + IL_00b3: conv.i4 + IL_00b4: blt IL_0072 - IL_00f0: br IL_004f + IL_00b9: ldloc.s 6 + IL_00bb: ret + } // end of method TypeDefiner::DefineSignal - IL_00f5: ldarg.0 - IL_00f6: ldarg.0 - IL_00f7: ldfld class [System]System.Text.RegularExpressions.Match NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' - IL_00fc: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_0101: ldc.i4.1 - IL_0102: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(int32) - IL_0107: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_010c: stfld string NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' - IL_0111: ldarg.0 - IL_0112: ldarg.0 - IL_0113: ldfld class [System]System.Text.RegularExpressions.Match NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' - IL_0118: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_011d: ldc.i4.2 - IL_011e: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(int32) - IL_0123: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_0128: stfld string NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' - IL_012d: ldarg.0 - IL_012e: ldfld string NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' - IL_0133: ldstr "EXTERNAL" - IL_0138: call bool string::op_Equality(string, string) - IL_013d: brfalse IL_0189 + // method line 1070 + .method public static hidebysig + default class [mscorlib]System.Reflection.Emit.MethodBuilder DefineMethod (class [mscorlib]System.Reflection.Emit.TypeBuilder typeB, string name, valuetype [mscorlib]System.Reflection.MethodAttributes mattr, class NDesk.DBus.Introspection.Argument[] args, bool isSignal) cil managed + { + // Method begins at RVA 0xf218 + // Code size 219 (0xdb) + .maxstack 5 + .locals init ( + class [mscorlib]System.Collections.Generic.List`1 V_0, + int32 V_1, + class NDesk.DBus.Introspection.Argument V_2, + valuetype NDesk.DBus.Signature V_3, + class [mscorlib]System.Type V_4, + class [mscorlib]System.Reflection.Emit.MethodBuilder V_5, + int32 V_6, + class NDesk.DBus.Introspection.Argument V_7, + valuetype [mscorlib]System.Reflection.ParameterAttributes V_8) + IL_0000: newobj instance void class [mscorlib]System.Collections.Generic.List`1::'.ctor'() + IL_0005: stloc.0 + IL_0006: ldarg.3 + IL_0007: brfalse IL_0057 - .try { // 0 - IL_0142: ldarg.0 - IL_0143: ldfld string NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' - IL_0148: call unsigned int8[] class NDesk.DBus.Authentication.Sasl::FromHex(string) - IL_014d: stloc.1 - IL_014e: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_ASCII() - IL_0153: ldloc.1 - IL_0154: callvirt instance string class [mscorlib]System.Text.Encoding::GetString(unsigned int8[]) - IL_0159: stloc.2 - IL_015a: ldarg.0 - IL_015b: ldfld class NDesk.DBus.Authentication.SaslServer NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$this - IL_0160: ldloc.2 - IL_0161: call unsigned int32 unsigned int32::Parse(string) - IL_0166: conv.u8 - IL_0167: stfld int64 NDesk.DBus.Authentication.SaslServer::uid - IL_016c: leave IL_0184 + IL_000c: ldc.i4.0 + IL_000d: stloc.1 + IL_000e: br IL_004e - } // end .try 0 - catch class [mscorlib]System.Object { // 0 - IL_0171: pop - IL_0172: ldarg.0 - IL_0173: ldfld class NDesk.DBus.Authentication.SaslServer NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$this - IL_0178: ldc.i4.0 - IL_0179: conv.i8 - IL_017a: stfld int64 NDesk.DBus.Authentication.SaslServer::uid - IL_017f: leave IL_0184 + IL_0013: ldarg.3 + IL_0014: ldloc.1 + IL_0015: ldelem.ref + IL_0016: stloc.2 + IL_0017: ldloca.s 3 + IL_0019: ldloc.2 + IL_001a: ldfld string NDesk.DBus.Introspection.Argument::Type + IL_001f: call instance void valuetype NDesk.DBus.Signature::'.ctor'(string) + IL_0024: ldloca.s 3 + IL_0026: call instance class [mscorlib]System.Type valuetype NDesk.DBus.Signature::ToType() + IL_002b: stloc.s 4 + IL_002d: ldloc.2 + IL_002e: ldfld valuetype NDesk.DBus.Introspection.ArgDirection NDesk.DBus.Introspection.Argument::Direction + IL_0033: ldc.i4.1 + IL_0034: bne.un IL_0042 - } // end handler 0 - IL_0184: br IL_01c6 + IL_0039: ldloc.s 4 + IL_003b: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::MakeByRefType() + IL_0040: stloc.s 4 + IL_0042: ldloc.0 + IL_0043: ldloc.s 4 + IL_0045: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Add(!0) + IL_004a: ldloc.1 + IL_004b: ldc.i4.1 + IL_004c: add + IL_004d: stloc.1 + IL_004e: ldloc.1 + IL_004f: ldarg.3 + IL_0050: ldlen + IL_0051: conv.i4 + IL_0052: bne.un IL_0013 - IL_0189: ldarg.0 - IL_018a: ldstr "REJECTED " - IL_018f: ldstr " " - IL_0194: ldsfld string[] NDesk.DBus.Authentication.SaslServer::supportedMechanisms - IL_0199: call string string::Join(string, string[]) - IL_019e: call string string::Concat(string, string) - IL_01a3: newobj instance void class NDesk.DBus.Authentication.AuthCommand::'.ctor'(string) - IL_01a8: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$current - IL_01ad: ldarg.0 - IL_01ae: ldfld bool NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$disposing - IL_01b3: brtrue.s IL_01bc + IL_0057: ldarg.0 + IL_0058: ldarg.1 + IL_0059: ldarg.2 + IL_005a: ldtoken [mscorlib]System.Void + IL_005f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0064: ldloc.0 + IL_0065: callvirt instance !0[] class [mscorlib]System.Collections.Generic.List`1::ToArray() + IL_006a: callvirt instance class [mscorlib]System.Reflection.Emit.MethodBuilder class [mscorlib]System.Reflection.Emit.TypeBuilder::DefineMethod(string, valuetype [mscorlib]System.Reflection.MethodAttributes, class [mscorlib]System.Type, class [mscorlib]System.Type[]) + IL_006f: stloc.s 5 + IL_0071: ldarg.3 + IL_0072: brfalse IL_00d8 - IL_01b5: ldarg.0 - IL_01b6: ldc.i4.3 - IL_01b7: stfld int32 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$PC - IL_01bc: br IL_02f0 + IL_0077: ldc.i4.0 + IL_0078: stloc.s 6 + IL_007a: br IL_00ce - IL_01c1: br IL_004f + IL_007f: ldarg.3 + IL_0080: ldloc.s 6 + IL_0082: ldelem.ref + IL_0083: stloc.s 7 + IL_0085: ldloc.s 7 + IL_0087: ldfld valuetype NDesk.DBus.Introspection.ArgDirection NDesk.DBus.Introspection.Argument::Direction + IL_008c: ldc.i4.1 + IL_008d: bne.un IL_0098 - IL_01c6: ldarg.0 - IL_01c7: ldfld class NDesk.DBus.Authentication.SaslServer NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$this - IL_01cc: ldfld valuetype NDesk.DBus.UUID NDesk.DBus.Authentication.SaslServer::Guid - IL_01d1: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero - IL_01d6: call bool valuetype NDesk.DBus.UUID::op_Equality(valuetype NDesk.DBus.UUID, valuetype NDesk.DBus.UUID) - IL_01db: brfalse IL_0209 + IL_0092: ldc.i4.2 + IL_0093: br IL_0099 - IL_01e0: ldarg.0 - IL_01e1: ldstr "OK" - IL_01e6: newobj instance void class NDesk.DBus.Authentication.AuthCommand::'.ctor'(string) - IL_01eb: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$current - IL_01f0: ldarg.0 - IL_01f1: ldfld bool NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$disposing - IL_01f6: brtrue.s IL_01ff + IL_0098: ldc.i4.1 + IL_0099: stloc.s 8 + IL_009b: ldloc.s 5 + IL_009d: ldloc.s 6 + IL_009f: ldc.i4.1 + IL_00a0: add + IL_00a1: ldloc.s 8 + IL_00a3: ldloc.s 7 + IL_00a5: ldfld string NDesk.DBus.Introspection.Argument::Name + IL_00aa: dup + IL_00ab: brtrue IL_00c2 - IL_01f8: ldarg.0 - IL_01f9: ldc.i4.4 - IL_01fa: stfld int32 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$PC - IL_01ff: br IL_02f0 + IL_00b0: pop + IL_00b1: ldstr "arg" + IL_00b6: ldloc.s 6 + IL_00b8: box [mscorlib]System.Int32 + IL_00bd: call string string::Concat(object, object) + IL_00c2: callvirt instance class [mscorlib]System.Reflection.Emit.ParameterBuilder class [mscorlib]System.Reflection.Emit.MethodBuilder::DefineParameter(int32, valuetype [mscorlib]System.Reflection.ParameterAttributes, string) + IL_00c7: pop + IL_00c8: ldloc.s 6 + IL_00ca: ldc.i4.1 + IL_00cb: add + IL_00cc: stloc.s 6 + IL_00ce: ldloc.s 6 + IL_00d0: ldarg.3 + IL_00d1: ldlen + IL_00d2: conv.i4 + IL_00d3: bne.un IL_007f - IL_0204: br IL_0248 + IL_00d8: ldloc.s 5 + IL_00da: ret + } // end of method TypeDefiner::DefineMethod - IL_0209: ldarg.0 - IL_020a: ldstr "OK " - IL_020f: ldarg.0 - IL_0210: ldfld class NDesk.DBus.Authentication.SaslServer NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$this - IL_0215: ldflda valuetype NDesk.DBus.UUID NDesk.DBus.Authentication.SaslServer::Guid - IL_021a: constrained. NDesk.DBus.UUID - IL_0220: callvirt instance string object::ToString() - IL_0225: call string string::Concat(string, string) - IL_022a: newobj instance void class NDesk.DBus.Authentication.AuthCommand::'.ctor'(string) - IL_022f: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$current - IL_0234: ldarg.0 - IL_0235: ldfld bool NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$disposing - IL_023a: brtrue.s IL_0243 + // method line 1071 + .method public static hidebysig + default void Define (class [mscorlib]System.Reflection.Emit.TypeBuilder typeB, class NDesk.DBus.Introspection.Interface iface) cil managed + { + // Method begins at RVA 0xf300 + // Code size 530 (0x212) + .maxstack 9 + .locals init ( + class NDesk.DBus.Introspection.Method V_0, + class NDesk.DBus.Introspection.Method[] V_1, + int32 V_2, + class NDesk.DBus.Introspection.Property V_3, + class NDesk.DBus.Introspection.Property[] V_4, + int32 V_5, + class [mscorlib]System.Type V_6, + valuetype NDesk.DBus.Signature V_7, + class [mscorlib]System.Reflection.Emit.PropertyBuilder V_8, + class NDesk.DBus.Introspection.Signal V_9, + class NDesk.DBus.Introspection.Signal[] V_10, + int32 V_11, + class [mscorlib]System.Type V_12, + class [mscorlib]System.Reflection.Emit.EventBuilder V_13, + class [mscorlib]System.Reflection.ConstructorInfo V_14, + class [mscorlib]System.Reflection.Emit.CustomAttributeBuilder V_15) + IL_0000: ldarg.1 + IL_0001: ldfld class NDesk.DBus.Introspection.Method[] NDesk.DBus.Introspection.Interface::Methods + IL_0006: stloc.1 + IL_0007: ldc.i4.0 + IL_0008: stloc.2 + IL_0009: br IL_002f - IL_023c: ldarg.0 - IL_023d: ldc.i4.5 - IL_023e: stfld int32 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$PC - IL_0243: br IL_02f0 + IL_000e: ldloc.1 + IL_000f: ldloc.2 + IL_0010: ldelem.ref + IL_0011: stloc.0 + IL_0012: ldarg.0 + IL_0013: ldloc.0 + IL_0014: ldfld string NDesk.DBus.Introspection.Member::Name + IL_0019: ldc.i4 1478 + IL_001e: ldloc.0 + IL_001f: ldfld class NDesk.DBus.Introspection.Argument[] NDesk.DBus.Introspection.Method::Arguments + IL_0024: ldc.i4.0 + IL_0025: call class [mscorlib]System.Reflection.Emit.MethodBuilder class NDesk.DBus.TypeDefiner::DefineMethod(class [mscorlib]System.Reflection.Emit.TypeBuilder, string, valuetype [mscorlib]System.Reflection.MethodAttributes, class NDesk.DBus.Introspection.Argument[], bool) + IL_002a: pop + IL_002b: ldloc.2 + IL_002c: ldc.i4.1 + IL_002d: add + IL_002e: stloc.2 + IL_002f: ldloc.2 + IL_0030: ldloc.1 + IL_0031: ldlen + IL_0032: conv.i4 + IL_0033: blt IL_000e - IL_0248: ldarg.0 - IL_0249: ldfld class NDesk.DBus.Authentication.SaslServer NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$this - IL_024e: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer::Peer - IL_0253: ldc.i4.1 - IL_0254: stfld bool NDesk.DBus.Authentication.SaslPeer::isFinalRead - IL_0259: ldarg.0 - IL_025a: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__0' - IL_025f: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0264: brtrue IL_0289 + IL_0038: ldarg.1 + IL_0039: ldfld class NDesk.DBus.Introspection.Property[] NDesk.DBus.Introspection.Interface::Properties + IL_003e: brfalse IL_011c - IL_0269: ldarg.0 - IL_026a: ldnull - IL_026b: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$current - IL_0270: ldarg.0 - IL_0271: ldfld bool NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$disposing - IL_0276: brtrue.s IL_027f + IL_0043: ldarg.1 + IL_0044: ldfld class NDesk.DBus.Introspection.Property[] NDesk.DBus.Introspection.Interface::Properties + IL_0049: stloc.s 4 + IL_004b: ldc.i4.0 + IL_004c: stloc.s 5 + IL_004e: br IL_0111 - IL_0278: ldarg.0 - IL_0279: ldc.i4.6 - IL_027a: stfld int32 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$PC - IL_027f: br IL_02f0 + IL_0053: ldloc.s 4 + IL_0055: ldloc.s 5 + IL_0057: ldelem.ref + IL_0058: stloc.3 + IL_0059: ldloca.s 7 + IL_005b: ldloc.3 + IL_005c: ldfld string NDesk.DBus.Introspection.Property::Type + IL_0061: call instance void valuetype NDesk.DBus.Signature::'.ctor'(string) + IL_0066: ldloca.s 7 + IL_0068: call instance class [mscorlib]System.Type valuetype NDesk.DBus.Signature::ToType() + IL_006d: stloc.s 6 + IL_006f: ldarg.0 + IL_0070: ldloc.3 + IL_0071: ldfld string NDesk.DBus.Introspection.Member::Name + IL_0076: ldc.i4.0 + IL_0077: ldloc.s 6 + IL_0079: ldsfld class [mscorlib]System.Type[] [mscorlib]System.Type::EmptyTypes + IL_007e: callvirt instance class [mscorlib]System.Reflection.Emit.PropertyBuilder class [mscorlib]System.Reflection.Emit.TypeBuilder::DefineProperty(string, valuetype [mscorlib]System.Reflection.PropertyAttributes, class [mscorlib]System.Type, class [mscorlib]System.Type[]) + IL_0083: stloc.s 8 + IL_0085: ldloc.3 + IL_0086: ldfld valuetype NDesk.DBus.Introspection.propertyAccess NDesk.DBus.Introspection.Property::Access + IL_008b: brfalse IL_009c - IL_0284: br IL_02ee + IL_0090: ldloc.3 + IL_0091: ldfld valuetype NDesk.DBus.Introspection.propertyAccess NDesk.DBus.Introspection.Property::Access + IL_0096: ldc.i4.2 + IL_0097: bne.un IL_00c5 - IL_0289: ldarg.0 - IL_028a: ldarg.0 - IL_028b: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__0' - IL_0290: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_0295: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' - IL_029a: ldarg.0 - IL_029b: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' - IL_02a0: ldfld string NDesk.DBus.Authentication.AuthCommand::Value - IL_02a5: ldstr "BEGIN" - IL_02aa: call bool string::op_Inequality(string, string) - IL_02af: brfalse IL_02dd + IL_009c: ldloc.s 8 + IL_009e: ldarg.0 + IL_009f: ldstr "get_" + IL_00a4: ldloc.3 + IL_00a5: ldfld string NDesk.DBus.Introspection.Member::Name + IL_00aa: call string string::Concat(string, string) + IL_00af: ldc.i4 3526 + IL_00b4: ldloc.s 6 + IL_00b6: ldsfld class [mscorlib]System.Type[] [mscorlib]System.Type::EmptyTypes + IL_00bb: callvirt instance class [mscorlib]System.Reflection.Emit.MethodBuilder class [mscorlib]System.Reflection.Emit.TypeBuilder::DefineMethod(string, valuetype [mscorlib]System.Reflection.MethodAttributes, class [mscorlib]System.Type, class [mscorlib]System.Type[]) + IL_00c0: callvirt instance void class [mscorlib]System.Reflection.Emit.PropertyBuilder::SetGetMethod(class [mscorlib]System.Reflection.Emit.MethodBuilder) + IL_00c5: ldloc.3 + IL_00c6: ldfld valuetype NDesk.DBus.Introspection.propertyAccess NDesk.DBus.Introspection.Property::Access + IL_00cb: ldc.i4.1 + IL_00cc: beq IL_00dd - IL_02b4: ldarg.0 - IL_02b5: ldstr "ERROR" - IL_02ba: newobj instance void class NDesk.DBus.Authentication.AuthCommand::'.ctor'(string) - IL_02bf: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$current - IL_02c4: ldarg.0 - IL_02c5: ldfld bool NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$disposing - IL_02ca: brtrue.s IL_02d3 + IL_00d1: ldloc.3 + IL_00d2: ldfld valuetype NDesk.DBus.Introspection.propertyAccess NDesk.DBus.Introspection.Property::Access + IL_00d7: ldc.i4.2 + IL_00d8: bne.un IL_010b - IL_02cc: ldarg.0 - IL_02cd: ldc.i4.7 - IL_02ce: stfld int32 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$PC - IL_02d3: br IL_02f0 + IL_00dd: ldloc.s 8 + IL_00df: ldarg.0 + IL_00e0: ldstr "set_" + IL_00e5: ldloc.3 + IL_00e6: ldfld string NDesk.DBus.Introspection.Member::Name + IL_00eb: call string string::Concat(string, string) + IL_00f0: ldc.i4 3526 + IL_00f5: ldnull + IL_00f6: ldc.i4.1 + IL_00f7: newarr [mscorlib]System.Type + IL_00fc: dup + IL_00fd: ldc.i4.0 + IL_00fe: ldloc.s 6 + IL_0100: stelem.ref + IL_0101: callvirt instance class [mscorlib]System.Reflection.Emit.MethodBuilder class [mscorlib]System.Reflection.Emit.TypeBuilder::DefineMethod(string, valuetype [mscorlib]System.Reflection.MethodAttributes, class [mscorlib]System.Type, class [mscorlib]System.Type[]) + IL_0106: callvirt instance void class [mscorlib]System.Reflection.Emit.PropertyBuilder::SetSetMethod(class [mscorlib]System.Reflection.Emit.MethodBuilder) + IL_010b: ldloc.s 5 + IL_010d: ldc.i4.1 + IL_010e: add + IL_010f: stloc.s 5 + IL_0111: ldloc.s 5 + IL_0113: ldloc.s 4 + IL_0115: ldlen + IL_0116: conv.i4 + IL_0117: blt IL_0053 - IL_02d8: br IL_004f + IL_011c: ldarg.1 + IL_011d: ldfld class NDesk.DBus.Introspection.Signal[] NDesk.DBus.Introspection.Interface::Signals + IL_0122: brfalse IL_01cd - IL_02dd: br IL_02ee + IL_0127: ldarg.1 + IL_0128: ldfld class NDesk.DBus.Introspection.Signal[] NDesk.DBus.Introspection.Interface::Signals + IL_012d: stloc.s 10 + IL_012f: ldc.i4.0 + IL_0130: stloc.s 11 + IL_0132: br IL_01c2 - IL_02e2: br IL_004f + IL_0137: ldloc.s 10 + IL_0139: ldloc.s 11 + IL_013b: ldelem.ref + IL_013c: stloc.s 9 + IL_013e: ldsfld class [mscorlib]System.Reflection.Emit.ModuleBuilder NDesk.DBus.TypeDefiner::modBdef + IL_0143: ldloc.s 9 + IL_0145: call class [mscorlib]System.Type class NDesk.DBus.TypeDefiner::DefineHandler(class [mscorlib]System.Reflection.Emit.ModuleBuilder, class NDesk.DBus.Introspection.Signal) + IL_014a: stloc.s 12 + IL_014c: ldarg.0 + IL_014d: ldloc.s 9 + IL_014f: ldfld string NDesk.DBus.Introspection.Member::Name + IL_0154: ldc.i4.0 + IL_0155: ldloc.s 12 + IL_0157: callvirt instance class [mscorlib]System.Reflection.Emit.EventBuilder class [mscorlib]System.Reflection.Emit.TypeBuilder::DefineEvent(string, valuetype [mscorlib]System.Reflection.EventAttributes, class [mscorlib]System.Type) + IL_015c: stloc.s 13 + IL_015e: ldloc.s 13 + IL_0160: ldarg.0 + IL_0161: ldstr "add_" + IL_0166: ldloc.s 9 + IL_0168: ldfld string NDesk.DBus.Introspection.Member::Name + IL_016d: call string string::Concat(string, string) + IL_0172: ldc.i4 3526 + IL_0177: ldnull + IL_0178: ldc.i4.1 + IL_0179: newarr [mscorlib]System.Type + IL_017e: dup + IL_017f: ldc.i4.0 + IL_0180: ldloc.s 12 + IL_0182: stelem.ref + IL_0183: callvirt instance class [mscorlib]System.Reflection.Emit.MethodBuilder class [mscorlib]System.Reflection.Emit.TypeBuilder::DefineMethod(string, valuetype [mscorlib]System.Reflection.MethodAttributes, class [mscorlib]System.Type, class [mscorlib]System.Type[]) + IL_0188: callvirt instance void class [mscorlib]System.Reflection.Emit.EventBuilder::SetAddOnMethod(class [mscorlib]System.Reflection.Emit.MethodBuilder) + IL_018d: ldloc.s 13 + IL_018f: ldarg.0 + IL_0190: ldstr "remove_" + IL_0195: ldloc.s 9 + IL_0197: ldfld string NDesk.DBus.Introspection.Member::Name + IL_019c: call string string::Concat(string, string) + IL_01a1: ldc.i4 3526 + IL_01a6: ldnull + IL_01a7: ldc.i4.1 + IL_01a8: newarr [mscorlib]System.Type + IL_01ad: dup + IL_01ae: ldc.i4.0 + IL_01af: ldloc.s 12 + IL_01b1: stelem.ref + IL_01b2: callvirt instance class [mscorlib]System.Reflection.Emit.MethodBuilder class [mscorlib]System.Reflection.Emit.TypeBuilder::DefineMethod(string, valuetype [mscorlib]System.Reflection.MethodAttributes, class [mscorlib]System.Type, class [mscorlib]System.Type[]) + IL_01b7: callvirt instance void class [mscorlib]System.Reflection.Emit.EventBuilder::SetRemoveOnMethod(class [mscorlib]System.Reflection.Emit.MethodBuilder) + IL_01bc: ldloc.s 11 + IL_01be: ldc.i4.1 + IL_01bf: add + IL_01c0: stloc.s 11 + IL_01c2: ldloc.s 11 + IL_01c4: ldloc.s 10 + IL_01c6: ldlen + IL_01c7: conv.i4 + IL_01c8: blt IL_0137 - IL_02e7: ldarg.0 - IL_02e8: ldc.i4.m1 - IL_02e9: stfld int32 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$PC - IL_02ee: ldc.i4.0 - IL_02ef: ret - IL_02f0: ldc.i4.1 - IL_02f1: ret - } // end of method c__Iterator0::MoveNext + IL_01cd: ldtoken NDesk.DBus.InterfaceAttribute + IL_01d2: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_01d7: ldc.i4.1 + IL_01d8: newarr [mscorlib]System.Type + IL_01dd: dup + IL_01de: ldc.i4.0 + IL_01df: ldtoken [mscorlib]System.String + IL_01e4: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_01e9: stelem.ref + IL_01ea: callvirt instance class [mscorlib]System.Reflection.ConstructorInfo class [mscorlib]System.Type::GetConstructor(class [mscorlib]System.Type[]) + IL_01ef: stloc.s 14 + IL_01f1: ldloc.s 14 + IL_01f3: ldc.i4.1 + IL_01f4: newarr [mscorlib]System.Object + IL_01f9: dup + IL_01fa: ldc.i4.0 + IL_01fb: ldarg.1 + IL_01fc: ldfld string NDesk.DBus.Introspection.Interface::Name + IL_0201: stelem.ref + IL_0202: newobj instance void class [mscorlib]System.Reflection.Emit.CustomAttributeBuilder::'.ctor'(class [mscorlib]System.Reflection.ConstructorInfo, object[]) + IL_0207: stloc.s 15 + IL_0209: ldarg.0 + IL_020a: ldloc.s 15 + IL_020c: callvirt instance void class [mscorlib]System.Reflection.Emit.TypeBuilder::SetCustomAttribute(class [mscorlib]System.Reflection.Emit.CustomAttributeBuilder) + IL_0211: ret + } // end of method TypeDefiner::Define - // method line 1356 - .method private final virtual hidebysig newslot specialname - instance default class NDesk.DBus.Authentication.AuthCommand 'System.Collections.Generic.IEnumerator.get_Current' () cil managed + // method line 1072 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0xf2ac - .override method instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - // Code size 7 (0x7) + // Method begins at RVA 0xf51e + // Code size 1 (0x1) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$current - IL_0006: ret - } // end of method c__Iterator0::System.Collections.Generic.IEnumerator.get_Current + IL_0000: ret + } // end of method TypeDefiner::.cctor - // method line 1357 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + } // end of class NDesk.DBus.TypeDefiner +} - // Method begins at RVA 0xf2b4 - .override class [mscorlib]System.Collections.IEnumerator::get_Current - // Code size 7 (0x7) +.namespace NDesk.DBus +{ + .class private auto ansi sealed beforefieldinit MessageWriter + extends [mscorlib]System.Object + { + .field private valuetype NDesk.DBus.EndianFlag endianness + .field assembly class [mscorlib]System.IO.MemoryStream 'stream' + .field public class NDesk.DBus.Connection connection + .field private unsigned int8[] dst + .field private static initonly unsigned int8[] nullBytes + + // method line 1073 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xf520 + // Code size 12 (0xc) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$current - IL_0006: ret - } // end of method c__Iterator0::System.Collections.IEnumerator.get_Current + IL_0001: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness + IL_0006: call instance void class NDesk.DBus.MessageWriter::'.ctor'(valuetype NDesk.DBus.EndianFlag) + IL_000b: ret + } // end of method MessageWriter::.ctor - // method line 1358 - .method public final virtual hidebysig newslot - instance default void Dispose () cil managed + // method line 1074 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (valuetype NDesk.DBus.EndianFlag endianness) cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0xf2bc - // Code size 15 (0xf) + // Method begins at RVA 0xf52d + // Code size 37 (0x25) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$disposing - IL_0007: ldarg.0 - IL_0008: ldc.i4.m1 - IL_0009: stfld int32 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$PC - IL_000e: ret - } // end of method c__Iterator0::Dispose + IL_0001: ldc.i4.8 + IL_0002: newarr [mscorlib]System.Byte + IL_0007: stfld unsigned int8[] NDesk.DBus.MessageWriter::dst + IL_000c: ldarg.0 + IL_000d: call instance void object::'.ctor'() + IL_0012: ldarg.0 + IL_0013: ldarg.1 + IL_0014: stfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.MessageWriter::endianness + IL_0019: ldarg.0 + IL_001a: newobj instance void class [mscorlib]System.IO.MemoryStream::'.ctor'() + IL_001f: stfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0024: ret + } // end of method MessageWriter::.ctor - // method line 1359 - .method public final virtual hidebysig newslot - instance default void Reset () cil managed + // method line 1075 + .method public hidebysig + instance default unsigned int8[] ToArray () cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0xf2cc - // Code size 6 (0x6) + // Method begins at RVA 0xf553 + // Code size 12 (0xc) .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() - IL_0005: throw - } // end of method c__Iterator0::Reset - - .property instance class NDesk.DBus.Authentication.AuthCommand 'System.Collections.Generic.IEnumerator.Current' () - { - .get instance default class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'System.Collections.Generic.IEnumerator.get_Current' () - } - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::System.Collections.IEnumerator.get_Current () - } - } // end of class c__Iterator0 - - } // end of class NDesk.DBus.Authentication.SaslServer -} - -.namespace NDesk.DBus.Authentication -{ - .class private auto ansi abstract sealed beforefieldinit Sasl - extends [mscorlib]System.Object - { + IL_0000: ldarg.0 + IL_0001: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0006: callvirt instance unsigned int8[] class [mscorlib]System.IO.MemoryStream::ToArray() + IL_000b: ret + } // end of method MessageWriter::ToArray // method line 1076 - .method public static hidebysig - default valuetype [mscorlib]System.DateTime UnixToDateTime (int64 time) cil managed + .method public hidebysig + instance default void ToStream (class [mscorlib]System.IO.Stream dest) cil managed { - // Method begins at RVA 0xf2d4 - // Code size 48 (0x30) - .maxstack 4 - .locals init ( - valuetype [mscorlib]System.DateTime V_0, - valuetype [mscorlib]System.TimeSpan V_1) - IL_0000: ldloca.s 0 - IL_0002: ldc.i4 1970 - IL_0007: ldc.i4.1 - IL_0008: ldc.i4.1 - IL_0009: call instance void valuetype [mscorlib]System.DateTime::'.ctor'(int32, int32, int32) - IL_000e: call class [mscorlib]System.TimeZone class [mscorlib]System.TimeZone::get_CurrentTimeZone() - IL_0013: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_UtcNow() - IL_0018: callvirt instance valuetype [mscorlib]System.TimeSpan class [mscorlib]System.TimeZone::GetUtcOffset(valuetype [mscorlib]System.DateTime) - IL_001d: stloc.1 - IL_001e: ldloca.s 0 - IL_0020: ldarg.0 - IL_0021: conv.r8 - IL_0022: ldloca.s 1 - IL_0024: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalSeconds() - IL_0029: add - IL_002a: call instance valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::AddSeconds(float64) - IL_002f: ret - } // end of method Sasl::UnixToDateTime + // Method begins at RVA 0xf560 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0006: ldarg.1 + IL_0007: callvirt instance void class [mscorlib]System.IO.MemoryStream::WriteTo(class [mscorlib]System.IO.Stream) + IL_000c: ret + } // end of method MessageWriter::ToStream // method line 1077 - .method public static hidebysig - default int64 DateTimeToUnix (valuetype [mscorlib]System.DateTime time) cil managed + .method public hidebysig + instance default void CloseWrite () cil managed { - // Method begins at RVA 0xf310 - // Code size 54 (0x36) - .maxstack 4 - .locals init ( - valuetype [mscorlib]System.DateTime V_0, - valuetype [mscorlib]System.TimeSpan V_1, - valuetype [mscorlib]System.TimeSpan V_2) - IL_0000: ldloca.s 0 - IL_0002: ldc.i4 1970 - IL_0007: ldc.i4.1 - IL_0008: ldc.i4.1 - IL_0009: call instance void valuetype [mscorlib]System.DateTime::'.ctor'(int32, int32, int32) - IL_000e: call class [mscorlib]System.TimeZone class [mscorlib]System.TimeZone::get_CurrentTimeZone() - IL_0013: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_UtcNow() - IL_0018: callvirt instance valuetype [mscorlib]System.TimeSpan class [mscorlib]System.TimeZone::GetUtcOffset(valuetype [mscorlib]System.DateTime) - IL_001d: stloc.1 - IL_001e: ldarga.s 0 - IL_0020: ldloc.0 - IL_0021: call instance valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.DateTime::Subtract(valuetype [mscorlib]System.DateTime) - IL_0026: ldloc.1 - IL_0027: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::op_Subtraction(valuetype [mscorlib]System.TimeSpan, valuetype [mscorlib]System.TimeSpan) - IL_002c: stloc.2 - IL_002d: ldloca.s 2 - IL_002f: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalSeconds() - IL_0034: conv.i8 - IL_0035: ret - } // end of method Sasl::DateTimeToUnix + // Method begins at RVA 0xf56e + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.8 + IL_0002: call instance void class NDesk.DBus.MessageWriter::WritePad(int32) + IL_0007: ret + } // end of method MessageWriter::CloseWrite // method line 1078 - .method public static hidebysig - default string ToHex (unsigned int8[] input) cil managed + .method public hidebysig + instance default void Write (unsigned int8 val) cil managed { - // Method begins at RVA 0xf354 - // Code size 76 (0x4c) - .maxstack 4 - .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - unsigned int8 V_1, - unsigned int8[] V_2, - int32 V_3) + // Method begins at RVA 0xf577 + // Code size 13 (0xd) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: brtrue IL_0008 - - IL_0006: ldnull - IL_0007: ret - IL_0008: ldarg.0 - IL_0009: ldlen - IL_000a: conv.i4 - IL_000b: ldc.i4.2 - IL_000c: mul - IL_000d: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(int32) - IL_0012: stloc.0 - IL_0013: ldarg.0 - IL_0014: stloc.2 - IL_0015: ldc.i4.0 - IL_0016: stloc.3 - IL_0017: br IL_003c - - IL_001c: ldloc.2 - IL_001d: ldloc.3 - IL_001e: ldelem.u1 - IL_001f: stloc.1 - IL_0020: ldloc.0 - IL_0021: ldloca.s 1 - IL_0023: ldstr "x2" - IL_0028: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002d: call instance string unsigned int8::ToString(string, class [mscorlib]System.IFormatProvider) - IL_0032: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0037: pop - IL_0038: ldloc.3 - IL_0039: ldc.i4.1 - IL_003a: add - IL_003b: stloc.3 - IL_003c: ldloc.3 - IL_003d: ldloc.2 - IL_003e: ldlen - IL_003f: conv.i4 - IL_0040: blt IL_001c - - IL_0045: ldloc.0 - IL_0046: callvirt instance string object::ToString() - IL_004b: ret - } // end of method Sasl::ToHex + IL_0001: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0006: ldarg.1 + IL_0007: callvirt instance void class [mscorlib]System.IO.Stream::WriteByte(unsigned int8) + IL_000c: ret + } // end of method MessageWriter::Write // method line 1079 - .method public static hidebysig - default unsigned int8 FromHexChar (char c) cil managed + .method public hidebysig + instance default void Write (bool val) cil managed { - // Method begins at RVA 0xf3ac - // Code size 83 (0x53) - .maxstack 2 + // Method begins at RVA 0xf585 + // Code size 20 (0x14) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.s 0x61 - IL_0003: blt IL_0019 - - IL_0008: ldarg.0 - IL_0009: ldc.i4.s 0x66 - IL_000b: bgt IL_0019 - - IL_0010: ldarg.0 - IL_0011: ldc.i4.s 0x61 - IL_0013: sub - IL_0014: ldc.i4.s 0x0a - IL_0016: add - IL_0017: conv.u1 - IL_0018: ret - IL_0019: ldarg.0 - IL_001a: ldc.i4.s 0x41 - IL_001c: blt IL_0032 - - IL_0021: ldarg.0 - IL_0022: ldc.i4.s 0x46 - IL_0024: bgt IL_0032 - - IL_0029: ldarg.0 - IL_002a: ldc.i4.s 0x41 - IL_002c: sub - IL_002d: ldc.i4.s 0x0a - IL_002f: add - IL_0030: conv.u1 - IL_0031: ret - IL_0032: ldarg.0 - IL_0033: ldc.i4.s 0x30 - IL_0035: blt IL_0048 + IL_0001: ldarg.1 + IL_0002: brfalse IL_000d - IL_003a: ldarg.0 - IL_003b: ldc.i4.s 0x39 - IL_003d: bgt IL_0048 + IL_0007: ldc.i4.1 + IL_0008: br IL_000e - IL_0042: ldarg.0 - IL_0043: ldc.i4.s 0x30 - IL_0045: sub - IL_0046: conv.u1 - IL_0047: ret - IL_0048: ldstr "Invalid hex char" - IL_004d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0052: throw - } // end of method Sasl::FromHexChar + IL_000d: ldc.i4.0 + IL_000e: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) + IL_0013: ret + } // end of method MessageWriter::Write // method line 1080 - .method public static hidebysig - default unsigned int8[] FromHex (string hex) cil managed + .method private hidebysig + instance default void MarshalUShort (void* dataPtr) cil managed { - // Method begins at RVA 0xf40c - // Code size 121 (0x79) - .maxstack 6 + // Method begins at RVA 0xf59c + // Code size 92 (0x5c) + .maxstack 4 .locals init ( - unsigned int8[] V_0, - int32 V_1, - int32 V_2) + unsigned int8& pinned V_0, + unsigned int8* V_1) IL_0000: ldarg.0 - IL_0001: brtrue IL_0008 - - IL_0006: ldnull - IL_0007: ret - IL_0008: ldarg.0 - IL_0009: callvirt instance int32 string::get_Length() - IL_000e: ldc.i4.1 - IL_000f: and - IL_0010: ldc.i4.1 - IL_0011: bne.un IL_0021 + IL_0001: ldc.i4.2 + IL_0002: call instance void class NDesk.DBus.MessageWriter::WritePad(int32) + IL_0007: ldarg.0 + IL_0008: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.MessageWriter::endianness + IL_000d: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness + IL_0012: bne.un IL_0030 - IL_0016: ldstr "Length must be a multiple of 2" - IL_001b: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0020: throw - IL_0021: ldarg.0 - IL_0022: callvirt instance int32 string::get_Length() - IL_0027: ldc.i4.1 - IL_0028: shr - IL_0029: newarr [mscorlib]System.Byte - IL_002e: stloc.0 - IL_002f: ldc.i4.0 - IL_0030: stloc.1 - IL_0031: ldc.i4.0 - IL_0032: stloc.2 - IL_0033: br IL_006e + IL_0017: ldarg.0 + IL_0018: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst + IL_001d: ldc.i4.0 + IL_001e: ldelema [mscorlib]System.Byte + IL_0023: stloc.0 + IL_0024: ldloc.0 + IL_0025: ldarg.1 + IL_0026: ldind.u2 + IL_0027: stind.i2 + IL_0028: ldc.i4.0 + IL_0029: conv.u + IL_002a: stloc.0 + IL_002b: br IL_0048 - IL_0038: ldloc.0 + IL_0030: ldarg.1 + IL_0031: stloc.1 + IL_0032: ldarg.0 + IL_0033: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst + IL_0038: ldc.i4.0 IL_0039: ldloc.1 - IL_003a: ldarg.0 - IL_003b: ldloc.2 - IL_003c: dup - IL_003d: ldc.i4.1 - IL_003e: add - IL_003f: stloc.2 - IL_0040: callvirt instance char string::get_Chars(int32) - IL_0045: call unsigned int8 class NDesk.DBus.Authentication.Sasl::FromHexChar(char) - IL_004a: ldc.i4.4 - IL_004b: shl - IL_004c: conv.u1 - IL_004d: stelem.i1 - IL_004e: ldloc.0 - IL_004f: ldloc.1 - IL_0050: dup - IL_0051: ldc.i4.1 - IL_0052: add - IL_0053: stloc.1 - IL_0054: ldelema [mscorlib]System.Byte - IL_0059: dup - IL_005a: ldind.u1 - IL_005b: ldarg.0 - IL_005c: ldloc.2 - IL_005d: dup - IL_005e: ldc.i4.1 - IL_005f: add - IL_0060: stloc.2 - IL_0061: callvirt instance char string::get_Chars(int32) - IL_0066: call unsigned int8 class NDesk.DBus.Authentication.Sasl::FromHexChar(char) - IL_006b: add - IL_006c: conv.u1 - IL_006d: stind.i1 - IL_006e: ldloc.1 - IL_006f: ldloc.0 - IL_0070: ldlen - IL_0071: conv.i4 - IL_0072: blt IL_0038 - - IL_0077: ldloc.0 - IL_0078: ret - } // end of method Sasl::FromHex - - } // end of class NDesk.DBus.Authentication.Sasl -} - -.namespace NDesk.DBus -{ - .class private auto ansi beforefieldinit ExportObject - extends NDesk.DBus.BusObject - implements [mscorlib]System.IDisposable { - .field public object obj - .field private bool isRegistered - .field assembly static initonly class [mscorlib]System.Collections.Generic.Dictionary`2 mCallers + IL_003a: ldc.i4.1 + IL_003b: add + IL_003c: ldind.u1 + IL_003d: stelem.i1 + IL_003e: ldarg.0 + IL_003f: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst + IL_0044: ldc.i4.1 + IL_0045: ldloc.1 + IL_0046: ldind.u1 + IL_0047: stelem.i1 + IL_0048: ldarg.0 + IL_0049: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_004e: ldarg.0 + IL_004f: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst + IL_0054: ldc.i4.0 + IL_0055: ldc.i4.2 + IL_0056: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) + IL_005b: ret + } // end of method MessageWriter::MarshalUShort // method line 1081 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NDesk.DBus.Connection conn, class NDesk.DBus.ObjectPath object_path, object obj) cil managed + .method public hidebysig + instance default void Write (int16 val) cil managed { - // Method begins at RVA 0xf491 - // Code size 17 (0x11) + // Method begins at RVA 0xf604 + // Code size 9 (0x9) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldnull - IL_0003: ldarg.2 - IL_0004: call instance void class NDesk.DBus.BusObject::'.ctor'(class NDesk.DBus.Connection, string, class NDesk.DBus.ObjectPath) - IL_0009: ldarg.0 - IL_000a: ldarg.3 - IL_000b: stfld object NDesk.DBus.ExportObject::obj - IL_0010: ret - } // end of method ExportObject::.ctor + IL_0001: ldarga.s 1 + IL_0003: call instance void class NDesk.DBus.MessageWriter::MarshalUShort(void*) + IL_0008: ret + } // end of method MessageWriter::Write // method line 1082 - .method public virtual hidebysig newslot specialname - instance default bool get_Registered () cil managed + .method public hidebysig + instance default void Write (unsigned int16 val) cil managed { - // Method begins at RVA 0xf4a3 - // Code size 7 (0x7) + // Method begins at RVA 0xf60e + // Code size 9 (0x9) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld bool NDesk.DBus.ExportObject::isRegistered - IL_0006: ret - } // end of method ExportObject::get_Registered + IL_0001: ldarga.s 1 + IL_0003: call instance void class NDesk.DBus.MessageWriter::MarshalUShort(void*) + IL_0008: ret + } // end of method MessageWriter::Write // method line 1083 - .method public virtual hidebysig newslot specialname - instance default void set_Registered (bool 'value') cil managed + .method private hidebysig + instance default void MarshalUInt (void* dataPtr) cil managed { - // Method begins at RVA 0xf4ac - // Code size 158 (0x9e) - .maxstack 3 + // Method begins at RVA 0xf618 + // Code size 116 (0x74) + .maxstack 4 .locals init ( - class [mscorlib]System.Type V_0, - class [mscorlib]System.Reflection.MemberInfo V_1, - class [mscorlib]System.Collections.Generic.IEnumerator`1 V_2, - class [mscorlib]System.Reflection.EventInfo V_3, - class [mscorlib]System.Delegate V_4) - IL_0000: ldarg.1 - IL_0001: ldarg.0 - IL_0002: ldfld bool NDesk.DBus.ExportObject::isRegistered - IL_0007: bne.un IL_000d - - IL_000c: ret - IL_000d: ldarg.0 - IL_000e: ldfld object NDesk.DBus.ExportObject::obj - IL_0013: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0018: stloc.0 - IL_0019: ldloc.0 - IL_001a: call class [mscorlib]System.Collections.Generic.IEnumerable`1 class NDesk.DBus.Mapper::GetPublicMembers(class [mscorlib]System.Type) - IL_001f: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() - IL_0024: stloc.2 - .try { // 0 - IL_0025: br IL_0079 - - IL_002a: ldloc.2 - IL_002b: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_0030: stloc.1 - IL_0031: ldloc.1 - IL_0032: isinst [mscorlib]System.Reflection.EventInfo - IL_0037: stloc.3 - IL_0038: ldloc.3 - IL_0039: ldnull - IL_003a: call bool class [mscorlib]System.Reflection.EventInfo::op_Equality(class [mscorlib]System.Reflection.EventInfo, class [mscorlib]System.Reflection.EventInfo) - IL_003f: brfalse IL_0049 - - IL_0044: leave IL_0079 - - IL_0049: ldarg.0 - IL_004a: ldloc.3 - IL_004b: call instance class [mscorlib]System.Delegate class NDesk.DBus.BusObject::GetHookupDelegate(class [mscorlib]System.Reflection.EventInfo) - IL_0050: stloc.s 4 - IL_0052: ldarg.1 - IL_0053: brfalse IL_006b - - IL_0058: ldloc.3 - IL_0059: ldarg.0 - IL_005a: ldfld object NDesk.DBus.ExportObject::obj - IL_005f: ldloc.s 4 - IL_0061: callvirt instance void class [mscorlib]System.Reflection.EventInfo::AddEventHandler(object, class [mscorlib]System.Delegate) - IL_0066: br IL_0079 - - IL_006b: ldloc.3 - IL_006c: ldarg.0 - IL_006d: ldfld object NDesk.DBus.ExportObject::obj - IL_0072: ldloc.s 4 - IL_0074: callvirt instance void class [mscorlib]System.Reflection.EventInfo::RemoveEventHandler(object, class [mscorlib]System.Delegate) - IL_0079: ldloc.2 - IL_007a: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_007f: brtrue IL_002a - - IL_0084: leave IL_0096 + unsigned int8& pinned V_0, + unsigned int8* V_1) + IL_0000: ldarg.0 + IL_0001: ldc.i4.4 + IL_0002: call instance void class NDesk.DBus.MessageWriter::WritePad(int32) + IL_0007: ldarg.0 + IL_0008: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.MessageWriter::endianness + IL_000d: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness + IL_0012: bne.un IL_0030 - } // end .try 0 - finally { // 0 - IL_0089: ldloc.2 - IL_008a: brfalse IL_0095 + IL_0017: ldarg.0 + IL_0018: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst + IL_001d: ldc.i4.0 + IL_001e: ldelema [mscorlib]System.Byte + IL_0023: stloc.0 + IL_0024: ldloc.0 + IL_0025: ldarg.1 + IL_0026: ldind.u4 + IL_0027: stind.i4 + IL_0028: ldc.i4.0 + IL_0029: conv.u + IL_002a: stloc.0 + IL_002b: br IL_0060 - IL_008f: ldloc.2 - IL_0090: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0095: endfinally - } // end handler 0 - IL_0096: ldarg.0 - IL_0097: ldarg.1 - IL_0098: stfld bool NDesk.DBus.ExportObject::isRegistered - IL_009d: ret - } // end of method ExportObject::set_Registered + IL_0030: ldarg.1 + IL_0031: stloc.1 + IL_0032: ldarg.0 + IL_0033: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst + IL_0038: ldc.i4.0 + IL_0039: ldloc.1 + IL_003a: ldc.i4.3 + IL_003b: add + IL_003c: ldind.u1 + IL_003d: stelem.i1 + IL_003e: ldarg.0 + IL_003f: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst + IL_0044: ldc.i4.1 + IL_0045: ldloc.1 + IL_0046: ldc.i4.2 + IL_0047: add + IL_0048: ldind.u1 + IL_0049: stelem.i1 + IL_004a: ldarg.0 + IL_004b: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst + IL_0050: ldc.i4.2 + IL_0051: ldloc.1 + IL_0052: ldc.i4.1 + IL_0053: add + IL_0054: ldind.u1 + IL_0055: stelem.i1 + IL_0056: ldarg.0 + IL_0057: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst + IL_005c: ldc.i4.3 + IL_005d: ldloc.1 + IL_005e: ldind.u1 + IL_005f: stelem.i1 + IL_0060: ldarg.0 + IL_0061: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0066: ldarg.0 + IL_0067: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst + IL_006c: ldc.i4.0 + IL_006d: ldc.i4.4 + IL_006e: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) + IL_0073: ret + } // end of method MessageWriter::MarshalUInt // method line 1084 - .method assembly virtual hidebysig newslot - instance default void WriteIntrospect (class NDesk.DBus.Introspector intro) cil managed + .method public hidebysig + instance default void Write (int32 val) cil managed { - // Method begins at RVA 0xf568 - // Code size 18 (0x12) + // Method begins at RVA 0xf698 + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldarg.0 - IL_0002: ldfld object NDesk.DBus.ExportObject::obj - IL_0007: callvirt instance class [mscorlib]System.Type object::GetType() - IL_000c: callvirt instance void class NDesk.DBus.Introspector::WriteType(class [mscorlib]System.Type) - IL_0011: ret - } // end of method ExportObject::WriteIntrospect + IL_0000: ldarg.0 + IL_0001: ldarga.s 1 + IL_0003: call instance void class NDesk.DBus.MessageWriter::MarshalUInt(void*) + IL_0008: ret + } // end of method MessageWriter::Write // method line 1085 - .method assembly static hidebysig - default class NDesk.DBus.MethodCaller2 GetMCaller (class [mscorlib]System.Reflection.MethodInfo mi) cil managed - { - // Method begins at RVA 0xf57c - // Code size 39 (0x27) - .maxstack 3 - .locals init ( - class NDesk.DBus.MethodCaller2 V_0) - IL_0000: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.ExportObject::mCallers - IL_0005: ldarg.0 - IL_0006: ldloca.s 0 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) - IL_000d: brtrue IL_0025 - - IL_0012: ldarg.0 - IL_0013: call class NDesk.DBus.MethodCaller2 class NDesk.DBus.TypeImplementer::GenCaller2(class [mscorlib]System.Reflection.MethodInfo) - IL_0018: stloc.0 - IL_0019: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.ExportObject::mCallers - IL_001e: ldarg.0 - IL_001f: ldloc.0 - IL_0020: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::set_Item(!0, !1) - IL_0025: ldloc.0 - IL_0026: ret - } // end of method ExportObject::GetMCaller - - // method line 1086 - .method public static hidebysig - default class NDesk.DBus.ExportObject CreateExportObject (class NDesk.DBus.Connection conn, class NDesk.DBus.ObjectPath object_path, object obj) cil managed + .method public hidebysig + instance default void Write (unsigned int32 val) cil managed { - // Method begins at RVA 0xf5af + // Method begins at RVA 0xf6a2 // Code size 9 (0x9) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: newobj instance void class NDesk.DBus.ExportObject::'.ctor'(class NDesk.DBus.Connection, class NDesk.DBus.ObjectPath, object) + IL_0001: ldarga.s 1 + IL_0003: call instance void class NDesk.DBus.MessageWriter::MarshalUInt(void*) IL_0008: ret - } // end of method ExportObject::CreateExportObject + } // end of method MessageWriter::Write - // method line 1087 - .method public virtual hidebysig newslot - instance default void HandleMethodCall (class NDesk.DBus.MethodCall method_call) cil managed + // method line 1086 + .method private hidebysig + instance default void MarshalULong (void* dataPtr) cil managed { - // Method begins at RVA 0xf5bc - // Code size 470 (0x1d6) + // Method begins at RVA 0xf6ac + // Code size 103 (0x67) .maxstack 5 .locals init ( - class [mscorlib]System.Type V_0, - class [mscorlib]System.Reflection.MethodInfo V_1, - class NDesk.DBus.MethodCaller2 V_2, - valuetype NDesk.DBus.Signature V_3, - valuetype NDesk.DBus.Signature V_4, - class NDesk.DBus.Message V_5, - class NDesk.DBus.MessageReader V_6, - class NDesk.DBus.MessageWriter V_7, - class [mscorlib]System.Exception V_8, - class [mscorlib]System.Exception V_9, - class NDesk.DBus.Message V_10, - class NDesk.DBus.MethodReturn V_11, - class NDesk.DBus.Error V_12, - class NDesk.DBus.BusException V_13, - class [mscorlib]System.ArgumentException V_14, - class [mscorlib]System.IO.StringReader V_15) + unsigned int8& pinned V_0, + unsigned int8* V_1, + int32 V_2) IL_0000: ldarg.0 - IL_0001: ldfld object NDesk.DBus.ExportObject::obj - IL_0006: callvirt instance class [mscorlib]System.Type object::GetType() - IL_000b: stloc.0 - IL_000c: ldloc.0 - IL_000d: ldarg.1 - IL_000e: call class [mscorlib]System.Reflection.MethodInfo class NDesk.DBus.Mapper::GetMethod(class [mscorlib]System.Type, class NDesk.DBus.MethodCall) - IL_0013: stloc.1 - IL_0014: ldloc.1 - IL_0015: ldnull - IL_0016: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_001b: brfalse IL_002d - - IL_0020: ldarg.0 - IL_0021: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_0026: ldarg.1 - IL_0027: callvirt instance void class NDesk.DBus.Connection::MaybeSendUnknownMethodError(class NDesk.DBus.MethodCall) - IL_002c: ret - IL_002d: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.ExportObject::mCallers - IL_0032: ldloc.1 - IL_0033: ldloca.s 2 - IL_0035: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) - IL_003a: brtrue IL_0052 - - IL_003f: ldloc.1 - IL_0040: call class NDesk.DBus.MethodCaller2 class NDesk.DBus.TypeImplementer::GenCaller2(class [mscorlib]System.Reflection.MethodInfo) - IL_0045: stloc.2 - IL_0046: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.ExportObject::mCallers - IL_004b: ldloc.1 - IL_004c: ldloc.2 - IL_004d: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::set_Item(!0, !1) - IL_0052: ldloc.1 - IL_0053: ldloca.s 3 - IL_0055: ldloca.s 4 - IL_0057: call bool class NDesk.DBus.TypeImplementer::SigsForMethod(class [mscorlib]System.Reflection.MethodInfo, [out] valuetype NDesk.DBus.Signature&, [out] valuetype NDesk.DBus.Signature&) - IL_005c: pop - IL_005d: ldarg.1 - IL_005e: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message - IL_0063: stloc.s 5 - IL_0065: ldarg.1 - IL_0066: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message - IL_006b: newobj instance void class NDesk.DBus.MessageReader::'.ctor'(class NDesk.DBus.Message) - IL_0070: stloc.s 6 - IL_0072: newobj instance void class NDesk.DBus.MessageWriter::'.ctor'() - IL_0077: stloc.s 7 - IL_0079: ldnull - IL_007a: stloc.s 8 - .try { // 0 - IL_007c: ldloc.2 - IL_007d: ldarg.0 - IL_007e: ldfld object NDesk.DBus.ExportObject::obj - IL_0083: ldloc.s 6 - IL_0085: ldarg.1 - IL_0086: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message - IL_008b: ldloc.s 7 - IL_008d: callvirt instance void class NDesk.DBus.MethodCaller2::Invoke(object, class NDesk.DBus.MessageReader, class NDesk.DBus.Message, class NDesk.DBus.MessageWriter) - IL_0092: leave IL_00a2 - - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0097: stloc.s 9 - IL_0099: ldloc.s 9 - IL_009b: stloc.s 8 - IL_009d: leave IL_00a2 - - } // end handler 0 - IL_00a2: ldloc.s 5 - IL_00a4: callvirt instance bool class NDesk.DBus.Message::get_ReplyExpected() - IL_00a9: brtrue IL_00af - - IL_00ae: ret - IL_00af: ldloc.s 8 - IL_00b1: brtrue IL_00ee - - IL_00b6: ldloc.s 5 - IL_00b8: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_00bd: ldfld unsigned int32 NDesk.DBus.Header::Serial - IL_00c2: newobj instance void class NDesk.DBus.MethodReturn::'.ctor'(unsigned int32) - IL_00c7: stloc.s 11 - IL_00c9: ldloc.s 11 - IL_00cb: ldfld class NDesk.DBus.Message NDesk.DBus.MethodReturn::message - IL_00d0: stloc.s 10 - IL_00d2: ldloc.s 10 - IL_00d4: ldloc.s 7 - IL_00d6: callvirt instance unsigned int8[] class NDesk.DBus.MessageWriter::ToArray() - IL_00db: stfld unsigned int8[] NDesk.DBus.Message::Body - IL_00e0: ldloc.s 10 - IL_00e2: ldloc.s 4 - IL_00e4: callvirt instance void class NDesk.DBus.Message::set_Signature(valuetype NDesk.DBus.Signature) - IL_00e9: br IL_01a9 - - IL_00ee: ldloc.s 8 - IL_00f0: isinst NDesk.DBus.BusException - IL_00f5: stloc.s 13 - IL_00f7: ldloc.s 13 - IL_00f9: brfalse IL_0119 - - IL_00fe: ldarg.1 - IL_00ff: ldloc.s 13 - IL_0101: ldfld string NDesk.DBus.BusException::ErrorName - IL_0106: ldloc.s 13 - IL_0108: ldfld string NDesk.DBus.BusException::ErrorMessage - IL_010d: callvirt instance class NDesk.DBus.Error class NDesk.DBus.MethodCall::CreateError(string, string) - IL_0112: stloc.s 12 - IL_0114: br IL_01a0 - - IL_0119: ldloc.s 8 - IL_011b: isinst [mscorlib]System.ArgumentException - IL_0120: brfalse IL_0185 - - IL_0125: ldloc.s 8 - IL_0127: callvirt instance class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Exception::get_TargetSite() - IL_012c: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_0131: ldloc.1 - IL_0132: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_0137: call bool string::op_Equality(string, string) - IL_013c: brfalse IL_0185 + IL_0001: ldc.i4.8 + IL_0002: call instance void class NDesk.DBus.MessageWriter::WritePad(int32) + IL_0007: ldarg.0 + IL_0008: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.MessageWriter::endianness + IL_000d: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness + IL_0012: bne.un IL_0030 - IL_0141: ldloc.s 8 - IL_0143: castclass [mscorlib]System.ArgumentException - IL_0148: stloc.s 14 - IL_014a: ldloc.s 14 - IL_014c: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_0151: newobj instance void class [mscorlib]System.IO.StringReader::'.ctor'(string) - IL_0156: stloc.s 15 - .try { // 1 - IL_0158: ldarg.1 - IL_0159: ldstr "org.freedesktop.DBus.Error.InvalidArgs" - IL_015e: ldloc.s 15 - IL_0160: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_0165: callvirt instance class NDesk.DBus.Error class NDesk.DBus.MethodCall::CreateError(string, string) - IL_016a: stloc.s 12 - IL_016c: leave IL_0180 + IL_0017: ldarg.0 + IL_0018: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst + IL_001d: ldc.i4.0 + IL_001e: ldelema [mscorlib]System.Byte + IL_0023: stloc.0 + IL_0024: ldloc.0 + IL_0025: ldarg.1 + IL_0026: ldind.i8 + IL_0027: stind.i8 + IL_0028: ldc.i4.0 + IL_0029: conv.u + IL_002a: stloc.0 + IL_002b: br IL_0053 - } // end .try 1 - finally { // 1 - IL_0171: ldloc.s 15 - IL_0173: brfalse IL_017f + IL_0030: ldarg.1 + IL_0031: stloc.1 + IL_0032: ldc.i4.0 + IL_0033: stloc.2 + IL_0034: br IL_004c - IL_0178: ldloc.s 15 - IL_017a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_017f: endfinally - } // end handler 1 - IL_0180: br IL_01a0 + IL_0039: ldarg.0 + IL_003a: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst + IL_003f: ldloc.2 + IL_0040: ldloc.1 + IL_0041: ldc.i4.7 + IL_0042: ldloc.2 + IL_0043: sub + IL_0044: conv.i + IL_0045: add + IL_0046: ldind.u1 + IL_0047: stelem.i1 + IL_0048: ldloc.2 + IL_0049: ldc.i4.1 + IL_004a: add + IL_004b: stloc.2 + IL_004c: ldloc.2 + IL_004d: ldc.i4.8 + IL_004e: blt IL_0039 - IL_0185: ldarg.1 - IL_0186: ldloc.s 8 - IL_0188: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Exception::GetType() - IL_018d: call string class NDesk.DBus.Mapper::GetInterfaceName(class [mscorlib]System.Type) - IL_0192: ldloc.s 8 - IL_0194: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_0199: callvirt instance class NDesk.DBus.Error class NDesk.DBus.MethodCall::CreateError(string, string) - IL_019e: stloc.s 12 - IL_01a0: ldloc.s 12 - IL_01a2: ldfld class NDesk.DBus.Message NDesk.DBus.Error::message - IL_01a7: stloc.s 10 - IL_01a9: ldarg.1 - IL_01aa: ldfld string NDesk.DBus.MethodCall::Sender - IL_01af: brfalse IL_01c7 + IL_0053: ldarg.0 + IL_0054: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0059: ldarg.0 + IL_005a: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst + IL_005f: ldc.i4.0 + IL_0060: ldc.i4.8 + IL_0061: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) + IL_0066: ret + } // end of method MessageWriter::MarshalULong - IL_01b4: ldloc.s 10 - IL_01b6: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_01bb: ldc.i4.6 - IL_01bc: ldarg.1 - IL_01bd: ldfld string NDesk.DBus.MethodCall::Sender - IL_01c2: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) - IL_01c7: ldarg.0 - IL_01c8: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn - IL_01cd: ldloc.s 10 - IL_01cf: callvirt instance unsigned int32 class NDesk.DBus.Connection::Send(class NDesk.DBus.Message) - IL_01d4: pop - IL_01d5: ret - } // end of method ExportObject::HandleMethodCall + // method line 1087 + .method public hidebysig + instance default void Write (int64 val) cil managed + { + // Method begins at RVA 0xf71f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarga.s 1 + IL_0003: call instance void class NDesk.DBus.MessageWriter::MarshalULong(void*) + IL_0008: ret + } // end of method MessageWriter::Write // method line 1088 - .method public final virtual hidebysig newslot - instance default void Dispose () cil managed + .method public hidebysig + instance default void Write (unsigned int64 val) cil managed { - // Method begins at RVA 0xf7bc - // Code size 14 (0xe) + // Method begins at RVA 0xf729 + // Code size 9 (0x9) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: callvirt instance void class NDesk.DBus.ExportObject::Dispose(bool) - IL_0007: ldarg.0 - IL_0008: call void class [mscorlib]System.GC::SuppressFinalize(object) - IL_000d: ret - } // end of method ExportObject::Dispose + IL_0001: ldarga.s 1 + IL_0003: call instance void class NDesk.DBus.MessageWriter::MarshalULong(void*) + IL_0008: ret + } // end of method MessageWriter::Write // method line 1089 - .method family virtual hidebysig - instance default void Finalize () cil managed + .method public hidebysig + instance default void Write (float32 val) cil managed { - // Method begins at RVA 0xf7cc - // Code size 20 (0x14) - .maxstack 2 - .try { // 0 - IL_0000: ldarg.0 - IL_0001: ldc.i4.0 - IL_0002: callvirt instance void class NDesk.DBus.ExportObject::Dispose(bool) - IL_0007: leave IL_0013 - - } // end .try 0 - finally { // 0 - IL_000c: ldarg.0 - IL_000d: call instance void object::Finalize() - IL_0012: endfinally - } // end handler 0 - IL_0013: ret - } // end of method ExportObject::Finalize + // Method begins at RVA 0xf733 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarga.s 1 + IL_0003: call instance void class NDesk.DBus.MessageWriter::MarshalUInt(void*) + IL_0008: ret + } // end of method MessageWriter::Write // method line 1090 - .method family virtual hidebysig newslot - instance default void Dispose (bool disposing) cil managed + .method public hidebysig + instance default void Write (float64 val) cil managed { - // Method begins at RVA 0xf7fc - // Code size 32 (0x20) + // Method begins at RVA 0xf73d + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.1 - IL_0001: brfalse IL_001f - - IL_0006: ldarg.0 - IL_0007: ldfld object NDesk.DBus.ExportObject::obj - IL_000c: brfalse IL_001f - - IL_0011: ldarg.0 - IL_0012: ldc.i4.0 - IL_0013: callvirt instance void class NDesk.DBus.ExportObject::set_Registered(bool) - IL_0018: ldarg.0 - IL_0019: ldnull - IL_001a: stfld object NDesk.DBus.ExportObject::obj - IL_001f: ret - } // end of method ExportObject::Dispose + IL_0000: ldarg.0 + IL_0001: ldarga.s 1 + IL_0003: call instance void class NDesk.DBus.MessageWriter::MarshalULong(void*) + IL_0008: ret + } // end of method MessageWriter::Write // method line 1091 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + .method public hidebysig + instance default void Write (string val) cil managed { - // Method begins at RVA 0xf81d - // Code size 11 (0xb) - .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() - IL_0005: stsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.ExportObject::mCallers - IL_000a: ret - } // end of method ExportObject::.cctor - - .property instance bool Registered () - { - .get instance default bool NDesk.DBus.ExportObject::get_Registered () - .set instance default void NDesk.DBus.ExportObject::set_Registered (bool 'value') - } - } // end of class NDesk.DBus.ExportObject -} - -.namespace NDesk.DBus -{ - .class private auto ansi abstract sealed beforefieldinit Mapper - extends [mscorlib]System.Object - { - .field private static class [mscorlib]System.Collections.Generic.List`1 genTypes + // Method begins at RVA 0xf748 + // Code size 44 (0x2c) + .maxstack 4 + .locals init ( + unsigned int8[] V_0) + IL_0000: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_UTF8() + IL_0005: ldarg.1 + IL_0006: callvirt instance unsigned int8[] class [mscorlib]System.Text.Encoding::GetBytes(string) + IL_000b: stloc.0 + IL_000c: ldarg.0 + IL_000d: ldloc.0 + IL_000e: ldlen + IL_000f: conv.i4 + IL_0010: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) + IL_0015: ldarg.0 + IL_0016: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_001b: ldloc.0 + IL_001c: ldc.i4.0 + IL_001d: ldloc.0 + IL_001e: ldlen + IL_001f: conv.i4 + IL_0020: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) + IL_0025: ldarg.0 + IL_0026: call instance void class NDesk.DBus.MessageWriter::WriteNull() + IL_002b: ret + } // end of method MessageWriter::Write // method line 1092 - .method public static hidebysig - default string GetArgumentName (class [mscorlib]System.Reflection.ParameterInfo pi) cil managed + .method public hidebysig + instance default void Write (class NDesk.DBus.ObjectPath val) cil managed { - // Method begins at RVA 0xf82c - // Code size 43 (0x2b) - .maxstack 2 - .locals init ( - string V_0) + // Method begins at RVA 0xf780 + // Code size 13 (0xd) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: callvirt instance string class [mscorlib]System.Reflection.ParameterInfo::get_Name() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: callvirt instance bool class [mscorlib]System.Reflection.ParameterInfo::get_IsRetval() - IL_000d: brfalse IL_0023 - - IL_0012: ldloc.0 - IL_0013: call bool string::IsNullOrEmpty(string) - IL_0018: brfalse IL_0023 - - IL_001d: ldstr "ret" - IL_0022: stloc.0 - IL_0023: ldarg.0 - IL_0024: ldloc.0 - IL_0025: call string class NDesk.DBus.Mapper::GetArgumentName(class [mscorlib]System.Reflection.ICustomAttributeProvider, string) - IL_002a: ret - } // end of method Mapper::GetArgumentName + IL_0001: ldarg.1 + IL_0002: ldfld string NDesk.DBus.ObjectPath::Value + IL_0007: call instance void class NDesk.DBus.MessageWriter::Write(string) + IL_000c: ret + } // end of method MessageWriter::Write // method line 1093 - .method public static hidebysig - default string GetArgumentName (class [mscorlib]System.Reflection.ICustomAttributeProvider attrProvider, string defaultName) cil managed + .method public hidebysig + instance default void Write (valuetype NDesk.DBus.Signature val) cil managed { - // Method begins at RVA 0xf864 - // Code size 58 (0x3a) - .maxstack 3 + // Method begins at RVA 0xf790 + // Code size 121 (0x79) + .maxstack 4 .locals init ( - string V_0, - class NDesk.DBus.ArgumentAttribute V_1, - object[] V_2, - int32 V_3) - IL_0000: ldarg.1 - IL_0001: stloc.0 - IL_0002: ldarg.0 - IL_0003: ldtoken NDesk.DBus.ArgumentAttribute - IL_0008: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000d: ldc.i4.1 - IL_000e: callvirt instance object[] class [mscorlib]System.Reflection.ICustomAttributeProvider::GetCustomAttributes(class [mscorlib]System.Type, bool) - IL_0013: stloc.2 - IL_0014: ldc.i4.0 - IL_0015: stloc.3 - IL_0016: br IL_002f - - IL_001b: ldloc.2 - IL_001c: ldloc.3 - IL_001d: ldelem.ref - IL_001e: castclass NDesk.DBus.ArgumentAttribute - IL_0023: stloc.1 - IL_0024: ldloc.1 - IL_0025: ldfld string NDesk.DBus.ArgumentAttribute::Name - IL_002a: stloc.0 - IL_002b: ldloc.3 - IL_002c: ldc.i4.1 - IL_002d: add - IL_002e: stloc.3 - IL_002f: ldloc.3 - IL_0030: ldloc.2 - IL_0031: ldlen - IL_0032: conv.i4 - IL_0033: blt IL_001b + unsigned int8[] V_0) + IL_0000: ldarga.s 1 + IL_0002: call instance unsigned int8[] valuetype NDesk.DBus.Signature::GetBuffer() + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: ldlen + IL_000a: conv.i4 + IL_000b: conv.i8 + IL_000c: ldc.i4 255 + IL_0011: conv.i8 + IL_0012: ble IL_0058 - IL_0038: ldloc.0 - IL_0039: ret - } // end of method Mapper::GetArgumentName + IL_0017: ldc.i4.5 + IL_0018: newarr [mscorlib]System.Object + IL_001d: dup + IL_001e: ldc.i4.0 + IL_001f: ldstr "Signature length " + IL_0024: stelem.ref + IL_0025: dup + IL_0026: ldc.i4.1 + IL_0027: ldloc.0 + IL_0028: ldlen + IL_0029: conv.i4 + IL_002a: box [mscorlib]System.Int32 + IL_002f: stelem.ref + IL_0030: dup + IL_0031: ldc.i4.2 + IL_0032: ldstr " exceeds maximum allowed " + IL_0037: stelem.ref + IL_0038: dup + IL_0039: ldc.i4.3 + IL_003a: ldc.i4 255 + IL_003f: box [mscorlib]System.UInt32 + IL_0044: stelem.ref + IL_0045: dup + IL_0046: ldc.i4.4 + IL_0047: ldstr " bytes" + IL_004c: stelem.ref + IL_004d: call string string::Concat(object[]) + IL_0052: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0057: throw + IL_0058: ldarg.0 + IL_0059: ldloc.0 + IL_005a: ldlen + IL_005b: conv.i4 + IL_005c: conv.u1 + IL_005d: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int8) + IL_0062: ldarg.0 + IL_0063: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0068: ldloc.0 + IL_0069: ldc.i4.0 + IL_006a: ldloc.0 + IL_006b: ldlen + IL_006c: conv.i4 + IL_006d: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) + IL_0072: ldarg.0 + IL_0073: call instance void class NDesk.DBus.MessageWriter::WriteNull() + IL_0078: ret + } // end of method MessageWriter::Write // method line 1094 - .method public static hidebysig - default class [mscorlib]System.Collections.Generic.IEnumerable`1 GetPublicMembers (class [mscorlib]System.Type 'type') cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0xf8ac - // Code size 23 (0x17) - .maxstack 3 - .locals init ( - class NDesk.DBus.Mapper/'c__Iterator0' V_0) - IL_0000: newobj instance void class NDesk.DBus.Mapper/'c__Iterator0'::'.ctor'() - IL_0005: stloc.0 - IL_0006: ldloc.0 - IL_0007: ldarg.0 - IL_0008: stfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator0'::'type' - IL_000d: ldloc.0 - IL_000e: dup - IL_000f: ldc.i4.s 0xfffffffe - IL_0011: stfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$PC - IL_0016: ret - } // end of method Mapper::GetPublicMembers - - // method line 1095 - .method private static hidebysig - default class [mscorlib]System.Collections.Generic.IEnumerable`1 GetDeclaredPublicMembers (class [mscorlib]System.Type 'type') cil managed + .method public hidebysig + instance default void WriteComplex (object val, class [mscorlib]System.Type 'type') cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0xf8d0 - // Code size 23 (0x17) - .maxstack 3 + // Method begins at RVA 0xf818 + // Code size 294 (0x126) + .maxstack 6 .locals init ( - class NDesk.DBus.Mapper/'c__Iterator1' V_0) - IL_0000: newobj instance void class NDesk.DBus.Mapper/'c__Iterator1'::'.ctor'() - IL_0005: stloc.0 - IL_0006: ldloc.0 - IL_0007: ldarg.0 - IL_0008: stfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator1'::'type' - IL_000d: ldloc.0 - IL_000e: dup - IL_000f: ldc.i4.s 0xfffffffe - IL_0011: stfld int32 NDesk.DBus.Mapper/'c__Iterator1'::$PC - IL_0016: ret - } // end of method Mapper::GetDeclaredPublicMembers + class [mscorlib]System.Reflection.MethodInfo V_0, + class [mscorlib]System.Reflection.MethodInfo V_1, + class [mscorlib]System.Type[] V_2, + class [mscorlib]System.Reflection.MethodInfo V_3, + class [mscorlib]System.Reflection.MethodInfo V_4) + IL_0000: ldarg.2 + IL_0001: ldtoken [mscorlib]System.Void + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0010: brfalse IL_0016 - // method line 1096 - .method public static hidebysig - default class [mscorlib]System.Reflection.MethodInfo GetMethod (class [mscorlib]System.Type 'type', class NDesk.DBus.MethodCall method_call) cil managed - { - // Method begins at RVA 0xf8f4 - // Code size 396 (0x18c) - .maxstack 4 - .locals init ( - class [mscorlib]System.Reflection.MemberInfo V_0, - class [mscorlib]System.Collections.Generic.IEnumerator`1 V_1, - class [mscorlib]System.Reflection.MethodInfo V_2, - class [mscorlib]System.Type[] V_3, - class [mscorlib]System.Reflection.PropertyInfo V_4, - class [mscorlib]System.Reflection.MethodInfo V_5, - class [mscorlib]System.Reflection.MethodInfo V_6, - valuetype NDesk.DBus.Signature V_7, - class [mscorlib]System.Reflection.MethodInfo V_8) - IL_0000: ldarg.0 - IL_0001: call class [mscorlib]System.Collections.Generic.IEnumerable`1 class NDesk.DBus.Mapper::GetPublicMembers(class [mscorlib]System.Type) - IL_0006: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() - IL_000b: stloc.1 - .try { // 0 - IL_000c: br IL_016a + IL_0015: ret + IL_0016: ldarg.2 + IL_0017: callvirt instance bool class [mscorlib]System.Type::get_IsArray() + IL_001c: brfalse IL_0063 - IL_0011: ldloc.1 - IL_0012: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_0017: stloc.0 - IL_0018: ldarg.1 - IL_0019: ldfld string NDesk.DBus.MethodCall::Interface - IL_001e: brfalse IL_003e + IL_0021: ldtoken NDesk.DBus.MessageWriter + IL_0026: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_002b: ldstr "WriteArray" + IL_0030: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) + IL_0035: stloc.0 + IL_0036: ldloc.0 + IL_0037: ldc.i4.1 + IL_0038: newarr [mscorlib]System.Type + IL_003d: dup + IL_003e: ldc.i4.0 + IL_003f: ldarg.2 + IL_0040: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() + IL_0045: stelem.ref + IL_0046: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Reflection.MethodInfo::MakeGenericMethod(class [mscorlib]System.Type[]) + IL_004b: stloc.1 + IL_004c: ldloc.1 + IL_004d: ldarg.0 + IL_004e: ldc.i4.1 + IL_004f: newarr [mscorlib]System.Object + IL_0054: dup + IL_0055: ldc.i4.0 + IL_0056: ldarg.1 + IL_0057: stelem.ref + IL_0058: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) + IL_005d: pop + IL_005e: br IL_0125 - IL_0023: ldloc.0 - IL_0024: call string class NDesk.DBus.Mapper::GetInterfaceName(class [mscorlib]System.Reflection.MemberInfo) - IL_0029: ldarg.1 - IL_002a: ldfld string NDesk.DBus.MethodCall::Interface - IL_002f: call bool string::op_Inequality(string, string) - IL_0034: brfalse IL_003e + IL_0063: ldarg.2 + IL_0064: callvirt instance bool class [mscorlib]System.Type::get_IsGenericType() + IL_0069: brfalse IL_00df - IL_0039: leave IL_016a + IL_006e: ldarg.2 + IL_006f: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetGenericTypeDefinition() + IL_0074: ldtoken [mscorlib]System.Collections.Generic.IDictionary`2 + IL_0079: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_007e: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0083: brtrue IL_00a2 - IL_003e: ldnull - IL_003f: stloc.2 - IL_0040: ldnull - IL_0041: stloc.3 - IL_0042: ldloc.0 - IL_0043: isinst [mscorlib]System.Reflection.PropertyInfo - IL_0048: brfalse IL_00ec + IL_0088: ldarg.2 + IL_0089: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetGenericTypeDefinition() + IL_008e: ldtoken [mscorlib]System.Collections.Generic.Dictionary`2 + IL_0093: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0098: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_009d: brfalse IL_00df - IL_004d: ldloc.0 - IL_004e: isinst [mscorlib]System.Reflection.PropertyInfo - IL_0053: stloc.s 4 - IL_0055: ldloc.s 4 - IL_0057: ldc.i4.0 - IL_0058: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Reflection.PropertyInfo::GetGetMethod(bool) - IL_005d: stloc.s 5 - IL_005f: ldloc.s 4 - IL_0061: ldc.i4.0 - IL_0062: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Reflection.PropertyInfo::GetSetMethod(bool) - IL_0067: stloc.s 6 - IL_0069: ldloc.s 5 - IL_006b: ldnull - IL_006c: call bool class [mscorlib]System.Reflection.MethodInfo::op_Inequality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_0071: brfalse IL_00a5 + IL_00a2: ldarg.2 + IL_00a3: callvirt instance class [mscorlib]System.Type[] class [mscorlib]System.Type::GetGenericArguments() + IL_00a8: stloc.2 + IL_00a9: ldtoken NDesk.DBus.MessageWriter + IL_00ae: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00b3: ldstr "WriteFromDict" + IL_00b8: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) + IL_00bd: stloc.3 + IL_00be: ldloc.3 + IL_00bf: ldloc.2 + IL_00c0: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Reflection.MethodInfo::MakeGenericMethod(class [mscorlib]System.Type[]) + IL_00c5: stloc.s 4 + IL_00c7: ldloc.s 4 + IL_00c9: ldarg.0 + IL_00ca: ldc.i4.1 + IL_00cb: newarr [mscorlib]System.Object + IL_00d0: dup + IL_00d1: ldc.i4.0 + IL_00d2: ldarg.1 + IL_00d3: stelem.ref + IL_00d4: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) + IL_00d9: pop + IL_00da: br IL_0125 - IL_0076: ldstr "Get" - IL_007b: ldloc.s 4 - IL_007d: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_0082: call string string::Concat(string, string) - IL_0087: ldarg.1 - IL_0088: ldfld string NDesk.DBus.MethodCall::Member - IL_008d: call bool string::op_Equality(string, string) - IL_0092: brfalse IL_00a5 + IL_00df: ldarg.2 + IL_00e0: call bool class NDesk.DBus.Mapper::IsPublic(class [mscorlib]System.Type) + IL_00e5: brfalse IL_00f7 - IL_0097: ldloc.s 5 - IL_0099: stloc.2 - IL_009a: ldsfld class [mscorlib]System.Type[] [mscorlib]System.Type::EmptyTypes - IL_009f: stloc.3 - IL_00a0: br IL_00e7 + IL_00ea: ldarg.0 + IL_00eb: ldarg.2 + IL_00ec: ldarg.1 + IL_00ed: call instance void class NDesk.DBus.MessageWriter::WriteObject(class [mscorlib]System.Type, object) + IL_00f2: br IL_0125 - IL_00a5: ldloc.s 6 - IL_00a7: ldnull - IL_00a8: call bool class [mscorlib]System.Reflection.MethodInfo::op_Inequality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_00ad: brfalse IL_00e7 + IL_00f7: ldarg.2 + IL_00f8: callvirt instance bool class [mscorlib]System.Type::get_IsPrimitive() + IL_00fd: brtrue IL_011a - IL_00b2: ldstr "Set" - IL_00b7: ldloc.s 4 - IL_00b9: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_00be: call string string::Concat(string, string) - IL_00c3: ldarg.1 - IL_00c4: ldfld string NDesk.DBus.MethodCall::Member - IL_00c9: call bool string::op_Equality(string, string) - IL_00ce: brfalse IL_00e7 + IL_0102: ldarg.2 + IL_0103: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() + IL_0108: brtrue IL_011a - IL_00d3: ldloc.s 6 - IL_00d5: stloc.2 - IL_00d6: ldc.i4.1 - IL_00d7: newarr [mscorlib]System.Type - IL_00dc: dup - IL_00dd: ldc.i4.0 - IL_00de: ldloc.s 4 - IL_00e0: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_00e5: stelem.ref - IL_00e6: stloc.3 - IL_00e7: br IL_012c + IL_010d: ldarg.0 + IL_010e: ldarg.1 + IL_010f: ldarg.2 + IL_0110: call instance void class NDesk.DBus.MessageWriter::WriteValueType(object, class [mscorlib]System.Type) + IL_0115: br IL_0125 - IL_00ec: ldloc.0 - IL_00ed: isinst [mscorlib]System.Reflection.MethodInfo - IL_00f2: stloc.2 - IL_00f3: ldloc.2 - IL_00f4: ldnull - IL_00f5: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_00fa: brfalse IL_0104 + IL_011a: ldstr "Can't write" + IL_011f: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0124: throw + IL_0125: ret + } // end of method MessageWriter::WriteComplex - IL_00ff: leave IL_016a + // method line 1095 + .method public hidebysig + instance default void Write (class [mscorlib]System.Type 'type', object val) cil managed + { + // Method begins at RVA 0xf94c + // Code size 443 (0x1bb) + .maxstack 6 + .locals init ( + class [mscorlib]System.Reflection.MethodInfo V_0, + class [mscorlib]System.Reflection.MethodInfo V_1, + class [mscorlib]System.Type[] V_2, + class [mscorlib]System.Reflection.MethodInfo V_3, + class [mscorlib]System.Reflection.MethodInfo V_4) + IL_0000: ldarg.1 + IL_0001: ldtoken [mscorlib]System.Void + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0010: brfalse IL_0016 - IL_0104: ldloc.2 - IL_0105: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_010a: ldarg.1 - IL_010b: ldfld string NDesk.DBus.MethodCall::Member - IL_0110: call bool string::op_Inequality(string, string) - IL_0115: brfalse IL_011f + IL_0015: ret + IL_0016: ldarg.1 + IL_0017: callvirt instance bool class [mscorlib]System.Type::get_IsArray() + IL_001c: brfalse IL_0063 - IL_011a: leave IL_016a + IL_0021: ldtoken NDesk.DBus.MessageWriter + IL_0026: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_002b: ldstr "WriteArray" + IL_0030: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) + IL_0035: stloc.0 + IL_0036: ldloc.0 + IL_0037: ldc.i4.1 + IL_0038: newarr [mscorlib]System.Type + IL_003d: dup + IL_003e: ldc.i4.0 + IL_003f: ldarg.1 + IL_0040: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() + IL_0045: stelem.ref + IL_0046: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Reflection.MethodInfo::MakeGenericMethod(class [mscorlib]System.Type[]) + IL_004b: stloc.1 + IL_004c: ldloc.1 + IL_004d: ldarg.0 + IL_004e: ldc.i4.1 + IL_004f: newarr [mscorlib]System.Object + IL_0054: dup + IL_0055: ldc.i4.0 + IL_0056: ldarg.2 + IL_0057: stelem.ref + IL_0058: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) + IL_005d: pop + IL_005e: br IL_01ba - IL_011f: ldc.i4.0 - IL_0120: ldloc.2 - IL_0121: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_0126: call class [mscorlib]System.Type[] class NDesk.DBus.Mapper::GetTypes(valuetype NDesk.DBus.ArgDirection, class [mscorlib]System.Reflection.ParameterInfo[]) - IL_012b: stloc.3 - IL_012c: ldloc.2 - IL_012d: ldnull - IL_012e: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_0133: brtrue IL_013e + IL_0063: ldarg.1 + IL_0064: ldtoken NDesk.DBus.ObjectPath + IL_0069: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_006e: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0073: brfalse IL_0089 - IL_0138: ldloc.3 - IL_0139: brtrue IL_0143 + IL_0078: ldarg.0 + IL_0079: ldarg.2 + IL_007a: castclass NDesk.DBus.ObjectPath + IL_007f: call instance void class NDesk.DBus.MessageWriter::Write(class NDesk.DBus.ObjectPath) + IL_0084: br IL_01ba - IL_013e: leave IL_016a + IL_0089: ldarg.1 + IL_008a: ldtoken NDesk.DBus.Signature + IL_008f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0094: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0099: brfalse IL_00af - IL_0143: ldloc.3 - IL_0144: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type[]) - IL_0149: stloc.s 7 - IL_014b: ldloc.s 7 - IL_014d: ldarg.1 - IL_014e: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.MethodCall::Signature - IL_0153: call bool valuetype NDesk.DBus.Signature::op_Inequality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0158: brfalse IL_0162 + IL_009e: ldarg.0 + IL_009f: ldarg.2 + IL_00a0: unbox.any NDesk.DBus.Signature + IL_00a5: call instance void class NDesk.DBus.MessageWriter::Write(valuetype NDesk.DBus.Signature) + IL_00aa: br IL_01ba - IL_015d: leave IL_016a + IL_00af: ldarg.1 + IL_00b0: ldtoken [mscorlib]System.Object + IL_00b5: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00ba: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_00bf: brfalse IL_00d0 - IL_0162: ldloc.2 - IL_0163: stloc.s 8 - IL_0165: leave IL_0189 + IL_00c4: ldarg.0 + IL_00c5: ldarg.2 + IL_00c6: call instance void class NDesk.DBus.MessageWriter::Write(object) + IL_00cb: br IL_01ba - IL_016a: ldloc.1 - IL_016b: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0170: brtrue IL_0011 + IL_00d0: ldarg.1 + IL_00d1: ldtoken [mscorlib]System.String + IL_00d6: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00db: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_00e0: brfalse IL_00f6 - IL_0175: leave IL_0187 + IL_00e5: ldarg.0 + IL_00e6: ldarg.2 + IL_00e7: castclass [mscorlib]System.String + IL_00ec: call instance void class NDesk.DBus.MessageWriter::Write(string) + IL_00f1: br IL_01ba - } // end .try 0 - finally { // 0 - IL_017a: ldloc.1 - IL_017b: brfalse IL_0186 + IL_00f6: ldarg.1 + IL_00f7: callvirt instance bool class [mscorlib]System.Type::get_IsGenericType() + IL_00fc: brfalse IL_0172 - IL_0180: ldloc.1 - IL_0181: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0186: endfinally - } // end handler 0 - IL_0187: ldnull - IL_0188: ret - IL_0189: ldloc.s 8 - IL_018b: ret - } // end of method Mapper::GetMethod + IL_0101: ldarg.1 + IL_0102: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetGenericTypeDefinition() + IL_0107: ldtoken [mscorlib]System.Collections.Generic.IDictionary`2 + IL_010c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0111: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0116: brtrue IL_0135 - // method line 1097 - .method public static hidebysig - default bool IsPublic (class [mscorlib]System.Reflection.MemberInfo mi) cil managed - { - // Method begins at RVA 0xfaa8 - // Code size 12 (0xc) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_0006: call bool class NDesk.DBus.Mapper::IsPublic(class [mscorlib]System.Type) - IL_000b: ret - } // end of method Mapper::IsPublic + IL_011b: ldarg.1 + IL_011c: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetGenericTypeDefinition() + IL_0121: ldtoken [mscorlib]System.Collections.Generic.Dictionary`2 + IL_0126: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_012b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0130: brfalse IL_0172 - // method line 1098 - .method public static hidebysig - default bool IsPublic (class [mscorlib]System.Type 'type') cil managed - { - // Method begins at RVA 0xfab5 - // Code size 49 (0x31) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldtoken NDesk.DBus.InterfaceAttribute - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: ldc.i4.0 - IL_000c: callvirt instance bool class [mscorlib]System.Reflection.MemberInfo::IsDefined(class [mscorlib]System.Type, bool) - IL_0011: brfalse IL_0018 + IL_0135: ldarg.1 + IL_0136: callvirt instance class [mscorlib]System.Type[] class [mscorlib]System.Type::GetGenericArguments() + IL_013b: stloc.2 + IL_013c: ldtoken NDesk.DBus.MessageWriter + IL_0141: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0146: ldstr "WriteFromDict" + IL_014b: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) + IL_0150: stloc.3 + IL_0151: ldloc.3 + IL_0152: ldloc.2 + IL_0153: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Reflection.MethodInfo::MakeGenericMethod(class [mscorlib]System.Type[]) + IL_0158: stloc.s 4 + IL_015a: ldloc.s 4 + IL_015c: ldarg.0 + IL_015d: ldc.i4.1 + IL_015e: newarr [mscorlib]System.Object + IL_0163: dup + IL_0164: ldc.i4.0 + IL_0165: ldarg.2 + IL_0166: stelem.ref + IL_0167: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) + IL_016c: pop + IL_016d: br IL_01ba - IL_0016: ldc.i4.1 - IL_0017: ret - IL_0018: ldarg.0 - IL_0019: ldtoken [mscorlib]System.MarshalByRefObject - IL_001e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0023: callvirt instance bool class [mscorlib]System.Type::IsSubclassOf(class [mscorlib]System.Type) - IL_0028: brfalse IL_002f + IL_0172: ldarg.1 + IL_0173: call bool class NDesk.DBus.Mapper::IsPublic(class [mscorlib]System.Type) + IL_0178: brfalse IL_018a - IL_002d: ldc.i4.1 - IL_002e: ret - IL_002f: ldc.i4.0 - IL_0030: ret - } // end of method Mapper::IsPublic + IL_017d: ldarg.0 + IL_017e: ldarg.1 + IL_017f: ldarg.2 + IL_0180: call instance void class NDesk.DBus.MessageWriter::WriteObject(class [mscorlib]System.Type, object) + IL_0185: br IL_01ba - // method line 1099 - .method public static hidebysig - default string GetInterfaceName (class [mscorlib]System.Reflection.MemberInfo mi) cil managed - { - // Method begins at RVA 0xfae7 - // Code size 12 (0xc) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_0006: call string class NDesk.DBus.Mapper::GetInterfaceName(class [mscorlib]System.Type) - IL_000b: ret - } // end of method Mapper::GetInterfaceName + IL_018a: ldarg.1 + IL_018b: callvirt instance bool class [mscorlib]System.Type::get_IsPrimitive() + IL_0190: brtrue IL_01ad - // method line 1100 - .method public static hidebysig - default string GetInterfaceName (class [mscorlib]System.Type 'type') cil managed - { - // Method begins at RVA 0xfaf4 - // Code size 63 (0x3f) - .maxstack 3 - .locals init ( - string V_0, - class NDesk.DBus.InterfaceAttribute V_1, - object[] V_2, - int32 V_3) - IL_0000: ldarg.0 - IL_0001: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldtoken NDesk.DBus.InterfaceAttribute - IL_000d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0012: ldc.i4.1 - IL_0013: callvirt instance object[] class [mscorlib]System.Reflection.MemberInfo::GetCustomAttributes(class [mscorlib]System.Type, bool) - IL_0018: stloc.2 - IL_0019: ldc.i4.0 - IL_001a: stloc.3 - IL_001b: br IL_0034 + IL_0195: ldarg.1 + IL_0196: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() + IL_019b: brtrue IL_01ad - IL_0020: ldloc.2 - IL_0021: ldloc.3 - IL_0022: ldelem.ref - IL_0023: castclass NDesk.DBus.InterfaceAttribute - IL_0028: stloc.1 - IL_0029: ldloc.1 - IL_002a: ldfld string NDesk.DBus.InterfaceAttribute::Name - IL_002f: stloc.0 - IL_0030: ldloc.3 - IL_0031: ldc.i4.1 - IL_0032: add - IL_0033: stloc.3 - IL_0034: ldloc.3 - IL_0035: ldloc.2 - IL_0036: ldlen - IL_0037: conv.i4 - IL_0038: blt IL_0020 + IL_01a0: ldarg.0 + IL_01a1: ldarg.2 + IL_01a2: ldarg.1 + IL_01a3: call instance void class NDesk.DBus.MessageWriter::WriteValueType(object, class [mscorlib]System.Type) + IL_01a8: br IL_01ba - IL_003d: ldloc.0 - IL_003e: ret - } // end of method Mapper::GetInterfaceName + IL_01ad: ldarg.0 + IL_01ae: ldarg.1 + IL_01af: call valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::TypeToDType(class [mscorlib]System.Type) + IL_01b4: ldarg.2 + IL_01b5: call instance void class NDesk.DBus.MessageWriter::Write(valuetype NDesk.DBus.DType, object) + IL_01ba: ret + } // end of method MessageWriter::Write - // method line 1101 - .method public static hidebysig - default class [mscorlib]System.Type[] GetTypes (valuetype NDesk.DBus.ArgDirection dir, class [mscorlib]System.Reflection.ParameterInfo[] parms) cil managed + // method line 1096 + .method public hidebysig + instance default void Write (valuetype NDesk.DBus.DType dtype, object val) cil managed { - // Method begins at RVA 0xfb40 - // Code size 120 (0x78) - .maxstack 3 - .locals init ( - class [mscorlib]System.Collections.Generic.List`1 V_0, - int32 V_1) - IL_0000: newobj instance void class [mscorlib]System.Collections.Generic.List`1::'.ctor'() - IL_0005: stloc.0 - IL_0006: ldc.i4.0 - IL_0007: stloc.1 - IL_0008: br IL_0068 + // Method begins at RVA 0xfb14 + // Code size 359 (0x167) + .maxstack 2 + IL_0000: ldarg.1 + IL_0001: ldc.i4.s 0x6e + IL_0003: sub + IL_0004: switch ( + IL_0089, + IL_0122, + IL_0039, + IL_009a, + IL_0039, + IL_0111, + IL_00de, + IL_00bc, + IL_0144, + IL_0039, + IL_00cd, + IL_0067) + IL_0039: ldarg.1 + IL_003a: ldc.i4.s 0x62 + IL_003c: sub + IL_003d: switch ( + IL_0078, + IL_0150, + IL_0100, + IL_0150, + IL_00ef, + IL_0133, + IL_0150, + IL_00ab) + IL_0062: br IL_0150 - IL_000d: ldarg.0 - IL_000e: brfalse IL_001f + IL_0067: ldarg.0 + IL_0068: ldarg.2 + IL_0069: unbox.any [mscorlib]System.Byte + IL_006e: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int8) + IL_0073: br IL_0166 - IL_0013: ldarg.0 - IL_0014: ldc.i4.1 - IL_0015: beq IL_003f + IL_0078: ldarg.0 + IL_0079: ldarg.2 + IL_007a: unbox.any [mscorlib]System.Boolean + IL_007f: call instance void class NDesk.DBus.MessageWriter::Write(bool) + IL_0084: br IL_0166 - IL_001a: br IL_0064 + IL_0089: ldarg.0 + IL_008a: ldarg.2 + IL_008b: unbox.any [mscorlib]System.Int16 + IL_0090: call instance void class NDesk.DBus.MessageWriter::Write(int16) + IL_0095: br IL_0166 - IL_001f: ldarg.1 - IL_0020: ldloc.1 - IL_0021: ldelem.ref - IL_0022: callvirt instance bool class [mscorlib]System.Reflection.ParameterInfo::get_IsOut() - IL_0027: brtrue IL_003a + IL_009a: ldarg.0 + IL_009b: ldarg.2 + IL_009c: unbox.any [mscorlib]System.UInt16 + IL_00a1: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int16) + IL_00a6: br IL_0166 - IL_002c: ldloc.0 - IL_002d: ldarg.1 - IL_002e: ldloc.1 - IL_002f: ldelem.ref - IL_0030: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_0035: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Add(!0) - IL_003a: br IL_0064 + IL_00ab: ldarg.0 + IL_00ac: ldarg.2 + IL_00ad: unbox.any [mscorlib]System.Int32 + IL_00b2: call instance void class NDesk.DBus.MessageWriter::Write(int32) + IL_00b7: br IL_0166 - IL_003f: ldarg.1 - IL_0040: ldloc.1 - IL_0041: ldelem.ref - IL_0042: callvirt instance bool class [mscorlib]System.Reflection.ParameterInfo::get_IsOut() - IL_0047: brfalse IL_005f + IL_00bc: ldarg.0 + IL_00bd: ldarg.2 + IL_00be: unbox.any [mscorlib]System.UInt32 + IL_00c3: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) + IL_00c8: br IL_0166 - IL_004c: ldloc.0 - IL_004d: ldarg.1 - IL_004e: ldloc.1 - IL_004f: ldelem.ref - IL_0050: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_0055: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() - IL_005a: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Add(!0) - IL_005f: br IL_0064 + IL_00cd: ldarg.0 + IL_00ce: ldarg.2 + IL_00cf: unbox.any [mscorlib]System.Int64 + IL_00d4: call instance void class NDesk.DBus.MessageWriter::Write(int64) + IL_00d9: br IL_0166 - IL_0064: ldloc.1 - IL_0065: ldc.i4.1 - IL_0066: add - IL_0067: stloc.1 - IL_0068: ldloc.1 - IL_0069: ldarg.1 - IL_006a: ldlen - IL_006b: conv.i4 - IL_006c: bne.un IL_000d + IL_00de: ldarg.0 + IL_00df: ldarg.2 + IL_00e0: unbox.any [mscorlib]System.UInt64 + IL_00e5: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int64) + IL_00ea: br IL_0166 - IL_0071: ldloc.0 - IL_0072: callvirt instance !0[] class [mscorlib]System.Collections.Generic.List`1::ToArray() - IL_0077: ret - } // end of method Mapper::GetTypes + IL_00ef: ldarg.0 + IL_00f0: ldarg.2 + IL_00f1: unbox.any [mscorlib]System.Single + IL_00f6: call instance void class NDesk.DBus.MessageWriter::Write(float32) + IL_00fb: br IL_0166 - // method line 1102 - .method public static hidebysig - default bool IsDeprecated (class [mscorlib]System.Reflection.ICustomAttributeProvider attrProvider) cil managed - { - // Method begins at RVA 0xfbc4 - // Code size 18 (0x12) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldtoken [mscorlib]System.ObsoleteAttribute - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: ldc.i4.1 - IL_000c: callvirt instance bool class [mscorlib]System.Reflection.ICustomAttributeProvider::IsDefined(class [mscorlib]System.Type, bool) - IL_0011: ret - } // end of method Mapper::IsDeprecated + IL_0100: ldarg.0 + IL_0101: ldarg.2 + IL_0102: unbox.any [mscorlib]System.Double + IL_0107: call instance void class NDesk.DBus.MessageWriter::Write(float64) + IL_010c: br IL_0166 - // method line 1103 - .method private static hidebysig - default bool AreEqual (class [mscorlib]System.Type[] a, class [mscorlib]System.Type[] b) cil managed - { - // Method begins at RVA 0xfbd8 - // Code size 53 (0x35) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: ldarg.0 - IL_0001: ldlen - IL_0002: conv.i4 - IL_0003: ldarg.1 - IL_0004: ldlen - IL_0005: conv.i4 - IL_0006: beq IL_000d + IL_0111: ldarg.0 + IL_0112: ldarg.2 + IL_0113: castclass [mscorlib]System.String + IL_0118: call instance void class NDesk.DBus.MessageWriter::Write(string) + IL_011d: br IL_0166 - IL_000b: ldc.i4.0 - IL_000c: ret - IL_000d: ldc.i4.0 - IL_000e: stloc.0 - IL_000f: br IL_002a + IL_0122: ldarg.0 + IL_0123: ldarg.2 + IL_0124: castclass NDesk.DBus.ObjectPath + IL_0129: call instance void class NDesk.DBus.MessageWriter::Write(class NDesk.DBus.ObjectPath) + IL_012e: br IL_0166 - IL_0014: ldarg.0 - IL_0015: ldloc.0 - IL_0016: ldelem.ref - IL_0017: ldarg.1 - IL_0018: ldloc.0 - IL_0019: ldelem.ref - IL_001a: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_001f: brfalse IL_0026 + IL_0133: ldarg.0 + IL_0134: ldarg.2 + IL_0135: unbox.any NDesk.DBus.Signature + IL_013a: call instance void class NDesk.DBus.MessageWriter::Write(valuetype NDesk.DBus.Signature) + IL_013f: br IL_0166 - IL_0024: ldc.i4.0 - IL_0025: ret - IL_0026: ldloc.0 - IL_0027: ldc.i4.1 - IL_0028: add - IL_0029: stloc.0 - IL_002a: ldloc.0 - IL_002b: ldarg.0 - IL_002c: ldlen - IL_002d: conv.i4 - IL_002e: bne.un IL_0014 + IL_0144: ldarg.0 + IL_0145: ldarg.2 + IL_0146: call instance void class NDesk.DBus.MessageWriter::Write(object) + IL_014b: br IL_0166 - IL_0033: ldc.i4.1 - IL_0034: ret - } // end of method Mapper::AreEqual + IL_0150: ldstr "Unhandled D-Bus type: " + IL_0155: ldarg.1 + IL_0156: box NDesk.DBus.DType + IL_015b: call string string::Concat(object, object) + IL_0160: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0165: throw + IL_0166: ret + } // end of method MessageWriter::Write - // method line 1104 - .method assembly static hidebysig - default class [mscorlib]System.Type GetGenericType (class [mscorlib]System.Type defType, class [mscorlib]System.Type[] parms) cil managed + // method line 1097 + .method public hidebysig + instance default void WriteObject (class [mscorlib]System.Type 'type', object val) cil managed { - // Method begins at RVA 0xfc1c - // Code size 170 (0xaa) + // Method begins at RVA 0xfc88 + // Code size 73 (0x49) .maxstack 2 .locals init ( - object V_0, - bool V_1, - class [mscorlib]System.Type V_2, - valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator V_3, - class [mscorlib]System.Type[] V_4, - class [mscorlib]System.Type V_5, - class [mscorlib]System.Type V_6) - IL_0000: ldsfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.Mapper::genTypes - IL_0005: stloc.0 - IL_0006: ldc.i4.0 - IL_0007: stloc.1 - .try { // 1 - IL_0008: ldloc.0 - IL_0009: ldloca.s 1 - IL_000b: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) - IL_0010: ldsfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.Mapper::genTypes - IL_0015: callvirt instance valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator class [mscorlib]System.Collections.Generic.List`1::GetEnumerator() - IL_001a: stloc.3 - .try { // 0 - IL_001b: br IL_0060 - - IL_0020: ldloca.s 3 - IL_0022: call instance !0 valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator::get_Current() - IL_0027: stloc.2 - IL_0028: ldloc.2 - IL_0029: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetGenericTypeDefinition() - IL_002e: ldarg.0 - IL_002f: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0034: brfalse IL_003e - - IL_0039: leave IL_0060 - - IL_003e: ldloc.2 - IL_003f: callvirt instance class [mscorlib]System.Type[] class [mscorlib]System.Type::GetGenericArguments() - IL_0044: stloc.s 4 - IL_0046: ldloc.s 4 - IL_0048: ldarg.1 - IL_0049: call bool class NDesk.DBus.Mapper::AreEqual(class [mscorlib]System.Type[], class [mscorlib]System.Type[]) - IL_004e: brtrue IL_0058 - - IL_0053: leave IL_0060 - - IL_0058: ldloc.2 - IL_0059: stloc.s 5 - IL_005b: leave IL_00a7 - - IL_0060: ldloca.s 3 - IL_0062: call instance bool valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator::MoveNext() - IL_0067: brtrue IL_0020 - - IL_006c: leave IL_007f + class NDesk.DBus.ObjectPath V_0, + class NDesk.DBus.BusObject V_1) + IL_0000: ldarg.2 + IL_0001: isinst NDesk.DBus.BusObject + IL_0006: stloc.1 + IL_0007: ldloc.1 + IL_0008: brtrue IL_0029 - } // end .try 0 - finally { // 0 - IL_0071: ldloca.s 3 - IL_0073: constrained. valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator - IL_0079: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_007e: endfinally - } // end handler 0 - IL_007f: ldarg.0 - IL_0080: ldarg.1 - IL_0081: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::MakeGenericType(class [mscorlib]System.Type[]) - IL_0086: stloc.s 6 - IL_0088: ldsfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.Mapper::genTypes - IL_008d: ldloc.s 6 - IL_008f: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Add(!0) - IL_0094: ldloc.s 6 - IL_0096: stloc.s 5 - IL_0098: leave IL_00a7 + IL_000d: ldarg.2 + IL_000e: isinst [mscorlib]System.MarshalByRefObject + IL_0013: brfalse IL_0029 - } // end .try 1 - finally { // 1 - IL_009d: ldloc.1 - IL_009e: brfalse.s IL_00a6 + IL_0018: ldarg.2 + IL_0019: castclass [mscorlib]System.MarshalByRefObject + IL_001e: callvirt instance object class [mscorlib]System.MarshalByRefObject::GetLifetimeService() + IL_0023: isinst NDesk.DBus.BusObject + IL_0028: stloc.1 + IL_0029: ldloc.1 + IL_002a: brtrue IL_003a - IL_00a0: ldloc.0 - IL_00a1: call void class [mscorlib]System.Threading.Monitor::Exit(object) - IL_00a6: endfinally - } // end handler 1 - IL_00a7: ldloc.s 5 - IL_00a9: ret - } // end of method Mapper::GetGenericType + IL_002f: ldstr "No object reference to write" + IL_0034: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0039: throw + IL_003a: ldloc.1 + IL_003b: callvirt instance class NDesk.DBus.ObjectPath class NDesk.DBus.BusObject::get_Path() + IL_0040: stloc.0 + IL_0041: ldarg.0 + IL_0042: ldloc.0 + IL_0043: call instance void class NDesk.DBus.MessageWriter::Write(class NDesk.DBus.ObjectPath) + IL_0048: ret + } // end of method MessageWriter::WriteObject - // method line 1105 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + // method line 1098 + .method public hidebysig + instance default void Write (object val) cil managed { - // Method begins at RVA 0xfcf0 - // Code size 11 (0xb) - .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.Collections.Generic.List`1::'.ctor'() - IL_0005: stsfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.Mapper::genTypes - IL_000a: ret - } // end of method Mapper::.cctor - - .class nested private auto ansi sealed beforefieldinit 'c__Iterator0' - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerable, class [mscorlib]System.Collections.Generic.IEnumerable`1, [mscorlib]System.Collections.IEnumerator, [mscorlib]System.IDisposable, class [mscorlib]System.Collections.Generic.IEnumerator`1 { - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + // Method begins at RVA 0xfce0 + // Code size 135 (0x87) + .maxstack 4 + .locals init ( + class NDesk.DBus.DValue V_0, + class [mscorlib]System.Type V_1) + IL_0000: ldarg.1 + IL_0001: brtrue IL_0011 - .field assembly class [mscorlib]System.Type 'type' - .field assembly class [mscorlib]System.Type[] $locvar0 - .field assembly int32 $locvar1 - .field assembly class [mscorlib]System.Type '__1' - .field assembly class [mscorlib]System.Collections.Generic.IEnumerator`1 $locvar2 - .field assembly class [mscorlib]System.Reflection.MemberInfo '__2' - .field assembly class [mscorlib]System.Collections.Generic.IEnumerator`1 $locvar3 - .field assembly class [mscorlib]System.Reflection.MemberInfo '__3' - .field assembly class [mscorlib]System.Reflection.MemberInfo $current - .field assembly bool $disposing - .field assembly int32 $PC + IL_0006: ldstr "Cannot send null variant" + IL_000b: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) + IL_0010: throw + IL_0011: ldarg.1 + IL_0012: isinst NDesk.DBus.DValue + IL_0017: brfalse IL_0077 - // method line 1360 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_001c: ldarg.1 + IL_001d: castclass NDesk.DBus.DValue + IL_0022: stloc.0 + IL_0023: ldloc.0 + IL_0024: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.DValue::endianness + IL_0029: ldarg.0 + IL_002a: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.MessageWriter::endianness + IL_002f: beq IL_003f - // Method begins at RVA 0xfcfc - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method c__Iterator0::.ctor + IL_0034: ldstr "Writing opposite endian DValues not yet implemented." + IL_0039: newobj instance void class [mscorlib]System.NotImplementedException::'.ctor'(string) + IL_003e: throw + IL_003f: ldarg.0 + IL_0040: ldloc.0 + IL_0041: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.DValue::signature + IL_0046: call instance void class NDesk.DBus.MessageWriter::Write(valuetype NDesk.DBus.Signature) + IL_004b: ldarg.0 + IL_004c: ldloc.0 + IL_004d: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.DValue::signature + IL_0052: call instance int32 valuetype NDesk.DBus.Signature::get_Alignment() + IL_0057: call instance void class NDesk.DBus.MessageWriter::WritePad(int32) + IL_005c: ldarg.0 + IL_005d: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0062: ldloc.0 + IL_0063: ldfld unsigned int8[] NDesk.DBus.DValue::data + IL_0068: ldc.i4.0 + IL_0069: ldloc.0 + IL_006a: ldfld unsigned int8[] NDesk.DBus.DValue::data + IL_006f: ldlen + IL_0070: conv.i4 + IL_0071: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) + IL_0076: ret + IL_0077: ldarg.1 + IL_0078: callvirt instance class [mscorlib]System.Type object::GetType() + IL_007d: stloc.1 + IL_007e: ldarg.0 + IL_007f: ldloc.1 + IL_0080: ldarg.1 + IL_0081: call instance void class NDesk.DBus.MessageWriter::WriteVariant(class [mscorlib]System.Type, object) + IL_0086: ret + } // end of method MessageWriter::Write - // method line 1361 - .method public final virtual hidebysig newslot - instance default bool MoveNext () cil managed + // method line 1099 + .method public hidebysig + instance default void WriteVariant (class [mscorlib]System.Type 'type', object val) cil managed { - // Method begins at RVA 0xfd04 - // Code size 429 (0x1ad) + // Method begins at RVA 0xfd74 + // Code size 23 (0x17) .maxstack 3 .locals init ( - unsigned int32 V_0, - bool V_1) - IL_0000: ldarg.0 - IL_0001: ldfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$PC + valuetype NDesk.DBus.Signature V_0) + IL_0000: ldarg.1 + IL_0001: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) IL_0006: stloc.0 IL_0007: ldarg.0 - IL_0008: ldc.i4.m1 - IL_0009: stfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$PC - IL_000e: ldc.i4.0 - IL_000f: stloc.1 - IL_0010: ldloc.0 - IL_0011: switch ( - IL_0027, - IL_0070, - IL_012e) - IL_0022: br IL_01a9 - - IL_0027: ldarg.0 - IL_0028: ldarg.0 - IL_0029: ldfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator0'::'type' - IL_002e: callvirt instance class [mscorlib]System.Type[] class [mscorlib]System.Type::GetInterfaces() - IL_0033: stfld class [mscorlib]System.Type[] NDesk.DBus.Mapper/'c__Iterator0'::$locvar0 - IL_0038: ldarg.0 - IL_0039: ldc.i4.0 - IL_003a: stfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$locvar1 - IL_003f: br IL_00f2 - - IL_0044: ldarg.0 - IL_0045: ldarg.0 - IL_0046: ldfld class [mscorlib]System.Type[] NDesk.DBus.Mapper/'c__Iterator0'::$locvar0 - IL_004b: ldarg.0 - IL_004c: ldfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$locvar1 - IL_0051: ldelem.ref - IL_0052: stfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator0'::'__1' - IL_0057: ldarg.0 - IL_0058: ldarg.0 - IL_0059: ldfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator0'::'__1' - IL_005e: call class [mscorlib]System.Collections.Generic.IEnumerable`1 class NDesk.DBus.Mapper::GetDeclaredPublicMembers(class [mscorlib]System.Type) - IL_0063: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() - IL_0068: stfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar2 - IL_006d: ldc.i4.s 0xfffffffd - IL_006f: stloc.0 - .try { // 0 - IL_0070: ldloc.0 - IL_0071: ldc.i4.1 - IL_0072: sub - IL_0073: switch ( - IL_00b4) - IL_007c: br IL_00b4 - - IL_0081: ldarg.0 - IL_0082: ldarg.0 - IL_0083: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar2 - IL_0088: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_008d: stfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator0'::'__2' - IL_0092: ldarg.0 - IL_0093: ldarg.0 - IL_0094: ldfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator0'::'__2' - IL_0099: stfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator0'::$current - IL_009e: ldarg.0 - IL_009f: ldfld bool NDesk.DBus.Mapper/'c__Iterator0'::$disposing - IL_00a4: brtrue.s IL_00ad - - IL_00a6: ldarg.0 - IL_00a7: ldc.i4.1 - IL_00a8: stfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$PC - IL_00ad: ldc.i4.1 - IL_00ae: stloc.1 - IL_00af: leave IL_01ab - - IL_00b4: ldarg.0 - IL_00b5: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar2 - IL_00ba: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00bf: brtrue IL_0081 - - IL_00c4: leave IL_00e4 - - } // end .try 0 - finally { // 0 - IL_00c9: ldloc.1 - IL_00ca: brfalse.s IL_00cd - - IL_00cc: endfinally - IL_00cd: ldarg.0 - IL_00ce: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar2 - IL_00d3: brfalse IL_00e3 + IL_0008: ldloc.0 + IL_0009: call instance void class NDesk.DBus.MessageWriter::Write(valuetype NDesk.DBus.Signature) + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: ldarg.2 + IL_0011: call instance void class NDesk.DBus.MessageWriter::Write(class [mscorlib]System.Type, object) + IL_0016: ret + } // end of method MessageWriter::WriteVariant - IL_00d8: ldarg.0 - IL_00d9: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar2 - IL_00de: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00e3: endfinally - } // end handler 0 - IL_00e4: ldarg.0 - IL_00e5: ldarg.0 - IL_00e6: ldfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$locvar1 - IL_00eb: ldc.i4.1 - IL_00ec: add - IL_00ed: stfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$locvar1 - IL_00f2: ldarg.0 - IL_00f3: ldfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$locvar1 - IL_00f8: ldarg.0 - IL_00f9: ldfld class [mscorlib]System.Type[] NDesk.DBus.Mapper/'c__Iterator0'::$locvar0 - IL_00fe: ldlen - IL_00ff: conv.i4 - IL_0100: blt IL_0044 + // method line 1100 + .method public hidebysig + instance default void WriteArray (!!T[] val) cil managed + { + // Method begins at RVA 0xfd98 + // Code size 654 (0x28e) + .maxstack 4 + .locals init ( + class [mscorlib]System.Type V_0, + valuetype NDesk.DBus.Signature V_1, + int32 V_2, + int32 V_3, + valuetype [mscorlib]System.Runtime.InteropServices.GCHandle V_4, + native int V_5, + unsigned int8[] V_6, + unsigned int8* V_7, + int32 V_8, + int64 V_9, + int64 V_10, + class NDesk.DBus.TypeWriter`1 V_11, + !!T V_12, + !!T[] V_13, + int32 V_14, + int64 V_15, + unsigned int32 V_16) + IL_0000: ldtoken !!T + IL_0005: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000a: stloc.0 + IL_000b: ldloc.0 + IL_000c: ldtoken [mscorlib]System.Byte + IL_0011: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0016: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_001b: brfalse IL_008f - IL_0105: ldarg.0 - IL_0106: ldfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator0'::'type' - IL_010b: call bool class NDesk.DBus.Mapper::IsPublic(class [mscorlib]System.Type) - IL_0110: brfalse IL_01a2 + IL_0020: ldarg.1 + IL_0021: ldlen + IL_0022: conv.i4 + IL_0023: conv.i8 + IL_0024: ldc.i4 67108864 + IL_0029: conv.i8 + IL_002a: ble IL_0070 - IL_0115: ldarg.0 - IL_0116: ldarg.0 - IL_0117: ldfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator0'::'type' - IL_011c: call class [mscorlib]System.Collections.Generic.IEnumerable`1 class NDesk.DBus.Mapper::GetDeclaredPublicMembers(class [mscorlib]System.Type) - IL_0121: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() - IL_0126: stfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar3 - IL_012b: ldc.i4.s 0xfffffffd - IL_012d: stloc.0 - .try { // 1 - IL_012e: ldloc.0 - IL_012f: ldc.i4.2 - IL_0130: sub - IL_0131: switch ( - IL_0172) - IL_013a: br IL_0172 + IL_002f: ldc.i4.5 + IL_0030: newarr [mscorlib]System.Object + IL_0035: dup + IL_0036: ldc.i4.0 + IL_0037: ldstr "Array length " + IL_003c: stelem.ref + IL_003d: dup + IL_003e: ldc.i4.1 + IL_003f: ldarg.1 + IL_0040: ldlen + IL_0041: conv.i4 + IL_0042: box [mscorlib]System.Int32 + IL_0047: stelem.ref + IL_0048: dup + IL_0049: ldc.i4.2 + IL_004a: ldstr " exceeds maximum allowed " + IL_004f: stelem.ref + IL_0050: dup + IL_0051: ldc.i4.3 + IL_0052: ldc.i4 67108864 + IL_0057: box [mscorlib]System.UInt32 + IL_005c: stelem.ref + IL_005d: dup + IL_005e: ldc.i4.4 + IL_005f: ldstr " bytes" + IL_0064: stelem.ref + IL_0065: call string string::Concat(object[]) + IL_006a: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_006f: throw + IL_0070: ldarg.0 + IL_0071: ldarg.1 + IL_0072: ldlen + IL_0073: conv.i4 + IL_0074: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) + IL_0079: ldarg.0 + IL_007a: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_007f: ldarg.1 + IL_0080: castclass unsigned int8[] + IL_0085: ldc.i4.0 + IL_0086: ldarg.1 + IL_0087: ldlen + IL_0088: conv.i4 + IL_0089: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) + IL_008e: ret + IL_008f: ldloc.0 + IL_0090: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() + IL_0095: brfalse IL_00a1 - IL_013f: ldarg.0 - IL_0140: ldarg.0 - IL_0141: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar3 - IL_0146: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_014b: stfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator0'::'__3' - IL_0150: ldarg.0 - IL_0151: ldarg.0 - IL_0152: ldfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator0'::'__3' - IL_0157: stfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator0'::$current - IL_015c: ldarg.0 - IL_015d: ldfld bool NDesk.DBus.Mapper/'c__Iterator0'::$disposing - IL_0162: brtrue.s IL_016b + IL_009a: ldloc.0 + IL_009b: call class [mscorlib]System.Type class [mscorlib]System.Enum::GetUnderlyingType(class [mscorlib]System.Type) + IL_00a0: stloc.0 + IL_00a1: ldloc.0 + IL_00a2: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) + IL_00a7: stloc.1 + IL_00a8: ldc.i4.0 + IL_00a9: stloc.2 + IL_00aa: ldarg.0 + IL_00ab: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.MessageWriter::endianness + IL_00b0: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness + IL_00b5: bne.un IL_01a4 - IL_0164: ldarg.0 - IL_0165: ldc.i4.2 - IL_0166: stfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$PC - IL_016b: ldc.i4.1 - IL_016c: stloc.1 - IL_016d: leave IL_01ab + IL_00ba: ldloc.0 + IL_00bb: callvirt instance bool class [mscorlib]System.Type::get_IsValueType() + IL_00c0: brfalse IL_01a4 - IL_0172: ldarg.0 - IL_0173: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar3 - IL_0178: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_017d: brtrue IL_013f + IL_00c5: ldloca.s 1 + IL_00c7: call instance bool valuetype NDesk.DBus.Signature::get_IsStruct() + IL_00cc: brtrue IL_01a4 - IL_0182: leave IL_01a2 + IL_00d1: ldloca.s 1 + IL_00d3: ldloca.s 2 + IL_00d5: call instance bool valuetype NDesk.DBus.Signature::GetFixedSize([out] int32&) + IL_00da: brfalse IL_01a4 - } // end .try 1 - finally { // 1 - IL_0187: ldloc.1 - IL_0188: brfalse.s IL_018b + IL_00df: ldloc.2 + IL_00e0: ldarg.1 + IL_00e1: ldlen + IL_00e2: conv.i4 + IL_00e3: mul + IL_00e4: stloc.3 + IL_00e5: ldloc.3 + IL_00e6: conv.i8 + IL_00e7: ldc.i4 67108864 + IL_00ec: conv.i8 + IL_00ed: ble IL_0131 - IL_018a: endfinally - IL_018b: ldarg.0 - IL_018c: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar3 - IL_0191: brfalse IL_01a1 + IL_00f2: ldc.i4.5 + IL_00f3: newarr [mscorlib]System.Object + IL_00f8: dup + IL_00f9: ldc.i4.0 + IL_00fa: ldstr "Array length " + IL_00ff: stelem.ref + IL_0100: dup + IL_0101: ldc.i4.1 + IL_0102: ldloc.3 + IL_0103: box [mscorlib]System.Int32 + IL_0108: stelem.ref + IL_0109: dup + IL_010a: ldc.i4.2 + IL_010b: ldstr " exceeds maximum allowed " + IL_0110: stelem.ref + IL_0111: dup + IL_0112: ldc.i4.3 + IL_0113: ldc.i4 67108864 + IL_0118: box [mscorlib]System.UInt32 + IL_011d: stelem.ref + IL_011e: dup + IL_011f: ldc.i4.4 + IL_0120: ldstr " bytes" + IL_0125: stelem.ref + IL_0126: call string string::Concat(object[]) + IL_012b: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0130: throw + IL_0131: ldarg.0 + IL_0132: ldloc.3 + IL_0133: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) + IL_0138: ldarg.0 + IL_0139: ldloca.s 1 + IL_013b: call instance int32 valuetype NDesk.DBus.Signature::get_Alignment() + IL_0140: call instance void class NDesk.DBus.MessageWriter::WritePad(int32) + IL_0145: ldarg.1 + IL_0146: ldc.i4.3 + IL_0147: call valuetype [mscorlib]System.Runtime.InteropServices.GCHandle valuetype [mscorlib]System.Runtime.InteropServices.GCHandle::Alloc(object, valuetype [mscorlib]System.Runtime.InteropServices.GCHandleType) + IL_014c: stloc.s 4 + IL_014e: ldloca.s 4 + IL_0150: call instance native int valuetype [mscorlib]System.Runtime.InteropServices.GCHandle::AddrOfPinnedObject() + IL_0155: stloc.s 5 + IL_0157: ldloc.3 + IL_0158: newarr [mscorlib]System.Byte + IL_015d: stloc.s 6 + IL_015f: ldloc.s 5 + IL_0161: call void* native int::op_Explicit(native int) + IL_0166: stloc.s 7 + IL_0168: ldc.i4.0 + IL_0169: stloc.s 8 + IL_016b: br IL_0182 - IL_0196: ldarg.0 - IL_0197: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar3 - IL_019c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01a1: endfinally - } // end handler 1 - IL_01a2: ldarg.0 - IL_01a3: ldc.i4.m1 - IL_01a4: stfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$PC - IL_01a9: ldc.i4.0 - IL_01aa: ret - IL_01ab: ldc.i4.1 - IL_01ac: ret - } // end of method c__Iterator0::MoveNext + IL_0170: ldloc.s 6 + IL_0172: ldloc.s 8 + IL_0174: ldloc.s 7 + IL_0176: ldloc.s 8 + IL_0178: conv.i + IL_0179: add + IL_017a: ldind.u1 + IL_017b: stelem.i1 + IL_017c: ldloc.s 8 + IL_017e: ldc.i4.1 + IL_017f: add + IL_0180: stloc.s 8 + IL_0182: ldloc.s 8 + IL_0184: ldloc.3 + IL_0185: bne.un IL_0170 - // method line 1362 - .method private final virtual hidebysig newslot specialname - instance default class [mscorlib]System.Reflection.MemberInfo 'System.Collections.Generic.IEnumerator.get_Current' () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_018a: ldarg.0 + IL_018b: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0190: ldloc.s 6 + IL_0192: ldc.i4.0 + IL_0193: ldloc.s 6 + IL_0195: ldlen + IL_0196: conv.i4 + IL_0197: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) + IL_019c: ldloca.s 4 + IL_019e: call instance void valuetype [mscorlib]System.Runtime.InteropServices.GCHandle::Free() + IL_01a3: ret + IL_01a4: ldarg.0 + IL_01a5: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_01aa: callvirt instance int64 class [mscorlib]System.IO.Stream::get_Position() + IL_01af: stloc.s 9 + IL_01b1: ldarg.0 + IL_01b2: ldc.i4.0 + IL_01b3: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) + IL_01b8: ldarg.0 + IL_01b9: ldloca.s 1 + IL_01bb: call instance int32 valuetype NDesk.DBus.Signature::get_Alignment() + IL_01c0: call instance void class NDesk.DBus.MessageWriter::WritePad(int32) + IL_01c5: ldarg.0 + IL_01c6: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_01cb: callvirt instance int64 class [mscorlib]System.IO.Stream::get_Position() + IL_01d0: stloc.s 10 + IL_01d2: call class NDesk.DBus.TypeWriter`1 class NDesk.DBus.TypeImplementer::GetTypeWriter () + IL_01d7: stloc.s 11 + IL_01d9: ldarg.1 + IL_01da: stloc.s 13 + IL_01dc: ldc.i4.0 + IL_01dd: stloc.s 14 + IL_01df: br IL_01ff - // Method begins at RVA 0xfedc - .override method instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator0'::$current - IL_0006: ret - } // end of method c__Iterator0::System.Collections.Generic.IEnumerator.get_Current + IL_01e4: ldloc.s 13 + IL_01e6: ldloc.s 14 + IL_01e8: ldelem !!0 + IL_01ed: stloc.s 12 + IL_01ef: ldloc.s 11 + IL_01f1: ldarg.0 + IL_01f2: ldloc.s 12 + IL_01f4: callvirt instance void class NDesk.DBus.TypeWriter`1::Invoke(class NDesk.DBus.MessageWriter, !0) + IL_01f9: ldloc.s 14 + IL_01fb: ldc.i4.1 + IL_01fc: add + IL_01fd: stloc.s 14 + IL_01ff: ldloc.s 14 + IL_0201: ldloc.s 13 + IL_0203: ldlen + IL_0204: conv.i4 + IL_0205: blt IL_01e4 - // method line 1363 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_020a: ldarg.0 + IL_020b: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0210: callvirt instance int64 class [mscorlib]System.IO.Stream::get_Position() + IL_0215: stloc.s 15 + IL_0217: ldloc.s 15 + IL_0219: ldloc.s 10 + IL_021b: sub + IL_021c: conv.u4 + IL_021d: stloc.s 16 + IL_021f: ldarg.0 + IL_0220: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0225: ldloc.s 9 + IL_0227: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) + IL_022c: ldloc.s 16 + IL_022e: ldc.i4 67108864 + IL_0233: ble.un IL_0278 - // Method begins at RVA 0xfee4 - .override class [mscorlib]System.Collections.IEnumerator::get_Current - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator0'::$current - IL_0006: ret - } // end of method c__Iterator0::System.Collections.IEnumerator.get_Current + IL_0238: ldc.i4.5 + IL_0239: newarr [mscorlib]System.Object + IL_023e: dup + IL_023f: ldc.i4.0 + IL_0240: ldstr "Array length " + IL_0245: stelem.ref + IL_0246: dup + IL_0247: ldc.i4.1 + IL_0248: ldloc.s 16 + IL_024a: box [mscorlib]System.UInt32 + IL_024f: stelem.ref + IL_0250: dup + IL_0251: ldc.i4.2 + IL_0252: ldstr " exceeds maximum allowed " + IL_0257: stelem.ref + IL_0258: dup + IL_0259: ldc.i4.3 + IL_025a: ldc.i4 67108864 + IL_025f: box [mscorlib]System.UInt32 + IL_0264: stelem.ref + IL_0265: dup + IL_0266: ldc.i4.4 + IL_0267: ldstr " bytes" + IL_026c: stelem.ref + IL_026d: call string string::Concat(object[]) + IL_0272: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0277: throw + IL_0278: ldarg.0 + IL_0279: ldloc.s 16 + IL_027b: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) + IL_0280: ldarg.0 + IL_0281: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0286: ldloc.s 15 + IL_0288: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) + IL_028d: ret + } // end of method MessageWriter::WriteArray - // method line 1364 - .method public final virtual hidebysig newslot - instance default void Dispose () cil managed + // method line 1101 + .method public hidebysig + instance default void WriteValueType (object val, class [mscorlib]System.Type 'type') cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0xfeec - // Code size 106 (0x6a) - .maxstack 2 + // Method begins at RVA 0x10034 + // Code size 30 (0x1e) + .maxstack 6 .locals init ( - unsigned int32 V_0) - IL_0000: ldarg.0 - IL_0001: ldfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$PC + class [mscorlib]System.Reflection.MethodInfo V_0) + IL_0000: ldarg.2 + IL_0001: call class [mscorlib]System.Reflection.MethodInfo class NDesk.DBus.TypeImplementer::GetWriteMethod(class [mscorlib]System.Type) IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldc.i4.1 - IL_0009: stfld bool NDesk.DBus.Mapper/'c__Iterator0'::$disposing - IL_000e: ldarg.0 - IL_000f: ldc.i4.m1 - IL_0010: stfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$PC - IL_0015: ldloc.0 - IL_0016: switch ( - IL_0069, - IL_002c, - IL_004d) - IL_0027: br IL_0069 - - .try { // 0 - IL_002c: leave IL_0048 - - } // end .try 0 - finally { // 0 - IL_0031: ldarg.0 - IL_0032: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar2 - IL_0037: brfalse IL_0047 - - IL_003c: ldarg.0 - IL_003d: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar2 - IL_0042: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0047: endfinally - } // end handler 0 - IL_0048: br IL_0069 - - .try { // 1 - IL_004d: leave IL_0069 - - } // end .try 1 - finally { // 1 - IL_0052: ldarg.0 - IL_0053: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar3 - IL_0058: brfalse IL_0068 - - IL_005d: ldarg.0 - IL_005e: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar3 - IL_0063: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0068: endfinally - } // end handler 1 - IL_0069: ret - } // end of method c__Iterator0::Dispose - - // method line 1365 - .method public final virtual hidebysig newslot - instance default void Reset () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0xff80 - // Code size 6 (0x6) - .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() - IL_0005: throw - } // end of method c__Iterator0::Reset + IL_0007: ldloc.0 + IL_0008: ldnull + IL_0009: ldc.i4.2 + IL_000a: newarr [mscorlib]System.Object + IL_000f: dup + IL_0010: ldc.i4.0 + IL_0011: ldarg.0 + IL_0012: stelem.ref + IL_0013: dup + IL_0014: ldc.i4.1 + IL_0015: ldarg.1 + IL_0016: stelem.ref + IL_0017: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) + IL_001c: pop + IL_001d: ret + } // end of method MessageWriter::WriteValueType - // method line 1366 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed + // method line 1102 + .method public hidebysig + instance default void WriteStructure (!!T 'value') cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0xff87 - .override class [mscorlib]System.Collections.IEnumerable::GetEnumerator - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class NDesk.DBus.Mapper/'c__Iterator0'::'System.Collections.Generic.IEnumerable.GetEnumerator'() - IL_0006: ret - } // end of method c__Iterator0::System.Collections.IEnumerable.GetEnumerator + // Method begins at RVA 0x10060 + // Code size 15 (0xf) + .maxstack 3 + .locals init ( + class NDesk.DBus.TypeWriter`1 V_0) + IL_0000: call class NDesk.DBus.TypeWriter`1 class NDesk.DBus.TypeImplementer::GetTypeWriter () + IL_0005: stloc.0 + IL_0006: ldloc.0 + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: callvirt instance void class NDesk.DBus.TypeWriter`1::Invoke(class NDesk.DBus.MessageWriter, !0) + IL_000e: ret + } // end of method MessageWriter::WriteStructure - // method line 1367 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.Generic.IEnumerator`1 'System.Collections.Generic.IEnumerable.GetEnumerator' () cil managed + // method line 1103 + .method public hidebysig + instance default void WriteFromDict (class [mscorlib]System.Collections.Generic.IDictionary`2 val) cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0xff90 - .override method instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() - // Code size 40 (0x28) - .maxstack 3 + // Method begins at RVA 0x1007c + // Code size 269 (0x10d) + .maxstack 4 .locals init ( - class NDesk.DBus.Mapper/'c__Iterator0' V_0) + int64 V_0, + int64 V_1, + class NDesk.DBus.TypeWriter`1 V_2, + class NDesk.DBus.TypeWriter`1 V_3, + valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2 V_4, + class [mscorlib]System.Collections.Generic.IEnumerator`1> V_5, + int64 V_6, + unsigned int32 V_7) IL_0000: ldarg.0 - IL_0001: ldflda int32 NDesk.DBus.Mapper/'c__Iterator0'::$PC - IL_0006: ldc.i4.0 - IL_0007: ldc.i4.s 0xfffffffe - IL_0009: call int32 class [mscorlib]System.Threading.Interlocked::CompareExchange([out] int32&, int32, int32) - IL_000e: ldc.i4.s 0xfffffffe - IL_0010: bne.un.s IL_0014 - - IL_0012: ldarg.0 - IL_0013: ret - IL_0014: newobj instance void class NDesk.DBus.Mapper/'c__Iterator0'::'.ctor'() - IL_0019: stloc.0 - IL_001a: ldloc.0 - IL_001b: ldarg.0 - IL_001c: ldfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator0'::'type' - IL_0021: stfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator0'::'type' - IL_0026: ldloc.0 - IL_0027: ret - } // end of method c__Iterator0::System.Collections.Generic.IEnumerable.GetEnumerator + IL_0001: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0006: callvirt instance int64 class [mscorlib]System.IO.Stream::get_Position() + IL_000b: stloc.0 + IL_000c: ldarg.0 + IL_000d: ldc.i4.0 + IL_000e: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) + IL_0013: ldarg.0 + IL_0014: ldc.i4.8 + IL_0015: call instance void class NDesk.DBus.MessageWriter::WritePad(int32) + IL_001a: ldarg.0 + IL_001b: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0020: callvirt instance int64 class [mscorlib]System.IO.Stream::get_Position() + IL_0025: stloc.1 + IL_0026: call class NDesk.DBus.TypeWriter`1 class NDesk.DBus.TypeImplementer::GetTypeWriter () + IL_002b: stloc.2 + IL_002c: call class NDesk.DBus.TypeWriter`1 class NDesk.DBus.TypeImplementer::GetTypeWriter () + IL_0031: stloc.3 + IL_0032: ldarg.1 + IL_0033: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1>::GetEnumerator() + IL_0038: stloc.s 5 + .try { // 0 + IL_003a: br IL_006b - .property instance class [mscorlib]System.Reflection.MemberInfo 'System.Collections.Generic.IEnumerator.Current' () - { - .get instance default class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator0'::'System.Collections.Generic.IEnumerator.get_Current' () - } - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NDesk.DBus.Mapper/'c__Iterator0'::System.Collections.IEnumerator.get_Current () - } - } // end of class c__Iterator0 + IL_003f: ldloc.s 5 + IL_0041: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1>::get_Current() + IL_0046: stloc.s 4 + IL_0048: ldarg.0 + IL_0049: ldc.i4.8 + IL_004a: call instance void class NDesk.DBus.MessageWriter::WritePad(int32) + IL_004f: ldloc.2 + IL_0050: ldarg.0 + IL_0051: ldloca.s 4 + IL_0053: call instance !0 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Key() + IL_0058: callvirt instance void class NDesk.DBus.TypeWriter`1::Invoke(class NDesk.DBus.MessageWriter, !0) + IL_005d: ldloc.3 + IL_005e: ldarg.0 + IL_005f: ldloca.s 4 + IL_0061: call instance !1 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Value() + IL_0066: callvirt instance void class NDesk.DBus.TypeWriter`1::Invoke(class NDesk.DBus.MessageWriter, !0) + IL_006b: ldloc.s 5 + IL_006d: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0072: brtrue IL_003f - .class nested private auto ansi sealed beforefieldinit 'c__Iterator1' - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerable, class [mscorlib]System.Collections.Generic.IEnumerable`1, [mscorlib]System.Collections.IEnumerator, [mscorlib]System.IDisposable, class [mscorlib]System.Collections.Generic.IEnumerator`1 { - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0077: leave IL_008b - .field assembly class [mscorlib]System.Type 'type' - .field assembly class [mscorlib]System.Reflection.MemberInfo[] $locvar0 - .field assembly int32 $locvar1 - .field assembly class [mscorlib]System.Reflection.MemberInfo '__1' - .field assembly class [mscorlib]System.Reflection.MemberInfo $current - .field assembly bool $disposing - .field assembly int32 $PC + } // end .try 0 + finally { // 0 + IL_007c: ldloc.s 5 + IL_007e: brfalse IL_008a - // method line 1368 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0083: ldloc.s 5 + IL_0085: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_008a: endfinally + } // end handler 0 + IL_008b: ldarg.0 + IL_008c: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0091: callvirt instance int64 class [mscorlib]System.IO.Stream::get_Position() + IL_0096: stloc.s 6 + IL_0098: ldloc.s 6 + IL_009a: ldloc.1 + IL_009b: sub + IL_009c: conv.u4 + IL_009d: stloc.s 7 + IL_009f: ldarg.0 + IL_00a0: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_00a5: ldloc.0 + IL_00a6: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) + IL_00ab: ldloc.s 7 + IL_00ad: ldc.i4 67108864 + IL_00b2: ble.un IL_00f7 - // Method begins at RVA 0xffc4 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method c__Iterator1::.ctor + IL_00b7: ldc.i4.5 + IL_00b8: newarr [mscorlib]System.Object + IL_00bd: dup + IL_00be: ldc.i4.0 + IL_00bf: ldstr "Dict length " + IL_00c4: stelem.ref + IL_00c5: dup + IL_00c6: ldc.i4.1 + IL_00c7: ldloc.s 7 + IL_00c9: box [mscorlib]System.UInt32 + IL_00ce: stelem.ref + IL_00cf: dup + IL_00d0: ldc.i4.2 + IL_00d1: ldstr " exceeds maximum allowed " + IL_00d6: stelem.ref + IL_00d7: dup + IL_00d8: ldc.i4.3 + IL_00d9: ldc.i4 67108864 + IL_00de: box [mscorlib]System.UInt32 + IL_00e3: stelem.ref + IL_00e4: dup + IL_00e5: ldc.i4.4 + IL_00e6: ldstr " bytes" + IL_00eb: stelem.ref + IL_00ec: call string string::Concat(object[]) + IL_00f1: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_00f6: throw + IL_00f7: ldarg.0 + IL_00f8: ldloc.s 7 + IL_00fa: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) + IL_00ff: ldarg.0 + IL_0100: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0105: ldloc.s 6 + IL_0107: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) + IL_010c: ret + } // end of method MessageWriter::WriteFromDict - // method line 1369 - .method public final virtual hidebysig newslot - instance default bool MoveNext () cil managed + // method line 1104 + .method assembly hidebysig + instance default void WriteHeaderFields (class [mscorlib]System.Collections.Generic.Dictionary`2 val) cil managed { - // Method begins at RVA 0xffcc - // Code size 175 (0xaf) - .maxstack 3 + // Method begins at RVA 0x101a8 + // Code size 410 (0x19a) + .maxstack 4 .locals init ( - unsigned int32 V_0) + int64 V_0, + int64 V_1, + valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2 V_2, + valuetype [mscorlib]System.Collections.Generic.Dictionary`2/Enumerator V_3, + valuetype NDesk.DBus.FieldCode V_4, + int64 V_5, + unsigned int32 V_6) IL_0000: ldarg.0 - IL_0001: ldfld int32 NDesk.DBus.Mapper/'c__Iterator1'::$PC - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldc.i4.m1 - IL_0009: stfld int32 NDesk.DBus.Mapper/'c__Iterator1'::$PC - IL_000e: ldloc.0 - IL_000f: switch ( - IL_0021, - IL_0083) - IL_001c: br IL_00ab - - IL_0021: ldarg.0 - IL_0022: ldfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator1'::'type' - IL_0027: call bool class NDesk.DBus.Mapper::IsPublic(class [mscorlib]System.Type) - IL_002c: brfalse IL_00a4 - - IL_0031: ldarg.0 - IL_0032: ldarg.0 - IL_0033: ldfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator1'::'type' - IL_0038: ldc.i4.s 0x16 - IL_003a: callvirt instance class [mscorlib]System.Reflection.MemberInfo[] class [mscorlib]System.Type::GetMembers(valuetype [mscorlib]System.Reflection.BindingFlags) - IL_003f: stfld class [mscorlib]System.Reflection.MemberInfo[] NDesk.DBus.Mapper/'c__Iterator1'::$locvar0 - IL_0044: ldarg.0 - IL_0045: ldc.i4.0 - IL_0046: stfld int32 NDesk.DBus.Mapper/'c__Iterator1'::$locvar1 - IL_004b: br IL_0091 - - IL_0050: ldarg.0 - IL_0051: ldarg.0 - IL_0052: ldfld class [mscorlib]System.Reflection.MemberInfo[] NDesk.DBus.Mapper/'c__Iterator1'::$locvar0 - IL_0057: ldarg.0 - IL_0058: ldfld int32 NDesk.DBus.Mapper/'c__Iterator1'::$locvar1 - IL_005d: ldelem.ref - IL_005e: stfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator1'::'__1' - IL_0063: ldarg.0 - IL_0064: ldarg.0 - IL_0065: ldfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator1'::'__1' - IL_006a: stfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator1'::$current - IL_006f: ldarg.0 - IL_0070: ldfld bool NDesk.DBus.Mapper/'c__Iterator1'::$disposing - IL_0075: brtrue.s IL_007e - - IL_0077: ldarg.0 - IL_0078: ldc.i4.1 - IL_0079: stfld int32 NDesk.DBus.Mapper/'c__Iterator1'::$PC - IL_007e: br IL_00ad - - IL_0083: ldarg.0 - IL_0084: ldarg.0 - IL_0085: ldfld int32 NDesk.DBus.Mapper/'c__Iterator1'::$locvar1 - IL_008a: ldc.i4.1 - IL_008b: add - IL_008c: stfld int32 NDesk.DBus.Mapper/'c__Iterator1'::$locvar1 - IL_0091: ldarg.0 - IL_0092: ldfld int32 NDesk.DBus.Mapper/'c__Iterator1'::$locvar1 - IL_0097: ldarg.0 - IL_0098: ldfld class [mscorlib]System.Reflection.MemberInfo[] NDesk.DBus.Mapper/'c__Iterator1'::$locvar0 - IL_009d: ldlen - IL_009e: conv.i4 - IL_009f: blt IL_0050 + IL_0001: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0006: callvirt instance int64 class [mscorlib]System.IO.Stream::get_Position() + IL_000b: stloc.0 + IL_000c: ldarg.0 + IL_000d: ldc.i4.0 + IL_000e: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) + IL_0013: ldarg.0 + IL_0014: ldc.i4.8 + IL_0015: call instance void class NDesk.DBus.MessageWriter::WritePad(int32) + IL_001a: ldarg.0 + IL_001b: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0020: callvirt instance int64 class [mscorlib]System.IO.Stream::get_Position() + IL_0025: stloc.1 + IL_0026: ldarg.1 + IL_0027: callvirt instance valuetype [mscorlib]System.Collections.Generic.Dictionary`2/Enumerator class [mscorlib]System.Collections.Generic.Dictionary`2::GetEnumerator() + IL_002c: stloc.3 + .try { // 0 + IL_002d: br IL_00f9 - IL_00a4: ldarg.0 - IL_00a5: ldc.i4.m1 - IL_00a6: stfld int32 NDesk.DBus.Mapper/'c__Iterator1'::$PC - IL_00ab: ldc.i4.0 - IL_00ac: ret - IL_00ad: ldc.i4.1 - IL_00ae: ret - } // end of method c__Iterator1::MoveNext + IL_0032: ldloca.s 3 + IL_0034: call instance valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2 valuetype [mscorlib]System.Collections.Generic.Dictionary`2/Enumerator::get_Current() + IL_0039: stloc.2 + IL_003a: ldarg.0 + IL_003b: ldc.i4.8 + IL_003c: call instance void class NDesk.DBus.MessageWriter::WritePad(int32) + IL_0041: ldarg.0 + IL_0042: ldloca.s 2 + IL_0044: call instance !0 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Key() + IL_0049: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int8) + IL_004e: ldloca.s 2 + IL_0050: call instance !0 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Key() + IL_0055: stloc.s 4 + IL_0057: ldloc.s 4 + IL_0059: ldc.i4.1 + IL_005a: sub + IL_005b: switch ( + IL_00a3, + IL_0081, + IL_0081, + IL_0081, + IL_00c5, + IL_0081, + IL_0081) + IL_007c: br IL_00e7 - // method line 1370 - .method private final virtual hidebysig newslot specialname - instance default class [mscorlib]System.Reflection.MemberInfo 'System.Collections.Generic.IEnumerator.get_Current' () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0081: ldarg.0 + IL_0082: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::StringSig + IL_0087: call instance void class NDesk.DBus.MessageWriter::Write(valuetype NDesk.DBus.Signature) + IL_008c: ldarg.0 + IL_008d: ldloca.s 2 + IL_008f: call instance !1 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Value() + IL_0094: castclass [mscorlib]System.String + IL_0099: call instance void class NDesk.DBus.MessageWriter::Write(string) + IL_009e: leave IL_00f9 - // Method begins at RVA 0x10087 - .override method instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator1'::$current - IL_0006: ret - } // end of method c__Iterator1::System.Collections.Generic.IEnumerator.get_Current + IL_00a3: ldarg.0 + IL_00a4: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::ObjectPathSig + IL_00a9: call instance void class NDesk.DBus.MessageWriter::Write(valuetype NDesk.DBus.Signature) + IL_00ae: ldarg.0 + IL_00af: ldloca.s 2 + IL_00b1: call instance !1 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Value() + IL_00b6: castclass NDesk.DBus.ObjectPath + IL_00bb: call instance void class NDesk.DBus.MessageWriter::Write(class NDesk.DBus.ObjectPath) + IL_00c0: leave IL_00f9 - // method line 1371 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_00c5: ldarg.0 + IL_00c6: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::UInt32Sig + IL_00cb: call instance void class NDesk.DBus.MessageWriter::Write(valuetype NDesk.DBus.Signature) + IL_00d0: ldarg.0 + IL_00d1: ldloca.s 2 + IL_00d3: call instance !1 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Value() + IL_00d8: unbox.any [mscorlib]System.UInt32 + IL_00dd: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) + IL_00e2: leave IL_00f9 - // Method begins at RVA 0x1008f - .override class [mscorlib]System.Collections.IEnumerator::get_Current - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator1'::$current - IL_0006: ret - } // end of method c__Iterator1::System.Collections.IEnumerator.get_Current + IL_00e7: ldarg.0 + IL_00e8: ldloca.s 2 + IL_00ea: call instance !1 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Value() + IL_00ef: call instance void class NDesk.DBus.MessageWriter::Write(object) + IL_00f4: leave IL_00f9 - // method line 1372 - .method public final virtual hidebysig newslot - instance default void Dispose () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_00f9: ldloca.s 3 + IL_00fb: call instance bool valuetype [mscorlib]System.Collections.Generic.Dictionary`2/Enumerator::MoveNext() + IL_0100: brtrue IL_0032 - // Method begins at RVA 0x10097 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NDesk.DBus.Mapper/'c__Iterator1'::$disposing - IL_0007: ldarg.0 - IL_0008: ldc.i4.m1 - IL_0009: stfld int32 NDesk.DBus.Mapper/'c__Iterator1'::$PC - IL_000e: ret - } // end of method c__Iterator1::Dispose + IL_0105: leave IL_0118 - // method line 1373 - .method public final virtual hidebysig newslot - instance default void Reset () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + } // end .try 0 + finally { // 0 + IL_010a: ldloca.s 3 + IL_010c: constrained. valuetype [mscorlib]System.Collections.Generic.Dictionary`2/Enumerator + IL_0112: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0117: endfinally + } // end handler 0 + IL_0118: ldarg.0 + IL_0119: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_011e: callvirt instance int64 class [mscorlib]System.IO.Stream::get_Position() + IL_0123: stloc.s 5 + IL_0125: ldloc.s 5 + IL_0127: ldloc.1 + IL_0128: sub + IL_0129: conv.u4 + IL_012a: stloc.s 6 + IL_012c: ldarg.0 + IL_012d: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0132: ldloc.0 + IL_0133: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) + IL_0138: ldloc.s 6 + IL_013a: ldc.i4 67108864 + IL_013f: ble.un IL_0184 - // Method begins at RVA 0x100a7 - // Code size 6 (0x6) - .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() - IL_0005: throw - } // end of method c__Iterator1::Reset + IL_0144: ldc.i4.5 + IL_0145: newarr [mscorlib]System.Object + IL_014a: dup + IL_014b: ldc.i4.0 + IL_014c: ldstr "Dict length " + IL_0151: stelem.ref + IL_0152: dup + IL_0153: ldc.i4.1 + IL_0154: ldloc.s 6 + IL_0156: box [mscorlib]System.UInt32 + IL_015b: stelem.ref + IL_015c: dup + IL_015d: ldc.i4.2 + IL_015e: ldstr " exceeds maximum allowed " + IL_0163: stelem.ref + IL_0164: dup + IL_0165: ldc.i4.3 + IL_0166: ldc.i4 67108864 + IL_016b: box [mscorlib]System.UInt32 + IL_0170: stelem.ref + IL_0171: dup + IL_0172: ldc.i4.4 + IL_0173: ldstr " bytes" + IL_0178: stelem.ref + IL_0179: call string string::Concat(object[]) + IL_017e: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0183: throw + IL_0184: ldarg.0 + IL_0185: ldloc.s 6 + IL_0187: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) + IL_018c: ldarg.0 + IL_018d: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0192: ldloc.s 5 + IL_0194: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) + IL_0199: ret + } // end of method MessageWriter::WriteHeaderFields - // method line 1374 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed + // method line 1105 + .method public hidebysig + instance default void WriteNull () cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x100ae - .override class [mscorlib]System.Collections.IEnumerable::GetEnumerator - // Code size 7 (0x7) + // Method begins at RVA 0x10360 + // Code size 13 (0xd) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class NDesk.DBus.Mapper/'c__Iterator1'::'System.Collections.Generic.IEnumerable.GetEnumerator'() - IL_0006: ret - } // end of method c__Iterator1::System.Collections.IEnumerable.GetEnumerator + IL_0001: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0006: ldc.i4.0 + IL_0007: callvirt instance void class [mscorlib]System.IO.Stream::WriteByte(unsigned int8) + IL_000c: ret + } // end of method MessageWriter::WriteNull - // method line 1375 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.Generic.IEnumerator`1 'System.Collections.Generic.IEnumerable.GetEnumerator' () cil managed + // method line 1106 + .method public hidebysig + instance default void WritePad (int32 'alignment') cil managed { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x100b8 - .override method instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() - // Code size 40 (0x28) - .maxstack 3 + // Method begins at RVA 0x10370 + // Code size 38 (0x26) + .maxstack 4 .locals init ( - class NDesk.DBus.Mapper/'c__Iterator1' V_0) + int32 V_0) IL_0000: ldarg.0 - IL_0001: ldflda int32 NDesk.DBus.Mapper/'c__Iterator1'::$PC - IL_0006: ldc.i4.0 - IL_0007: ldc.i4.s 0xfffffffe - IL_0009: call int32 class [mscorlib]System.Threading.Interlocked::CompareExchange([out] int32&, int32, int32) - IL_000e: ldc.i4.s 0xfffffffe - IL_0010: bne.un.s IL_0014 - - IL_0012: ldarg.0 - IL_0013: ret - IL_0014: newobj instance void class NDesk.DBus.Mapper/'c__Iterator1'::'.ctor'() - IL_0019: stloc.0 - IL_001a: ldloc.0 - IL_001b: ldarg.0 - IL_001c: ldfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator1'::'type' - IL_0021: stfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator1'::'type' - IL_0026: ldloc.0 - IL_0027: ret - } // end of method c__Iterator1::System.Collections.Generic.IEnumerable.GetEnumerator + IL_0001: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0006: callvirt instance int64 class [mscorlib]System.IO.Stream::get_Position() + IL_000b: conv.i4 + IL_000c: ldarg.1 + IL_000d: call int32 class NDesk.DBus.Protocol::PadNeeded(int32, int32) + IL_0012: stloc.0 + IL_0013: ldarg.0 + IL_0014: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' + IL_0019: ldsfld unsigned int8[] NDesk.DBus.MessageWriter::nullBytes + IL_001e: ldc.i4.0 + IL_001f: ldloc.0 + IL_0020: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) + IL_0025: ret + } // end of method MessageWriter::WritePad - .property instance class [mscorlib]System.Reflection.MemberInfo 'System.Collections.Generic.IEnumerator.Current' () - { - .get instance default class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator1'::'System.Collections.Generic.IEnumerator.get_Current' () - } - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NDesk.DBus.Mapper/'c__Iterator1'::System.Collections.IEnumerator.get_Current () - } - } // end of class c__Iterator1 + // method line 1107 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x103a2 + // Code size 12 (0xc) + .maxstack 8 + IL_0000: ldc.i4.8 + IL_0001: newarr [mscorlib]System.Byte + IL_0006: stsfld unsigned int8[] NDesk.DBus.MessageWriter::nullBytes + IL_000b: ret + } // end of method MessageWriter::.cctor - } // end of class NDesk.DBus.Mapper + } // end of class NDesk.DBus.MessageWriter } .namespace NDesk.DBus { - .class private auto ansi abstract sealed beforefieldinit MessageHelper - extends [mscorlib]System.Object + .class private auto ansi beforefieldinit DProxy + extends [mscorlib]System.Runtime.Remoting.Proxies.RealProxy { + .field family class NDesk.DBus.BusObject busObject + .field private static class [mscorlib]System.Reflection.MethodInfo mi_GetHashCode + .field private static class [mscorlib]System.Reflection.MethodInfo mi_Equals + .field private static class [mscorlib]System.Reflection.MethodInfo mi_ToString + .field private static class [mscorlib]System.Reflection.MethodInfo mi_GetLifetimeService - // method line 1106 - .method public static hidebysig - default class NDesk.DBus.Message CreateUnknownMethodError (class NDesk.DBus.MethodCall method_call) cil managed + // method line 1108 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NDesk.DBus.BusObject busObject, class [mscorlib]System.Type 'type') cil managed { - // Method begins at RVA 0x100ec - // Code size 173 (0xad) - .maxstack 4 - .locals init ( - string V_0, - class NDesk.DBus.Error V_1, - class NDesk.DBus.MessageWriter V_2) + // Method begins at RVA 0x103af + // Code size 15 (0xf) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message - IL_0006: callvirt instance bool class NDesk.DBus.Message::get_ReplyExpected() - IL_000b: brtrue IL_0012 - - IL_0010: ldnull - IL_0011: ret - IL_0012: ldstr "Method \"{0}\" with signature \"{1}\" on interface \"{2}\" doesn't exist" - IL_0017: ldarg.0 - IL_0018: ldfld string NDesk.DBus.MethodCall::Member - IL_001d: ldarg.0 - IL_001e: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MethodCall::Signature - IL_0023: call instance string valuetype NDesk.DBus.Signature::get_Value() - IL_0028: ldarg.0 - IL_0029: ldfld string NDesk.DBus.MethodCall::Interface - IL_002e: call string string::Format(string, object, object, object) - IL_0033: stloc.0 - IL_0034: ldstr "org.freedesktop.DBus.Error.UnknownMethod" - IL_0039: ldarg.0 - IL_003a: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message - IL_003f: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0044: ldfld unsigned int32 NDesk.DBus.Header::Serial - IL_0049: newobj instance void class NDesk.DBus.Error::'.ctor'(string, unsigned int32) - IL_004e: stloc.1 - IL_004f: ldloc.1 - IL_0050: ldfld class NDesk.DBus.Message NDesk.DBus.Error::message - IL_0055: ldc.i4.s 0x73 - IL_0057: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) - IL_005c: callvirt instance void class NDesk.DBus.Message::set_Signature(valuetype NDesk.DBus.Signature) - IL_0061: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness - IL_0066: newobj instance void class NDesk.DBus.MessageWriter::'.ctor'(valuetype NDesk.DBus.EndianFlag) - IL_006b: stloc.2 - IL_006c: ldloc.2 - IL_006d: ldloc.0 - IL_006e: callvirt instance void class NDesk.DBus.MessageWriter::Write(string) - IL_0073: ldloc.1 - IL_0074: ldfld class NDesk.DBus.Message NDesk.DBus.Error::message - IL_0079: ldloc.2 - IL_007a: callvirt instance unsigned int8[] class NDesk.DBus.MessageWriter::ToArray() - IL_007f: stfld unsigned int8[] NDesk.DBus.Message::Body - IL_0084: ldarg.0 - IL_0085: ldfld string NDesk.DBus.MethodCall::Sender - IL_008a: brfalse IL_00a6 - - IL_008f: ldloc.1 - IL_0090: ldfld class NDesk.DBus.Message NDesk.DBus.Error::message - IL_0095: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_009a: ldc.i4.6 - IL_009b: ldarg.0 - IL_009c: ldfld string NDesk.DBus.MethodCall::Sender - IL_00a1: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) - IL_00a6: ldloc.1 - IL_00a7: ldfld class NDesk.DBus.Message NDesk.DBus.Error::message - IL_00ac: ret - } // end of method MessageHelper::CreateUnknownMethodError + IL_0001: ldarg.2 + IL_0002: call instance void class [mscorlib]System.Runtime.Remoting.Proxies.RealProxy::'.ctor'(class [mscorlib]System.Type) + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld class NDesk.DBus.BusObject NDesk.DBus.DProxy::busObject + IL_000e: ret + } // end of method DProxy::.ctor - // method line 1107 - .method public static hidebysig - default void WriteDynamicValues (class NDesk.DBus.MessageWriter mw, class [mscorlib]System.Reflection.ParameterInfo[] parms, object[] vals) cil managed + // method line 1109 + .method private hidebysig + instance default object GetDefaultReturn (class [mscorlib]System.Reflection.MethodBase mi, object[] inArgs) cil managed { - // Method begins at RVA 0x101a8 - // Code size 70 (0x46) - .maxstack 4 - .locals init ( - class [mscorlib]System.Reflection.ParameterInfo V_0, - class [mscorlib]System.Reflection.ParameterInfo[] V_1, - int32 V_2, - class [mscorlib]System.Type V_3) + // Method begins at RVA 0x103c0 + // Code size 172 (0xac) + .maxstack 3 IL_0000: ldarg.1 - IL_0001: stloc.1 - IL_0002: ldc.i4.0 - IL_0003: stloc.2 - IL_0004: br IL_003c + IL_0001: ldsfld class [mscorlib]System.Reflection.MethodInfo NDesk.DBus.DProxy::mi_GetHashCode + IL_0006: call bool class [mscorlib]System.Reflection.MethodBase::op_Equality(class [mscorlib]System.Reflection.MethodBase, class [mscorlib]System.Reflection.MethodBase) + IL_000b: brfalse IL_002b - IL_0009: ldloc.1 - IL_000a: ldloc.2 - IL_000b: ldelem.ref - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: callvirt instance bool class [mscorlib]System.Reflection.ParameterInfo::get_IsOut() - IL_0013: brtrue IL_001d + IL_0010: ldarg.0 + IL_0011: ldfld class NDesk.DBus.BusObject NDesk.DBus.DProxy::busObject + IL_0016: callvirt instance class NDesk.DBus.ObjectPath class NDesk.DBus.BusObject::get_Path() + IL_001b: ldfld string NDesk.DBus.ObjectPath::Value + IL_0020: callvirt instance int32 object::GetHashCode() + IL_0025: box [mscorlib]System.Int32 + IL_002a: ret + IL_002b: ldarg.1 + IL_002c: ldsfld class [mscorlib]System.Reflection.MethodInfo NDesk.DBus.DProxy::mi_Equals + IL_0031: call bool class [mscorlib]System.Reflection.MethodBase::op_Equality(class [mscorlib]System.Reflection.MethodBase, class [mscorlib]System.Reflection.MethodBase) + IL_0036: brfalse IL_0072 - IL_0018: br IL_0038 + IL_003b: ldarg.0 + IL_003c: ldfld class NDesk.DBus.BusObject NDesk.DBus.DProxy::busObject + IL_0041: callvirt instance class NDesk.DBus.ObjectPath class NDesk.DBus.BusObject::get_Path() + IL_0046: ldfld string NDesk.DBus.ObjectPath::Value + IL_004b: ldarg.2 + IL_004c: ldc.i4.0 + IL_004d: ldelem.ref + IL_004e: castclass [mscorlib]System.MarshalByRefObject + IL_0053: callvirt instance object class [mscorlib]System.MarshalByRefObject::GetLifetimeService() + IL_0058: castclass NDesk.DBus.BusObject + IL_005d: callvirt instance class NDesk.DBus.ObjectPath class NDesk.DBus.BusObject::get_Path() + IL_0062: ldfld string NDesk.DBus.ObjectPath::Value + IL_0067: call bool string::op_Equality(string, string) + IL_006c: box [mscorlib]System.Boolean + IL_0071: ret + IL_0072: ldarg.1 + IL_0073: ldsfld class [mscorlib]System.Reflection.MethodInfo NDesk.DBus.DProxy::mi_ToString + IL_0078: call bool class [mscorlib]System.Reflection.MethodBase::op_Equality(class [mscorlib]System.Reflection.MethodBase, class [mscorlib]System.Reflection.MethodBase) + IL_007d: brfalse IL_0093 - IL_001d: ldloc.0 - IL_001e: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_0023: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() - IL_0028: stloc.3 - IL_0029: ldarg.0 - IL_002a: ldloc.3 - IL_002b: ldarg.2 - IL_002c: ldloc.0 - IL_002d: callvirt instance int32 class [mscorlib]System.Reflection.ParameterInfo::get_Position() - IL_0032: ldelem.ref - IL_0033: callvirt instance void class NDesk.DBus.MessageWriter::Write(class [mscorlib]System.Type, object) - IL_0038: ldloc.2 - IL_0039: ldc.i4.1 - IL_003a: add - IL_003b: stloc.2 - IL_003c: ldloc.2 - IL_003d: ldloc.1 - IL_003e: ldlen - IL_003f: conv.i4 - IL_0040: blt IL_0009 + IL_0082: ldarg.0 + IL_0083: ldfld class NDesk.DBus.BusObject NDesk.DBus.DProxy::busObject + IL_0088: callvirt instance class NDesk.DBus.ObjectPath class NDesk.DBus.BusObject::get_Path() + IL_008d: ldfld string NDesk.DBus.ObjectPath::Value + IL_0092: ret + IL_0093: ldarg.1 + IL_0094: ldsfld class [mscorlib]System.Reflection.MethodInfo NDesk.DBus.DProxy::mi_GetLifetimeService + IL_0099: call bool class [mscorlib]System.Reflection.MethodBase::op_Equality(class [mscorlib]System.Reflection.MethodBase, class [mscorlib]System.Reflection.MethodBase) + IL_009e: brfalse IL_00aa - IL_0045: ret - } // end of method MessageHelper::WriteDynamicValues + IL_00a3: ldarg.0 + IL_00a4: ldfld class NDesk.DBus.BusObject NDesk.DBus.DProxy::busObject + IL_00a9: ret + IL_00aa: ldnull + IL_00ab: ret + } // end of method DProxy::GetDefaultReturn - // method line 1108 - .method public static hidebysig - default object[] GetDynamicValues (class NDesk.DBus.Message msg, class [mscorlib]System.Reflection.ParameterInfo[] parms) cil managed + // method line 1110 + .method public virtual hidebysig + instance default class [mscorlib]System.Runtime.Remoting.Messaging.IMessage Invoke (class [mscorlib]System.Runtime.Remoting.Messaging.IMessage message) cil managed { - // Method begins at RVA 0x101fc - // Code size 96 (0x60) - .maxstack 4 + // Method begins at RVA 0x10478 + // Code size 122 (0x7a) + .maxstack 7 .locals init ( - object[] V_0, - class NDesk.DBus.MessageReader V_1, - class [mscorlib]System.Reflection.ParameterInfo V_2, - class [mscorlib]System.Reflection.ParameterInfo[] V_3, - int32 V_4) + class [mscorlib]System.Runtime.Remoting.Messaging.IMethodCallMessage V_0, + object V_1, + class [mscorlib]System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper V_2, + object[] V_3, + object V_4, + class [mscorlib]System.Exception V_5, + class [mscorlib]System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper V_6) IL_0000: ldarg.1 - IL_0001: ldlen - IL_0002: conv.i4 - IL_0003: newarr [mscorlib]System.Object - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldfld unsigned int8[] NDesk.DBus.Message::Body - IL_000f: brfalse IL_005e - - IL_0014: ldarg.0 - IL_0015: newobj instance void class NDesk.DBus.MessageReader::'.ctor'(class NDesk.DBus.Message) - IL_001a: stloc.1 - IL_001b: ldarg.1 - IL_001c: stloc.3 - IL_001d: ldc.i4.0 - IL_001e: stloc.s 4 - IL_0020: br IL_0054 + IL_0001: castclass [mscorlib]System.Runtime.Remoting.Messaging.IMethodCallMessage + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldloc.0 + IL_0009: callvirt instance class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Runtime.Remoting.Messaging.IMethodMessage::get_MethodBase() + IL_000e: ldloc.0 + IL_000f: callvirt instance object[] class [mscorlib]System.Runtime.Remoting.Messaging.IMethodCallMessage::get_InArgs() + IL_0014: call instance object class NDesk.DBus.DProxy::GetDefaultReturn(class [mscorlib]System.Reflection.MethodBase, object[]) + IL_0019: stloc.1 + IL_001a: ldloc.1 + IL_001b: brfalse IL_0035 - IL_0025: ldloc.3 - IL_0026: ldloc.s 4 - IL_0028: ldelem.ref - IL_0029: stloc.2 - IL_002a: ldloc.2 - IL_002b: callvirt instance bool class [mscorlib]System.Reflection.ParameterInfo::get_IsOut() - IL_0030: brfalse IL_003a + IL_0020: ldarg.1 + IL_0021: castclass [mscorlib]System.Runtime.Remoting.Messaging.IMethodReturnMessage + IL_0026: newobj instance void class [mscorlib]System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper::'.ctor'(class [mscorlib]System.Runtime.Remoting.Messaging.IMethodReturnMessage) + IL_002b: stloc.2 + IL_002c: ldloc.2 + IL_002d: ldloc.1 + IL_002e: callvirt instance void class [mscorlib]System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper::set_ReturnValue(object) + IL_0033: ldloc.2 + IL_0034: ret + IL_0035: ldarg.0 + IL_0036: ldfld class NDesk.DBus.BusObject NDesk.DBus.DProxy::busObject + IL_003b: ldloc.0 + IL_003c: callvirt instance class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Runtime.Remoting.Messaging.IMethodMessage::get_MethodBase() + IL_0041: ldloc.0 + IL_0042: callvirt instance string class [mscorlib]System.Runtime.Remoting.Messaging.IMethodMessage::get_MethodName() + IL_0047: ldloc.0 + IL_0048: callvirt instance object[] class [mscorlib]System.Runtime.Remoting.Messaging.IMethodCallMessage::get_InArgs() + IL_004d: ldloca.s 3 + IL_004f: ldloca.s 4 + IL_0051: ldloca.s 5 + IL_0053: callvirt instance void class NDesk.DBus.BusObject::Invoke(class [mscorlib]System.Reflection.MethodBase, string, object[], [out] object[]&, [out] object&, [out] class [mscorlib]System.Exception&) + IL_0058: ldarg.1 + IL_0059: castclass [mscorlib]System.Runtime.Remoting.Messaging.IMethodReturnMessage + IL_005e: newobj instance void class [mscorlib]System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper::'.ctor'(class [mscorlib]System.Runtime.Remoting.Messaging.IMethodReturnMessage) + IL_0063: stloc.s 6 + IL_0065: ldloc.s 6 + IL_0067: ldloc.s 5 + IL_0069: callvirt instance void class [mscorlib]System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper::set_Exception(class [mscorlib]System.Exception) + IL_006e: ldloc.s 6 + IL_0070: ldloc.s 4 + IL_0072: callvirt instance void class [mscorlib]System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper::set_ReturnValue(object) + IL_0077: ldloc.s 6 + IL_0079: ret + } // end of method DProxy::Invoke - IL_0035: br IL_004e + // method line 1111 + .method family virtual hidebysig + instance default void Finalize () cil managed + { + // Method begins at RVA 0x10500 + // Code size 59 (0x3b) + .maxstack 4 + .try { // 0 + IL_0000: ldsfld bool NDesk.DBus.Protocol::Verbose + IL_0005: brfalse IL_002e - IL_003a: ldloc.0 - IL_003b: ldloc.2 - IL_003c: callvirt instance int32 class [mscorlib]System.Reflection.ParameterInfo::get_Position() - IL_0041: ldloc.1 - IL_0042: ldloc.2 - IL_0043: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_0048: callvirt instance object class NDesk.DBus.MessageReader::ReadValue(class [mscorlib]System.Type) - IL_004d: stelem.ref - IL_004e: ldloc.s 4 - IL_0050: ldc.i4.1 - IL_0051: add - IL_0052: stloc.s 4 - IL_0054: ldloc.s 4 - IL_0056: ldloc.3 - IL_0057: ldlen - IL_0058: conv.i4 - IL_0059: blt IL_0025 + IL_000a: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_000f: ldstr "Warning: Finalization of " + IL_0014: ldarg.0 + IL_0015: ldfld class NDesk.DBus.BusObject NDesk.DBus.DProxy::busObject + IL_001a: callvirt instance class NDesk.DBus.ObjectPath class NDesk.DBus.BusObject::get_Path() + IL_001f: ldstr " not yet supported" + IL_0024: call string string::Concat(object, object, object) + IL_0029: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_002e: leave IL_003a - IL_005e: ldloc.0 - IL_005f: ret - } // end of method MessageHelper::GetDynamicValues + } // end .try 0 + finally { // 0 + IL_0033: ldarg.0 + IL_0034: call instance void object::Finalize() + IL_0039: endfinally + } // end handler 0 + IL_003a: ret + } // end of method DProxy::Finalize - // method line 1109 - .method public static hidebysig - default object[] GetDynamicValues (class NDesk.DBus.Message msg, class [mscorlib]System.Type[] types) cil managed + // method line 1112 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed { - // Method begins at RVA 0x10268 - // Code size 166 (0xa6) - .maxstack 5 - .locals init ( - valuetype NDesk.DBus.Signature V_0, - valuetype NDesk.DBus.Signature V_1, - object[] V_2, - class NDesk.DBus.MessageReader V_3, - int32 V_4) - IL_0000: ldsfld bool NDesk.DBus.Protocol::Verbose - IL_0005: brfalse IL_0063 - - IL_000a: ldarg.1 - IL_000b: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type[]) - IL_0010: stloc.0 - IL_0011: ldarg.0 - IL_0012: callvirt instance valuetype NDesk.DBus.Signature class NDesk.DBus.Message::get_Signature() - IL_0017: stloc.1 - IL_0018: ldloc.1 - IL_0019: ldloc.0 - IL_001a: call bool valuetype NDesk.DBus.Signature::op_Inequality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_001f: brfalse IL_0063 - - IL_0024: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_0029: ldc.i4.5 - IL_002a: newarr [mscorlib]System.Object - IL_002f: dup - IL_0030: ldc.i4.0 - IL_0031: ldstr "Warning: The signature of the message does not match that of the handler: Expected '" - IL_0036: stelem.ref - IL_0037: dup - IL_0038: ldc.i4.1 - IL_0039: ldloc.0 - IL_003a: box NDesk.DBus.Signature - IL_003f: stelem.ref - IL_0040: dup - IL_0041: ldc.i4.2 - IL_0042: ldstr "', got '" - IL_0047: stelem.ref - IL_0048: dup - IL_0049: ldc.i4.3 - IL_004a: ldloc.1 - IL_004b: box NDesk.DBus.Signature - IL_0050: stelem.ref - IL_0051: dup - IL_0052: ldc.i4.4 - IL_0053: ldstr "'" - IL_0058: stelem.ref - IL_0059: call string string::Concat(object[]) - IL_005e: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0063: ldarg.1 - IL_0064: ldlen - IL_0065: conv.i4 - IL_0066: newarr [mscorlib]System.Object - IL_006b: stloc.2 - IL_006c: ldarg.0 - IL_006d: ldfld unsigned int8[] NDesk.DBus.Message::Body - IL_0072: brfalse IL_00a4 + // Method begins at RVA 0x10558 + // Code size 102 (0x66) + .maxstack 3 + IL_0000: ldtoken [mscorlib]System.Object + IL_0005: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000a: ldstr "GetHashCode" + IL_000f: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) + IL_0014: stsfld class [mscorlib]System.Reflection.MethodInfo NDesk.DBus.DProxy::mi_GetHashCode + IL_0019: ldtoken [mscorlib]System.Object + IL_001e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0023: ldstr "Equals" + IL_0028: ldc.i4.4 + IL_0029: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string, valuetype [mscorlib]System.Reflection.BindingFlags) + IL_002e: stsfld class [mscorlib]System.Reflection.MethodInfo NDesk.DBus.DProxy::mi_Equals + IL_0033: ldtoken [mscorlib]System.Object + IL_0038: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_003d: ldstr "ToString" + IL_0042: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) + IL_0047: stsfld class [mscorlib]System.Reflection.MethodInfo NDesk.DBus.DProxy::mi_ToString + IL_004c: ldtoken [mscorlib]System.MarshalByRefObject + IL_0051: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0056: ldstr "GetLifetimeService" + IL_005b: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) + IL_0060: stsfld class [mscorlib]System.Reflection.MethodInfo NDesk.DBus.DProxy::mi_GetLifetimeService + IL_0065: ret + } // end of method DProxy::.cctor - IL_0077: ldarg.0 - IL_0078: newobj instance void class NDesk.DBus.MessageReader::'.ctor'(class NDesk.DBus.Message) - IL_007d: stloc.3 - IL_007e: ldc.i4.0 - IL_007f: stloc.s 4 - IL_0081: br IL_009a + } // end of class NDesk.DBus.DProxy +} - IL_0086: ldloc.2 - IL_0087: ldloc.s 4 - IL_0089: ldloc.3 - IL_008a: ldarg.1 - IL_008b: ldloc.s 4 - IL_008d: ldelem.ref - IL_008e: callvirt instance object class NDesk.DBus.MessageReader::ReadValue(class [mscorlib]System.Type) - IL_0093: stelem.ref - IL_0094: ldloc.s 4 - IL_0096: ldc.i4.1 - IL_0097: add - IL_0098: stloc.s 4 - IL_009a: ldloc.s 4 - IL_009c: ldarg.1 - IL_009d: ldlen - IL_009e: conv.i4 - IL_009f: bne.un IL_0086 +.namespace NDesk.DBus +{ + .class private auto ansi beforefieldinit Header + extends [mscorlib]System.Object + { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - IL_00a4: ldloc.2 - IL_00a5: ret - } // end of method MessageHelper::GetDynamicValues + .field public valuetype NDesk.DBus.EndianFlag Endianness + .field public valuetype NDesk.DBus.MessageType MessageType + .field public valuetype NDesk.DBus.HeaderFlag Flags + .field public unsigned int8 MajorVersion + .field public unsigned int32 Length + .field public unsigned int32 Serial + .field public class [mscorlib]System.Collections.Generic.Dictionary`2 Fields - // method line 1110 - .method public static hidebysig - default object[] GetDynamicValues (class NDesk.DBus.Message msg) cil managed + // method line 1113 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1031c - // Code size 23 (0x17) - .maxstack 2 - .locals init ( - class [mscorlib]System.Type[] V_0, - valuetype NDesk.DBus.Signature V_1) + // Method begins at RVA 0x105ca + // Code size 7 (0x7) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: callvirt instance valuetype NDesk.DBus.Signature class NDesk.DBus.Message::get_Signature() - IL_0006: stloc.1 - IL_0007: ldloca.s 1 - IL_0009: call instance class [mscorlib]System.Type[] valuetype NDesk.DBus.Signature::ToTypes() - IL_000e: stloc.0 - IL_000f: ldarg.0 - IL_0010: ldloc.0 - IL_0011: call object[] class NDesk.DBus.MessageHelper::GetDynamicValues(class NDesk.DBus.Message, class [mscorlib]System.Type[]) - IL_0016: ret - } // end of method MessageHelper::GetDynamicValues + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method Header::.ctor - // method line 1111 - .method public static hidebysig - default class NDesk.DBus.Message ConstructReply (class NDesk.DBus.MethodCall method_call, object[] vals) cil managed + // method line 1114 + .method public hidebysig specialname + instance default object get_Item (valuetype NDesk.DBus.FieldCode key) cil managed { - .param [2] - .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x10340 - // Code size 161 (0xa1) + // Method begins at RVA 0x105d4 + // Code size 19 (0x13) .maxstack 3 .locals init ( - class NDesk.DBus.MethodReturn V_0, - class NDesk.DBus.Message V_1, - valuetype NDesk.DBus.Signature V_2, - class NDesk.DBus.MessageWriter V_3, - object V_4, - object[] V_5, - int32 V_6) - IL_0000: ldarg.0 - IL_0001: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message - IL_0006: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_000b: ldfld unsigned int32 NDesk.DBus.Header::Serial - IL_0010: newobj instance void class NDesk.DBus.MethodReturn::'.ctor'(unsigned int32) - IL_0015: stloc.0 - IL_0016: ldloc.0 - IL_0017: ldfld class NDesk.DBus.Message NDesk.DBus.MethodReturn::message - IL_001c: stloc.1 - IL_001d: ldarg.1 - IL_001e: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(object[]) - IL_0023: stloc.2 - IL_0024: ldarg.1 - IL_0025: brfalse IL_007b - - IL_002a: ldarg.1 - IL_002b: ldlen - IL_002c: conv.i4 - IL_002d: brfalse IL_007b - - IL_0032: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness - IL_0037: newobj instance void class NDesk.DBus.MessageWriter::'.ctor'(valuetype NDesk.DBus.EndianFlag) - IL_003c: stloc.3 - IL_003d: ldarg.1 - IL_003e: stloc.s 5 - IL_0040: ldc.i4.0 - IL_0041: stloc.s 6 - IL_0043: br IL_0064 - - IL_0048: ldloc.s 5 - IL_004a: ldloc.s 6 - IL_004c: ldelem.ref - IL_004d: stloc.s 4 - IL_004f: ldloc.3 - IL_0050: ldloc.s 4 - IL_0052: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0057: ldloc.s 4 - IL_0059: callvirt instance void class NDesk.DBus.MessageWriter::Write(class [mscorlib]System.Type, object) - IL_005e: ldloc.s 6 - IL_0060: ldc.i4.1 - IL_0061: add - IL_0062: stloc.s 6 - IL_0064: ldloc.s 6 - IL_0066: ldloc.s 5 - IL_0068: ldlen - IL_0069: conv.i4 - IL_006a: blt IL_0048 - - IL_006f: ldloc.1 - IL_0070: ldloc.3 - IL_0071: callvirt instance unsigned int8[] class NDesk.DBus.MessageWriter::ToArray() - IL_0076: stfld unsigned int8[] NDesk.DBus.Message::Body - IL_007b: ldarg.0 - IL_007c: ldfld string NDesk.DBus.MethodCall::Sender - IL_0081: brfalse IL_0098 - - IL_0086: ldloc.1 - IL_0087: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_008c: ldc.i4.6 - IL_008d: ldarg.0 - IL_008e: ldfld string NDesk.DBus.MethodCall::Sender - IL_0093: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) - IL_0098: ldloc.1 - IL_0099: ldloc.2 - IL_009a: callvirt instance void class NDesk.DBus.Message::set_Signature(valuetype NDesk.DBus.Signature) - IL_009f: ldloc.1 - IL_00a0: ret - } // end of method MessageHelper::ConstructReply + object V_0) + IL_0000: ldnull + IL_0001: stloc.0 + IL_0002: ldarg.0 + IL_0003: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Header::Fields + IL_0008: ldarg.1 + IL_0009: ldloca.s 0 + IL_000b: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) + IL_0010: pop + IL_0011: ldloc.0 + IL_0012: ret + } // end of method Header::get_Item - // method line 1112 - .method public static hidebysig - default class NDesk.DBus.Message ConstructDynamicReply (class NDesk.DBus.MethodCall method_call, class [mscorlib]System.Reflection.MethodInfo mi, object retVal, object[] vals) cil managed + // method line 1115 + .method public hidebysig specialname + instance default void set_Item (valuetype NDesk.DBus.FieldCode key, object 'value') cil managed { - // Method begins at RVA 0x103f0 - // Code size 202 (0xca) - .maxstack 3 - .locals init ( - class [mscorlib]System.Type V_0, - class NDesk.DBus.MethodReturn V_1, - class NDesk.DBus.Message V_2, - valuetype NDesk.DBus.Signature V_3, - class NDesk.DBus.MessageWriter V_4) - IL_0000: ldarg.1 - IL_0001: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MethodInfo::get_ReturnType() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message - IL_000d: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0012: ldfld unsigned int32 NDesk.DBus.Header::Serial - IL_0017: newobj instance void class NDesk.DBus.MethodReturn::'.ctor'(unsigned int32) - IL_001c: stloc.1 - IL_001d: ldloc.1 - IL_001e: ldfld class NDesk.DBus.Message NDesk.DBus.MethodReturn::message - IL_0023: stloc.2 - IL_0024: ldloc.0 - IL_0025: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) - IL_002a: stloc.3 - IL_002b: ldloc.3 - IL_002c: ldc.i4.1 - IL_002d: ldarg.1 - IL_002e: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_0033: call class [mscorlib]System.Type[] class NDesk.DBus.Mapper::GetTypes(valuetype NDesk.DBus.ArgDirection, class [mscorlib]System.Reflection.ParameterInfo[]) - IL_0038: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type[]) - IL_003d: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0042: stloc.3 - IL_0043: ldloc.3 - IL_0044: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty - IL_0049: call bool valuetype NDesk.DBus.Signature::op_Inequality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_004e: brfalse IL_00a4 - - IL_0053: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness - IL_0058: newobj instance void class NDesk.DBus.MessageWriter::'.ctor'(valuetype NDesk.DBus.EndianFlag) - IL_005d: stloc.s 4 - IL_005f: ldloc.0 - IL_0060: ldnull - IL_0061: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0066: brfalse IL_0089 - - IL_006b: ldloc.0 - IL_006c: ldtoken [mscorlib]System.Void - IL_0071: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0076: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_007b: brfalse IL_0089 + // Method begins at RVA 0x105f3 + // Code size 38 (0x26) + .maxstack 8 + IL_0000: ldarg.2 + IL_0001: brtrue IL_0018 - IL_0080: ldloc.s 4 - IL_0082: ldloc.0 - IL_0083: ldarg.2 - IL_0084: callvirt instance void class NDesk.DBus.MessageWriter::Write(class [mscorlib]System.Type, object) - IL_0089: ldloc.s 4 - IL_008b: ldarg.1 - IL_008c: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_0091: ldarg.3 - IL_0092: call void class NDesk.DBus.MessageHelper::WriteDynamicValues(class NDesk.DBus.MessageWriter, class [mscorlib]System.Reflection.ParameterInfo[], object[]) - IL_0097: ldloc.2 - IL_0098: ldloc.s 4 - IL_009a: callvirt instance unsigned int8[] class NDesk.DBus.MessageWriter::ToArray() - IL_009f: stfld unsigned int8[] NDesk.DBus.Message::Body - IL_00a4: ldarg.0 - IL_00a5: ldfld string NDesk.DBus.MethodCall::Sender - IL_00aa: brfalse IL_00c1 + IL_0006: ldarg.0 + IL_0007: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Header::Fields + IL_000c: ldarg.1 + IL_000d: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::Remove(!0) + IL_0012: pop + IL_0013: br IL_0025 - IL_00af: ldloc.2 - IL_00b0: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_00b5: ldc.i4.6 - IL_00b6: ldarg.0 - IL_00b7: ldfld string NDesk.DBus.MethodCall::Sender - IL_00bc: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) - IL_00c1: ldloc.2 - IL_00c2: ldloc.3 - IL_00c3: callvirt instance void class NDesk.DBus.Message::set_Signature(valuetype NDesk.DBus.Signature) - IL_00c8: ldloc.2 - IL_00c9: ret - } // end of method MessageHelper::ConstructDynamicReply + IL_0018: ldarg.0 + IL_0019: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Header::Fields + IL_001e: ldarg.1 + IL_001f: ldarg.2 + IL_0020: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::set_Item(!0, !1) + IL_0025: ret + } // end of method Header::set_Item - } // end of class NDesk.DBus.MessageHelper + .property instance object Item (valuetype NDesk.DBus.FieldCode) + { + .get instance default object NDesk.DBus.Header::get_Item (valuetype NDesk.DBus.FieldCode key) + .set instance default void NDesk.DBus.Header::set_Item (valuetype NDesk.DBus.FieldCode key, object 'value') + } + } // end of class NDesk.DBus.Header } .namespace NDesk.DBus { - .class private auto ansi beforefieldinit InterfaceAttribute - extends [mscorlib]System.Attribute + .class private auto ansi sealed MessageType + extends [mscorlib]System.Enum { - .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( - 01 00 04 04 00 00 02 00 54 02 0D 41 6C 6C 6F 77 // ........T..Allow - 4D 75 6C 74 69 70 6C 65 00 54 02 09 49 6E 68 65 // Multiple.T..Inhe - 72 69 74 65 64 01 ) // rited. + .field public specialname rtspecialname unsigned int8 value__ + .field public static literal valuetype NDesk.DBus.MessageType Invalid = int8(0x00) + .field public static literal valuetype NDesk.DBus.MessageType MethodCall = int8(0x01) + .field public static literal valuetype NDesk.DBus.MessageType MethodReturn = int8(0x02) + .field public static literal valuetype NDesk.DBus.MessageType Error = int8(0x03) + .field public static literal valuetype NDesk.DBus.MessageType Signal = int8(0x04) - .field public string Name + } // end of class NDesk.DBus.MessageType +} - // method line 1113 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name) cil managed - { - // Method begins at RVA 0x104c6 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Attribute::'.ctor'() - IL_0006: ldarg.0 - IL_0007: ldarg.1 - IL_0008: stfld string NDesk.DBus.InterfaceAttribute::Name - IL_000d: ret - } // end of method InterfaceAttribute::.ctor +.namespace NDesk.DBus +{ + .class private auto ansi sealed FieldCode + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname unsigned int8 value__ + .field public static literal valuetype NDesk.DBus.FieldCode Invalid = int8(0x00) + .field public static literal valuetype NDesk.DBus.FieldCode Path = int8(0x01) + .field public static literal valuetype NDesk.DBus.FieldCode Interface = int8(0x02) + .field public static literal valuetype NDesk.DBus.FieldCode Member = int8(0x03) + .field public static literal valuetype NDesk.DBus.FieldCode ErrorName = int8(0x04) + .field public static literal valuetype NDesk.DBus.FieldCode ReplySerial = int8(0x05) + .field public static literal valuetype NDesk.DBus.FieldCode Destination = int8(0x06) + .field public static literal valuetype NDesk.DBus.FieldCode Sender = int8(0x07) + .field public static literal valuetype NDesk.DBus.FieldCode Signature = int8(0x08) - } // end of class NDesk.DBus.InterfaceAttribute + } // end of class NDesk.DBus.FieldCode } .namespace NDesk.DBus { - .class private auto ansi beforefieldinit ArgumentAttribute - extends [mscorlib]System.Attribute + .class private auto ansi sealed EndianFlag + extends [mscorlib]System.Enum { - .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( - 01 00 00 28 00 00 02 00 54 02 0D 41 6C 6C 6F 77 // ...(....T..Allow - 4D 75 6C 74 69 70 6C 65 00 54 02 09 49 6E 68 65 // Multiple.T..Inhe - 72 69 74 65 64 01 ) // rited. + .field public specialname rtspecialname unsigned int8 value__ + .field public static literal valuetype NDesk.DBus.EndianFlag Little = int8(0x6c) + .field public static literal valuetype NDesk.DBus.EndianFlag Big = int8(0x42) - .field public string Name + } // end of class NDesk.DBus.EndianFlag +} - // method line 1114 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name) cil managed - { - // Method begins at RVA 0x104d5 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Attribute::'.ctor'() - IL_0006: ldarg.0 - IL_0007: ldarg.1 - IL_0008: stfld string NDesk.DBus.ArgumentAttribute::Name - IL_000d: ret - } // end of method ArgumentAttribute::.ctor +.namespace NDesk.DBus +{ + .class private auto ansi sealed HeaderFlag + extends [mscorlib]System.Enum + { + .custom instance void class [mscorlib]System.FlagsAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 1115 - .method public static hidebysig - default string GetSignatureString (class [mscorlib]System.Type 'type') cil managed - { - // Method begins at RVA 0x104e4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype NDesk.DBus.Signature V_0) - IL_0000: ldarg.0 - IL_0001: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) - IL_0006: stloc.0 - IL_0007: ldloca.s 0 - IL_0009: call instance string valuetype NDesk.DBus.Signature::get_Value() - IL_000e: ret - } // end of method ArgumentAttribute::GetSignatureString + .field public specialname rtspecialname unsigned int8 value__ + .field public static literal valuetype NDesk.DBus.HeaderFlag None = int8(0x00) + .field public static literal valuetype NDesk.DBus.HeaderFlag NoReplyExpected = int8(0x01) + .field public static literal valuetype NDesk.DBus.HeaderFlag NoAutoStart = int8(0x02) - } // end of class NDesk.DBus.ArgumentAttribute + } // end of class NDesk.DBus.HeaderFlag } .namespace NDesk.DBus { - .class private auto ansi beforefieldinit Message + .class private auto ansi sealed beforefieldinit ObjectPath extends [mscorlib]System.Object - { - .field public class NDesk.DBus.Header Header - .field public class NDesk.DBus.Connection Connection - .field public unsigned int8[] Body - .field private static class [mscorlib]System.Reflection.MethodInfo hHandler + implements [mscorlib]System.IComparable, class [mscorlib]System.IComparable`1, class [mscorlib]System.IEquatable`1 { + .field public static initonly class NDesk.DBus.ObjectPath Root + .field assembly initonly string Value // method line 1116 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (string 'value') cil managed { - // Method begins at RVA 0x10500 - // Code size 86 (0x56) - .maxstack 2 + // Method begins at RVA 0x1061a + // Code size 31 (0x1f) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: newobj instance void class NDesk.DBus.Header::'.ctor'() - IL_0006: stfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_000b: ldarg.0 - IL_000c: call instance void object::'.ctor'() - IL_0011: ldarg.0 - IL_0012: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0017: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness - IL_001c: stfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Header::Endianness - IL_0021: ldarg.0 - IL_0022: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0027: ldc.i4.1 - IL_0028: stfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType - IL_002d: ldarg.0 - IL_002e: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0033: ldc.i4.1 - IL_0034: stfld valuetype NDesk.DBus.HeaderFlag NDesk.DBus.Header::Flags - IL_0039: ldarg.0 - IL_003a: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_003f: ldc.i4.1 - IL_0040: stfld unsigned int8 NDesk.DBus.Header::MajorVersion - IL_0045: ldarg.0 - IL_0046: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_004b: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() - IL_0050: stfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Header::Fields - IL_0055: ret - } // end of method Message::.ctor + IL_0001: call instance void object::'.ctor'() + IL_0006: ldarg.1 + IL_0007: brtrue IL_0017 + + IL_000c: ldstr "value" + IL_0011: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0016: throw + IL_0017: ldarg.0 + IL_0018: ldarg.1 + IL_0019: stfld string NDesk.DBus.ObjectPath::Value + IL_001e: ret + } // end of method ObjectPath::.ctor // method line 1117 - .method public hidebysig specialname - instance default valuetype NDesk.DBus.Signature get_Signature () cil managed + .method public final virtual hidebysig newslot + instance default int32 CompareTo (class NDesk.DBus.ObjectPath other) cil managed { - // Method begins at RVA 0x10564 + // Method begins at RVA 0x1063a // Code size 32 (0x20) - .maxstack 2 - .locals init ( - object V_0) - IL_0000: ldarg.0 - IL_0001: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0006: ldc.i4.8 - IL_0007: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: brtrue IL_0019 + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldnull + IL_0002: call bool class NDesk.DBus.ObjectPath::op_Equality(class NDesk.DBus.ObjectPath, class NDesk.DBus.ObjectPath) + IL_0007: brfalse IL_000e - IL_0013: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty - IL_0018: ret - IL_0019: ldloc.0 - IL_001a: unbox.any NDesk.DBus.Signature + IL_000c: ldc.i4.1 + IL_000d: ret + IL_000e: ldarg.0 + IL_000f: ldfld string NDesk.DBus.ObjectPath::Value + IL_0014: ldarg.1 + IL_0015: ldfld string NDesk.DBus.ObjectPath::Value + IL_001a: callvirt instance int32 string::CompareTo(string) IL_001f: ret - } // end of method Message::get_Signature + } // end of method ObjectPath::CompareTo // method line 1118 - .method public hidebysig specialname - instance default void set_Signature (valuetype NDesk.DBus.Signature 'value') cil managed + .method public final virtual hidebysig newslot + instance default int32 CompareTo (object otherObject) cil managed { - // Method begins at RVA 0x10590 - // Code size 53 (0x35) - .maxstack 8 + // Method begins at RVA 0x1065c + // Code size 39 (0x27) + .maxstack 2 + .locals init ( + class NDesk.DBus.ObjectPath V_0) IL_0000: ldarg.1 - IL_0001: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty - IL_0006: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_000b: brfalse IL_0022 - - IL_0010: ldarg.0 - IL_0011: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0016: ldc.i4.8 - IL_0017: ldnull - IL_0018: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) - IL_001d: br IL_0034 + IL_0001: isinst NDesk.DBus.ObjectPath + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldnull + IL_0009: call bool class NDesk.DBus.ObjectPath::op_Equality(class NDesk.DBus.ObjectPath, class NDesk.DBus.ObjectPath) + IL_000e: brfalse IL_0015 - IL_0022: ldarg.0 - IL_0023: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0028: ldc.i4.8 - IL_0029: ldarg.1 - IL_002a: box NDesk.DBus.Signature - IL_002f: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) - IL_0034: ret - } // end of method Message::set_Signature + IL_0013: ldc.i4.1 + IL_0014: ret + IL_0015: ldarg.0 + IL_0016: ldfld string NDesk.DBus.ObjectPath::Value + IL_001b: ldloc.0 + IL_001c: ldfld string NDesk.DBus.ObjectPath::Value + IL_0021: callvirt instance int32 string::CompareTo(string) + IL_0026: ret + } // end of method ObjectPath::CompareTo // method line 1119 - .method public hidebysig specialname - instance default bool get_ReplyExpected () cil managed + .method public final virtual hidebysig newslot + instance default bool Equals (class NDesk.DBus.ObjectPath other) cil managed { - // Method begins at RVA 0x105c6 - // Code size 18 (0x12) + // Method begins at RVA 0x1068f + // Code size 32 (0x20) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0006: ldfld valuetype NDesk.DBus.HeaderFlag NDesk.DBus.Header::Flags - IL_000b: ldc.i4.1 - IL_000c: and - IL_000d: conv.u1 - IL_000e: ldc.i4.0 - IL_000f: ceq - IL_0011: ret - } // end of method Message::get_ReplyExpected + IL_0000: ldarg.1 + IL_0001: ldnull + IL_0002: call bool class NDesk.DBus.ObjectPath::op_Equality(class NDesk.DBus.ObjectPath, class NDesk.DBus.ObjectPath) + IL_0007: brfalse IL_000e + + IL_000c: ldc.i4.0 + IL_000d: ret + IL_000e: ldarg.0 + IL_000f: ldfld string NDesk.DBus.ObjectPath::Value + IL_0014: ldarg.1 + IL_0015: ldfld string NDesk.DBus.ObjectPath::Value + IL_001a: call bool string::op_Equality(string, string) + IL_001f: ret + } // end of method ObjectPath::Equals // method line 1120 - .method public hidebysig specialname - instance default void set_ReplyExpected (bool 'value') cil managed + .method public virtual hidebysig + instance default bool Equals (object o) cil managed { - // Method begins at RVA 0x105d9 - // Code size 56 (0x38) - .maxstack 8 + // Method begins at RVA 0x106b0 + // Code size 39 (0x27) + .maxstack 2 + .locals init ( + class NDesk.DBus.ObjectPath V_0) IL_0000: ldarg.1 - IL_0001: brfalse IL_0023 - - IL_0006: ldarg.0 - IL_0007: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_000c: dup - IL_000d: ldfld valuetype NDesk.DBus.HeaderFlag NDesk.DBus.Header::Flags - IL_0012: ldc.i4 254 - IL_0017: and - IL_0018: conv.u1 - IL_0019: stfld valuetype NDesk.DBus.HeaderFlag NDesk.DBus.Header::Flags - IL_001e: br IL_0037 + IL_0001: isinst NDesk.DBus.ObjectPath + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldnull + IL_0009: call bool class NDesk.DBus.ObjectPath::op_Equality(class NDesk.DBus.ObjectPath, class NDesk.DBus.ObjectPath) + IL_000e: brfalse IL_0015 - IL_0023: ldarg.0 - IL_0024: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0029: dup - IL_002a: ldfld valuetype NDesk.DBus.HeaderFlag NDesk.DBus.Header::Flags - IL_002f: ldc.i4.1 - IL_0030: or - IL_0031: conv.u1 - IL_0032: stfld valuetype NDesk.DBus.HeaderFlag NDesk.DBus.Header::Flags - IL_0037: ret - } // end of method Message::set_ReplyExpected + IL_0013: ldc.i4.0 + IL_0014: ret + IL_0015: ldarg.0 + IL_0016: ldfld string NDesk.DBus.ObjectPath::Value + IL_001b: ldloc.0 + IL_001c: ldfld string NDesk.DBus.ObjectPath::Value + IL_0021: callvirt instance bool string::Equals(string) + IL_0026: ret + } // end of method ObjectPath::Equals // method line 1121 - .method public hidebysig - instance default void HandleHeader (class NDesk.DBus.Header headerIn) cil managed + .method public static hidebysig specialname + default bool op_Equality (class NDesk.DBus.ObjectPath a, class NDesk.DBus.ObjectPath b) cil managed { - // Method begins at RVA 0x10612 - // Code size 8 (0x8) - .maxstack 8 + // Method begins at RVA 0x106e4 + // Code size 50 (0x32) + .maxstack 2 + .locals init ( + object V_0, + object V_1) IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: stfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0007: ret - } // end of method Message::HandleHeader + IL_0001: stloc.0 + IL_0002: ldarg.1 + IL_0003: stloc.1 + IL_0004: ldloc.0 + IL_0005: brtrue IL_0012 + + IL_000a: ldloc.1 + IL_000b: brtrue IL_0012 + + IL_0010: ldc.i4.1 + IL_0011: ret + IL_0012: ldloc.0 + IL_0013: brfalse IL_001e + + IL_0018: ldloc.1 + IL_0019: brtrue IL_0020 + + IL_001e: ldc.i4.0 + IL_001f: ret + IL_0020: ldarg.0 + IL_0021: ldfld string NDesk.DBus.ObjectPath::Value + IL_0026: ldarg.1 + IL_0027: ldfld string NDesk.DBus.ObjectPath::Value + IL_002c: call bool string::op_Equality(string, string) + IL_0031: ret + } // end of method ObjectPath::op_Equality // method line 1122 - .method public hidebysig - instance default void SetHeaderData (unsigned int8[] data) cil managed + .method public static hidebysig specialname + default bool op_Inequality (class NDesk.DBus.ObjectPath a, class NDesk.DBus.ObjectPath b) cil managed { - // Method begins at RVA 0x1061c - // Code size 38 (0x26) - .maxstack 5 - .locals init ( - valuetype NDesk.DBus.EndianFlag V_0, - class NDesk.DBus.MessageReader V_1, - class NDesk.DBus.MethodCaller2 V_2) - IL_0000: ldarg.1 - IL_0001: ldc.i4.0 - IL_0002: ldelem.u1 - IL_0003: stloc.0 - IL_0004: ldloc.0 - IL_0005: ldarg.1 - IL_0006: newobj instance void class NDesk.DBus.MessageReader::'.ctor'(valuetype NDesk.DBus.EndianFlag, unsigned int8[]) - IL_000b: stloc.1 - IL_000c: ldsfld class [mscorlib]System.Reflection.MethodInfo NDesk.DBus.Message::hHandler - IL_0011: call class NDesk.DBus.MethodCaller2 class NDesk.DBus.ExportObject::GetMCaller(class [mscorlib]System.Reflection.MethodInfo) - IL_0016: stloc.2 - IL_0017: ldloc.2 - IL_0018: ldarg.0 - IL_0019: ldloc.1 - IL_001a: ldnull - IL_001b: newobj instance void class NDesk.DBus.MessageWriter::'.ctor'() - IL_0020: callvirt instance void class NDesk.DBus.MethodCaller2::Invoke(object, class NDesk.DBus.MessageReader, class NDesk.DBus.Message, class NDesk.DBus.MessageWriter) - IL_0025: ret - } // end of method Message::SetHeaderData + // Method begins at RVA 0x10722 + // Code size 11 (0xb) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call bool class NDesk.DBus.ObjectPath::op_Equality(class NDesk.DBus.ObjectPath, class NDesk.DBus.ObjectPath) + IL_0007: ldc.i4.0 + IL_0008: ceq + IL_000a: ret + } // end of method ObjectPath::op_Inequality // method line 1123 - .method public hidebysig - instance default unsigned int8[] GetHeaderData () cil managed + .method public virtual hidebysig + instance default int32 GetHashCode () cil managed { - // Method begins at RVA 0x10650 - // Code size 179 (0xb3) - .maxstack 2 - .locals init ( - class NDesk.DBus.MessageWriter V_0) + // Method begins at RVA 0x1072e + // Code size 12 (0xc) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld unsigned int8[] NDesk.DBus.Message::Body - IL_0006: brfalse IL_001e - - IL_000b: ldarg.0 - IL_000c: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0011: ldarg.0 - IL_0012: ldfld unsigned int8[] NDesk.DBus.Message::Body - IL_0017: ldlen - IL_0018: conv.i4 - IL_0019: stfld unsigned int32 NDesk.DBus.Header::Length - IL_001e: ldarg.0 - IL_001f: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0024: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Header::Endianness - IL_0029: newobj instance void class NDesk.DBus.MessageWriter::'.ctor'(valuetype NDesk.DBus.EndianFlag) - IL_002e: stloc.0 - IL_002f: ldloc.0 - IL_0030: ldarg.0 - IL_0031: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0036: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Header::Endianness - IL_003b: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int8) - IL_0040: ldloc.0 - IL_0041: ldarg.0 - IL_0042: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0047: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType - IL_004c: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int8) - IL_0051: ldloc.0 - IL_0052: ldarg.0 - IL_0053: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0058: ldfld valuetype NDesk.DBus.HeaderFlag NDesk.DBus.Header::Flags - IL_005d: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int8) - IL_0062: ldloc.0 - IL_0063: ldarg.0 - IL_0064: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0069: ldfld unsigned int8 NDesk.DBus.Header::MajorVersion - IL_006e: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int8) - IL_0073: ldloc.0 - IL_0074: ldarg.0 - IL_0075: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_007a: ldfld unsigned int32 NDesk.DBus.Header::Length - IL_007f: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) - IL_0084: ldloc.0 - IL_0085: ldarg.0 - IL_0086: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_008b: ldfld unsigned int32 NDesk.DBus.Header::Serial - IL_0090: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) - IL_0095: ldloc.0 - IL_0096: ldarg.0 - IL_0097: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_009c: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Header::Fields - IL_00a1: callvirt instance void class NDesk.DBus.MessageWriter::WriteHeaderFields(class [mscorlib]System.Collections.Generic.Dictionary`2) - IL_00a6: ldloc.0 - IL_00a7: callvirt instance void class NDesk.DBus.MessageWriter::CloseWrite() - IL_00ac: ldloc.0 - IL_00ad: callvirt instance unsigned int8[] class NDesk.DBus.MessageWriter::ToArray() - IL_00b2: ret - } // end of method Message::GetHeaderData + IL_0001: ldfld string NDesk.DBus.ObjectPath::Value + IL_0006: callvirt instance int32 object::GetHashCode() + IL_000b: ret + } // end of method ObjectPath::GetHashCode // method line 1124 - .method public hidebysig - instance default void GetHeaderDataToStream (class [mscorlib]System.IO.Stream 'stream') cil managed + .method public virtual hidebysig + instance default string ToString () cil managed { - // Method begins at RVA 0x10710 - // Code size 180 (0xb4) - .maxstack 2 + // Method begins at RVA 0x1073b + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld string NDesk.DBus.ObjectPath::Value + IL_0006: ret + } // end of method ObjectPath::ToString + + // method line 1125 + .method assembly hidebysig specialname + instance default string[] get_Decomposed () cil managed + { + // Method begins at RVA 0x10743 + // Code size 24 (0x18) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld string NDesk.DBus.ObjectPath::Value + IL_0006: ldc.i4.1 + IL_0007: newarr [mscorlib]System.Char + IL_000c: dup + IL_000d: ldc.i4.0 + IL_000e: ldc.i4.s 0x2f + IL_0010: stelem.i2 + IL_0011: ldc.i4.1 + IL_0012: callvirt instance string[] string::Split(char[], valuetype [mscorlib]System.StringSplitOptions) + IL_0017: ret + } // end of method ObjectPath::get_Decomposed + + // method line 1126 + .method assembly hidebysig specialname + instance default class NDesk.DBus.ObjectPath get_Parent () cil managed + { + // Method begins at RVA 0x1075c + // Code size 83 (0x53) + .maxstack 4 .locals init ( - class NDesk.DBus.MessageWriter V_0) + string V_0) IL_0000: ldarg.0 - IL_0001: ldfld unsigned int8[] NDesk.DBus.Message::Body - IL_0006: brfalse IL_001e + IL_0001: ldfld string NDesk.DBus.ObjectPath::Value + IL_0006: ldsfld class NDesk.DBus.ObjectPath NDesk.DBus.ObjectPath::Root + IL_000b: ldfld string NDesk.DBus.ObjectPath::Value + IL_0010: call bool string::op_Equality(string, string) + IL_0015: brfalse IL_001c - IL_000b: ldarg.0 - IL_000c: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0011: ldarg.0 - IL_0012: ldfld unsigned int8[] NDesk.DBus.Message::Body - IL_0017: ldlen - IL_0018: conv.i4 - IL_0019: stfld unsigned int32 NDesk.DBus.Header::Length - IL_001e: ldarg.0 - IL_001f: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0024: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Header::Endianness - IL_0029: newobj instance void class NDesk.DBus.MessageWriter::'.ctor'(valuetype NDesk.DBus.EndianFlag) - IL_002e: stloc.0 - IL_002f: ldloc.0 - IL_0030: ldarg.0 - IL_0031: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0036: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Header::Endianness - IL_003b: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int8) - IL_0040: ldloc.0 - IL_0041: ldarg.0 - IL_0042: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0047: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType - IL_004c: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int8) - IL_0051: ldloc.0 - IL_0052: ldarg.0 - IL_0053: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0058: ldfld valuetype NDesk.DBus.HeaderFlag NDesk.DBus.Header::Flags - IL_005d: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int8) - IL_0062: ldloc.0 - IL_0063: ldarg.0 - IL_0064: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0069: ldfld unsigned int8 NDesk.DBus.Header::MajorVersion - IL_006e: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int8) - IL_0073: ldloc.0 - IL_0074: ldarg.0 - IL_0075: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_007a: ldfld unsigned int32 NDesk.DBus.Header::Length - IL_007f: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) - IL_0084: ldloc.0 - IL_0085: ldarg.0 - IL_0086: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_008b: ldfld unsigned int32 NDesk.DBus.Header::Serial - IL_0090: callvirt instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) - IL_0095: ldloc.0 - IL_0096: ldarg.0 - IL_0097: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_009c: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Header::Fields - IL_00a1: callvirt instance void class NDesk.DBus.MessageWriter::WriteHeaderFields(class [mscorlib]System.Collections.Generic.Dictionary`2) - IL_00a6: ldloc.0 - IL_00a7: callvirt instance void class NDesk.DBus.MessageWriter::CloseWrite() - IL_00ac: ldloc.0 - IL_00ad: ldarg.1 - IL_00ae: callvirt instance void class NDesk.DBus.MessageWriter::ToStream(class [mscorlib]System.IO.Stream) - IL_00b3: ret - } // end of method Message::GetHeaderDataToStream + IL_001a: ldnull + IL_001b: ret + IL_001c: ldarg.0 + IL_001d: ldfld string NDesk.DBus.ObjectPath::Value + IL_0022: ldc.i4.0 + IL_0023: ldarg.0 + IL_0024: ldfld string NDesk.DBus.ObjectPath::Value + IL_0029: ldc.i4.s 0x2f + IL_002b: callvirt instance int32 string::LastIndexOf(char) + IL_0030: callvirt instance string string::Substring(int32, int32) + IL_0035: stloc.0 + IL_0036: ldloc.0 + IL_0037: ldsfld string [mscorlib]System.String::Empty + IL_003c: call bool string::op_Equality(string, string) + IL_0041: brfalse IL_004c - // method line 1125 + IL_0046: ldstr "/" + IL_004b: stloc.0 + IL_004c: ldloc.0 + IL_004d: newobj instance void class NDesk.DBus.ObjectPath::'.ctor'(string) + IL_0052: ret + } // end of method ObjectPath::get_Parent + + // method line 1127 .method private static hidebysig specialname rtspecialname default void '.cctor' () cil managed { - // Method begins at RVA 0x107d0 - // Code size 26 (0x1a) + // Method begins at RVA 0x107bb + // Code size 16 (0x10) .maxstack 8 - IL_0000: ldtoken NDesk.DBus.Message - IL_0005: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000a: ldstr "HandleHeader" - IL_000f: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) - IL_0014: stsfld class [mscorlib]System.Reflection.MethodInfo NDesk.DBus.Message::hHandler - IL_0019: ret - } // end of method Message::.cctor + IL_0000: ldstr "/" + IL_0005: newobj instance void class NDesk.DBus.ObjectPath::'.ctor'(string) + IL_000a: stsfld class NDesk.DBus.ObjectPath NDesk.DBus.ObjectPath::Root + IL_000f: ret + } // end of method ObjectPath::.cctor - .property instance valuetype NDesk.DBus.Signature Signature () + .property instance string[] Decomposed () { - .get instance default valuetype NDesk.DBus.Signature NDesk.DBus.Message::get_Signature () - .set instance default void NDesk.DBus.Message::set_Signature (valuetype NDesk.DBus.Signature 'value') + .get instance default string[] NDesk.DBus.ObjectPath::get_Decomposed () } - .property instance bool ReplyExpected () + .property instance class NDesk.DBus.ObjectPath Parent () { - .get instance default bool NDesk.DBus.Message::get_ReplyExpected () - .set instance default void NDesk.DBus.Message::set_ReplyExpected (bool 'value') + .get instance default class NDesk.DBus.ObjectPath NDesk.DBus.ObjectPath::get_Parent () } - } // end of class NDesk.DBus.Message + } // end of class NDesk.DBus.ObjectPath } .namespace NDesk.DBus { - .class private auto ansi beforefieldinit DValue + .class private auto ansi abstract sealed Protocol extends [mscorlib]System.Object - implements [mscorlib]System.IConvertible { - .field assembly valuetype NDesk.DBus.EndianFlag endianness - .field assembly valuetype NDesk.DBus.Signature signature - .field assembly unsigned int8[] data - - // method line 1126 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x107eb - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method DValue::.ctor - - // method line 1127 - .method public hidebysig - instance default bool CanConvertTo (class [mscorlib]System.Type conversionType) cil managed - { - // Method begins at RVA 0x107f4 - // Code size 20 (0x14) - .maxstack 2 - .locals init ( - valuetype NDesk.DBus.Signature V_0) - IL_0000: ldarg.1 - IL_0001: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.DValue::signature - IL_000d: ldloc.0 - IL_000e: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0013: ret - } // end of method DValue::CanConvertTo + { + .field public static literal unsigned int8 MinVersion = int8(0x00) + .field public static literal unsigned int8 Version = int8(0x01) + .field public static literal unsigned int8 MaxVersion = int8(0x02) + .field public static literal unsigned int32 MaxMessageLength = int32(0x08000000) + .field public static literal unsigned int32 MaxArrayLength = int32(0x04000000) + .field public static literal unsigned int32 MaxSignatureLength = int32(0x000000ff) + .field public static literal unsigned int32 MaxArrayDepth = int32(0x00000020) + .field public static literal unsigned int32 MaxStructDepth = int32(0x00000020) + .field assembly static literal unsigned int32 MaxNameLength = int32(0x000000ff) + .field assembly static literal unsigned int32 MaxMatchRuleLength = int32(0x00000400) + .field assembly static literal unsigned int32 MaxMatchRuleArgs = int32(0x00000040) + .field public static initonly bool Verbose // method line 1128 - .method public final virtual hidebysig newslot - instance default valuetype [mscorlib]System.TypeCode GetTypeCode () cil managed + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed { - // Method begins at RVA 0x10814 - // Code size 2 (0x2) + // Method begins at RVA 0x107cc + // Code size 24 (0x18) .maxstack 8 - IL_0000: ldc.i4.1 - IL_0001: ret - } // end of method DValue::GetTypeCode + IL_0000: ldstr "DBUS_VERBOSE" + IL_0005: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) + IL_000a: call bool string::IsNullOrEmpty(string) + IL_000f: ldc.i4.0 + IL_0010: ceq + IL_0012: stsfld bool NDesk.DBus.Protocol::Verbose + IL_0017: ret + } // end of method Protocol::.cctor // method line 1129 - .method public hidebysig - instance default object ToType (class [mscorlib]System.Type conversionType) cil managed + .method public static hidebysig + default int32 PadNeeded (int32 pos, int32 'alignment') cil managed { - // Method begins at RVA 0x10817 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x107e8 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + int32 V_0) IL_0000: ldarg.0 IL_0001: ldarg.1 - IL_0002: ldnull - IL_0003: call instance object class NDesk.DBus.DValue::ToType(class [mscorlib]System.Type, class [mscorlib]System.IFormatProvider) - IL_0008: ret - } // end of method DValue::ToType + IL_0002: rem + IL_0003: stloc.0 + IL_0004: ldloc.0 + IL_0005: brtrue IL_0010 + + IL_000a: ldc.i4.0 + IL_000b: br IL_0013 + + IL_0010: ldarg.1 + IL_0011: ldloc.0 + IL_0012: sub + IL_0013: stloc.0 + IL_0014: ldloc.0 + IL_0015: ret + } // end of method Protocol::PadNeeded // method line 1130 - .method public final virtual hidebysig newslot - instance default object ToType (class [mscorlib]System.Type conversionType, class [mscorlib]System.IFormatProvider provider) cil managed + .method public static hidebysig + default int32 Padded (int32 pos, int32 'alignment') cil managed { - // Method begins at RVA 0x10824 - // Code size 56 (0x38) - .maxstack 2 + // Method begins at RVA 0x1080c + // Code size 19 (0x13) + .maxstack 3 .locals init ( - valuetype NDesk.DBus.Signature V_0, - class NDesk.DBus.MessageReader V_1) - IL_0000: ldarg.1 - IL_0001: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.DValue::signature - IL_000e: call bool valuetype NDesk.DBus.Signature::op_Inequality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0013: brfalse IL_001e + int32 V_0) + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: rem + IL_0003: stloc.0 + IL_0004: ldloc.0 + IL_0005: brfalse IL_0011 - IL_0018: newobj instance void class [mscorlib]System.InvalidCastException::'.ctor'() - IL_001d: throw - IL_001e: ldarg.0 - IL_001f: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.DValue::endianness - IL_0024: ldarg.0 - IL_0025: ldfld unsigned int8[] NDesk.DBus.DValue::data - IL_002a: newobj instance void class NDesk.DBus.MessageReader::'.ctor'(valuetype NDesk.DBus.EndianFlag, unsigned int8[]) - IL_002f: stloc.1 - IL_0030: ldloc.1 - IL_0031: ldarg.1 - IL_0032: callvirt instance object class NDesk.DBus.MessageReader::ReadValue(class [mscorlib]System.Type) - IL_0037: ret - } // end of method DValue::ToType + IL_000a: ldarg.0 + IL_000b: ldarg.1 + IL_000c: ldloc.0 + IL_000d: sub + IL_000e: add + IL_000f: starg.s 0 + IL_0011: ldarg.0 + IL_0012: ret + } // end of method Protocol::Padded // method line 1131 - .method public virtual hidebysig - instance default string ToString () cil managed + .method public static hidebysig + default int32 GetAlignment (valuetype NDesk.DBus.DType dtype) cil managed { - // Method begins at RVA 0x10868 - // Code size 18 (0x12) - .maxstack 8 + // Method begins at RVA 0x1082c + // Code size 186 (0xba) + .maxstack 2 IL_0000: ldarg.0 - IL_0001: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.DValue::signature - IL_0006: constrained. NDesk.DBus.Signature - IL_000c: callvirt instance string object::ToString() - IL_0011: ret - } // end of method DValue::ToString + IL_0001: ldc.i4.s 0x61 + IL_0003: sub + IL_0004: switch ( + IL_009c, + IL_008a, + IL_0075, + IL_0094, + IL_00a2, + IL_0092, + IL_009a, + IL_0075, + IL_008e, + IL_0075, + IL_0075, + IL_0075, + IL_0075, + IL_008c, + IL_0098, + IL_0075, + IL_008c, + IL_009e, + IL_0096, + IL_0090, + IL_008e, + IL_00a0, + IL_0075, + IL_0090, + IL_0088, + IL_0075, + IL_00a2) + IL_0075: ldarg.0 + IL_0076: brfalse IL_00a4 + + IL_007b: ldarg.0 + IL_007c: ldc.i4.s 0x28 + IL_007e: beq IL_009e + + IL_0083: br IL_00a4 + + IL_0088: ldc.i4.1 + IL_0089: ret + IL_008a: ldc.i4.4 + IL_008b: ret + IL_008c: ldc.i4.2 + IL_008d: ret + IL_008e: ldc.i4.4 + IL_008f: ret + IL_0090: ldc.i4.8 + IL_0091: ret + IL_0092: ldc.i4.4 + IL_0093: ret + IL_0094: ldc.i4.8 + IL_0095: ret + IL_0096: ldc.i4.4 + IL_0097: ret + IL_0098: ldc.i4.4 + IL_0099: ret + IL_009a: ldc.i4.1 + IL_009b: ret + IL_009c: ldc.i4.4 + IL_009d: ret + IL_009e: ldc.i4.8 + IL_009f: ret + IL_00a0: ldc.i4.1 + IL_00a1: ret + IL_00a2: ldc.i4.8 + IL_00a3: ret + IL_00a4: ldstr "Cannot determine alignment of " + IL_00a9: ldarg.0 + IL_00aa: box NDesk.DBus.DType + IL_00af: call string string::Concat(object, object) + IL_00b4: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_00b9: throw + } // end of method Protocol::GetAlignment + + } // end of class NDesk.DBus.Protocol +} + +.namespace NDesk.DBus +{ + .class private auto ansi beforefieldinit BusException + extends [mscorlib]System.Exception + { + .field public initonly string ErrorName + .field public initonly string ErrorMessage // method line 1132 - .method public final virtual hidebysig newslot - instance default bool ToBoolean (class [mscorlib]System.IFormatProvider provider) cil managed + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string errorName, string errorMessage) cil managed { - // Method begins at RVA 0x1087b - // Code size 6 (0x6) + // Method begins at RVA 0x108f2 + // Code size 21 (0x15) .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() - IL_0005: throw - } // end of method DValue::ToBoolean + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Exception::'.ctor'() + IL_0006: ldarg.0 + IL_0007: ldarg.1 + IL_0008: stfld string NDesk.DBus.BusException::ErrorName + IL_000d: ldarg.0 + IL_000e: ldarg.2 + IL_000f: stfld string NDesk.DBus.BusException::ErrorMessage + IL_0014: ret + } // end of method BusException::.ctor // method line 1133 - .method public final virtual hidebysig newslot - instance default unsigned int8 ToByte (class [mscorlib]System.IFormatProvider provider) cil managed + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string errorName, string format, object[] args) cil managed { - // Method begins at RVA 0x10882 - // Code size 6 (0x6) + .param [3] + .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x10908 + // Code size 27 (0x1b) .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() - IL_0005: throw - } // end of method DValue::ToByte + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Exception::'.ctor'() + IL_0006: ldarg.0 + IL_0007: ldarg.1 + IL_0008: stfld string NDesk.DBus.BusException::ErrorName + IL_000d: ldarg.0 + IL_000e: ldarg.2 + IL_000f: ldarg.3 + IL_0010: call string string::Format(string, object[]) + IL_0015: stfld string NDesk.DBus.BusException::ErrorMessage + IL_001a: ret + } // end of method BusException::.ctor // method line 1134 - .method public final virtual hidebysig newslot - instance default char ToChar (class [mscorlib]System.IFormatProvider provider) cil managed + .method public virtual hidebysig specialname + instance default string get_Message () cil managed { - // Method begins at RVA 0x10889 - // Code size 6 (0x6) + // Method begins at RVA 0x10924 + // Code size 23 (0x17) .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() - IL_0005: throw - } // end of method DValue::ToChar + IL_0000: ldarg.0 + IL_0001: ldfld string NDesk.DBus.BusException::ErrorName + IL_0006: ldstr ": " + IL_000b: ldarg.0 + IL_000c: ldfld string NDesk.DBus.BusException::ErrorMessage + IL_0011: call string string::Concat(string, string, string) + IL_0016: ret + } // end of method BusException::get_Message + + .property instance string Message () + { + .get instance default string NDesk.DBus.BusException::get_Message () + } + } // end of class NDesk.DBus.BusException +} + +.namespace NDesk.DBus +{ + .class private sequential ansi sealed beforefieldinit UUID + extends [mscorlib]System.ValueType + { + .field private int32 a + .field private int32 b + .field private int32 c + .field private int32 d + .field private static literal int32 ByteLength = int32(0x00000010) + .field public static initonly valuetype NDesk.DBus.UUID Zero + .field private static class [mscorlib]System.Random rand + .field private static unsigned int8[] buf // method line 1135 - .method public final virtual hidebysig newslot - instance default valuetype [mscorlib]System.DateTime ToDateTime (class [mscorlib]System.IFormatProvider provider) cil managed + .method public static hidebysig specialname + default bool op_Equality (valuetype NDesk.DBus.UUID a, valuetype NDesk.DBus.UUID b) cil managed { - // Method begins at RVA 0x10890 - // Code size 6 (0x6) - .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() - IL_0005: throw - } // end of method DValue::ToDateTime + // Method begins at RVA 0x1093c + // Code size 80 (0x50) + .maxstack 2 + IL_0000: ldarga.s 0 + IL_0002: ldfld int32 NDesk.DBus.UUID::a + IL_0007: ldarga.s 1 + IL_0009: ldfld int32 NDesk.DBus.UUID::a + IL_000e: bne.un IL_004e + + IL_0013: ldarga.s 0 + IL_0015: ldfld int32 NDesk.DBus.UUID::b + IL_001a: ldarga.s 1 + IL_001c: ldfld int32 NDesk.DBus.UUID::b + IL_0021: bne.un IL_004e + + IL_0026: ldarga.s 0 + IL_0028: ldfld int32 NDesk.DBus.UUID::c + IL_002d: ldarga.s 1 + IL_002f: ldfld int32 NDesk.DBus.UUID::c + IL_0034: bne.un IL_004e + + IL_0039: ldarga.s 0 + IL_003b: ldfld int32 NDesk.DBus.UUID::d + IL_0040: ldarga.s 1 + IL_0042: ldfld int32 NDesk.DBus.UUID::d + IL_0047: bne.un IL_004e + + IL_004c: ldc.i4.1 + IL_004d: ret + IL_004e: ldc.i4.0 + IL_004f: ret + } // end of method UUID::op_Equality // method line 1136 - .method public final virtual hidebysig newslot - instance default valuetype [mscorlib]System.Decimal ToDecimal (class [mscorlib]System.IFormatProvider provider) cil managed + .method public static hidebysig specialname + default bool op_Inequality (valuetype NDesk.DBus.UUID a, valuetype NDesk.DBus.UUID b) cil managed { - // Method begins at RVA 0x10897 - // Code size 6 (0x6) + // Method begins at RVA 0x10998 + // Code size 11 (0xb) .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() - IL_0005: throw - } // end of method DValue::ToDecimal + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call bool valuetype NDesk.DBus.UUID::op_Equality(valuetype NDesk.DBus.UUID, valuetype NDesk.DBus.UUID) + IL_0007: ldc.i4.0 + IL_0008: ceq + IL_000a: ret + } // end of method UUID::op_Inequality // method line 1137 - .method public final virtual hidebysig newslot - instance default float64 ToDouble (class [mscorlib]System.IFormatProvider provider) cil managed + .method public virtual hidebysig + instance default bool Equals (object o) cil managed { - // Method begins at RVA 0x1089e - // Code size 6 (0x6) + // Method begins at RVA 0x109a4 + // Code size 39 (0x27) .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() - IL_0005: throw - } // end of method DValue::ToDouble + IL_0000: ldarg.1 + IL_0001: brtrue IL_0008 + + IL_0006: ldc.i4.0 + IL_0007: ret + IL_0008: ldarg.1 + IL_0009: isinst NDesk.DBus.UUID + IL_000e: brtrue IL_0015 + + IL_0013: ldc.i4.0 + IL_0014: ret + IL_0015: ldarg.0 + IL_0016: ldobj NDesk.DBus.UUID + IL_001b: ldarg.1 + IL_001c: unbox.any NDesk.DBus.UUID + IL_0021: call bool valuetype NDesk.DBus.UUID::op_Equality(valuetype NDesk.DBus.UUID, valuetype NDesk.DBus.UUID) + IL_0026: ret + } // end of method UUID::Equals // method line 1138 - .method public final virtual hidebysig newslot - instance default int16 ToInt16 (class [mscorlib]System.IFormatProvider provider) cil managed + .method public virtual hidebysig + instance default int32 GetHashCode () cil managed { - // Method begins at RVA 0x108a5 - // Code size 6 (0x6) + // Method begins at RVA 0x109cc + // Code size 28 (0x1c) .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() - IL_0005: throw - } // end of method DValue::ToInt16 + IL_0000: ldarg.0 + IL_0001: ldfld int32 NDesk.DBus.UUID::a + IL_0006: ldarg.0 + IL_0007: ldfld int32 NDesk.DBus.UUID::b + IL_000c: xor + IL_000d: ldarg.0 + IL_000e: ldfld int32 NDesk.DBus.UUID::c + IL_0013: xor + IL_0014: ldarg.0 + IL_0015: ldfld int32 NDesk.DBus.UUID::d + IL_001a: xor + IL_001b: ret + } // end of method UUID::GetHashCode // method line 1139 - .method public final virtual hidebysig newslot - instance default int32 ToInt32 (class [mscorlib]System.IFormatProvider provider) cil managed + .method public virtual hidebysig + instance default string ToString () cil managed { - // Method begins at RVA 0x108ac - // Code size 6 (0x6) - .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() - IL_0005: throw - } // end of method DValue::ToInt32 + // Method begins at RVA 0x109ec + // Code size 72 (0x48) + .maxstack 4 + .locals init ( + class [mscorlib]System.Text.StringBuilder V_0, + int32& pinned V_1, + unsigned int8* V_2, + int32 V_3) + IL_0000: ldc.i4.s 0x20 + IL_0002: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(int32) + IL_0007: stloc.0 + IL_0008: ldarg.0 + IL_0009: ldflda int32 NDesk.DBus.UUID::a + IL_000e: stloc.1 + IL_000f: ldloc.1 + IL_0010: stloc.2 + IL_0011: ldc.i4.0 + IL_0012: stloc.3 + IL_0013: br IL_0036 + + IL_0018: ldloc.0 + IL_0019: ldloc.2 + IL_001a: ldloc.3 + IL_001b: conv.i + IL_001c: add + IL_001d: ldstr "x2" + IL_0022: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0027: call instance string unsigned int8::ToString(string, class [mscorlib]System.IFormatProvider) + IL_002c: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0031: pop + IL_0032: ldloc.3 + IL_0033: ldc.i4.1 + IL_0034: add + IL_0035: stloc.3 + IL_0036: ldloc.3 + IL_0037: ldc.i4.s 0x10 + IL_0039: bne.un IL_0018 + + IL_003e: ldc.i4.0 + IL_003f: conv.u + IL_0040: stloc.1 + IL_0041: ldloc.0 + IL_0042: callvirt instance string object::ToString() + IL_0047: ret + } // end of method UUID::ToString // method line 1140 - .method public final virtual hidebysig newslot - instance default int64 ToInt64 (class [mscorlib]System.IFormatProvider provider) cil managed + .method public static hidebysig + default valuetype NDesk.DBus.UUID Parse (string hex) cil managed { - // Method begins at RVA 0x108b3 - // Code size 6 (0x6) - .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() - IL_0005: throw - } // end of method DValue::ToInt64 + // Method begins at RVA 0x10a40 + // Code size 112 (0x70) + .maxstack 6 + .locals init ( + valuetype NDesk.DBus.UUID V_0, + unsigned int8* V_1, + int32 V_2, + int32 V_3) + IL_0000: ldarg.0 + IL_0001: callvirt instance int32 string::get_Length() + IL_0006: ldc.i4.s 0x20 + IL_0008: beq IL_0018 + + IL_000d: ldstr "Cannot parse UUID/GUID of invalid length" + IL_0012: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0017: throw + IL_0018: ldloca.s 0 + IL_001a: initobj NDesk.DBus.UUID + IL_0020: ldloca.s 0 + IL_0022: ldflda int32 NDesk.DBus.UUID::a + IL_0027: stloc.1 + IL_0028: ldc.i4.0 + IL_0029: stloc.2 + IL_002a: ldc.i4.0 + IL_002b: stloc.3 + IL_002c: br IL_0066 + + IL_0031: ldloc.1 + IL_0032: ldloc.2 + IL_0033: conv.i + IL_0034: add + IL_0035: ldarg.0 + IL_0036: ldloc.3 + IL_0037: dup + IL_0038: ldc.i4.1 + IL_0039: add + IL_003a: stloc.3 + IL_003b: callvirt instance char string::get_Chars(int32) + IL_0040: call unsigned int8 class NDesk.DBus.Authentication.Sasl::FromHexChar(char) + IL_0045: ldc.i4.4 + IL_0046: shl + IL_0047: conv.u1 + IL_0048: stind.i1 + IL_0049: ldloc.1 + IL_004a: ldloc.2 + IL_004b: dup + IL_004c: ldc.i4.1 + IL_004d: add + IL_004e: stloc.2 + IL_004f: conv.i + IL_0050: add + IL_0051: dup + IL_0052: ldind.u1 + IL_0053: ldarg.0 + IL_0054: ldloc.3 + IL_0055: dup + IL_0056: ldc.i4.1 + IL_0057: add + IL_0058: stloc.3 + IL_0059: callvirt instance char string::get_Chars(int32) + IL_005e: call unsigned int8 class NDesk.DBus.Authentication.Sasl::FromHexChar(char) + IL_0063: add + IL_0064: conv.u1 + IL_0065: stind.i1 + IL_0066: ldloc.2 + IL_0067: ldc.i4.s 0x10 + IL_0069: blt IL_0031 + + IL_006e: ldloc.0 + IL_006f: ret + } // end of method UUID::Parse // method line 1141 - .method public final virtual hidebysig newslot - instance default int8 ToSByte (class [mscorlib]System.IFormatProvider provider) cil managed + .method public static hidebysig + default valuetype NDesk.DBus.UUID Generate (valuetype [mscorlib]System.DateTime timestamp) cil managed { - // Method begins at RVA 0x108ba - // Code size 6 (0x6) - .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() - IL_0005: throw - } // end of method DValue::ToSByte + // Method begins at RVA 0x10abc + // Code size 116 (0x74) + .maxstack 3 + .locals init ( + valuetype NDesk.DBus.UUID V_0, + object V_1, + bool V_2, + unsigned int8& pinned V_3, + int32* V_4) + IL_0000: ldloca.s 0 + IL_0002: initobj NDesk.DBus.UUID + IL_0008: ldsfld unsigned int8[] NDesk.DBus.UUID::buf + IL_000d: stloc.1 + IL_000e: ldc.i4.0 + IL_000f: stloc.2 + .try { // 0 + IL_0010: ldloc.1 + IL_0011: ldloca.s 2 + IL_0013: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) + IL_0018: ldsfld class [mscorlib]System.Random NDesk.DBus.UUID::rand + IL_001d: ldsfld unsigned int8[] NDesk.DBus.UUID::buf + IL_0022: callvirt instance void class [mscorlib]System.Random::NextBytes(unsigned int8[]) + IL_0027: ldsfld unsigned int8[] NDesk.DBus.UUID::buf + IL_002c: ldc.i4.0 + IL_002d: ldelema [mscorlib]System.Byte + IL_0032: stloc.3 + IL_0033: ldloc.3 + IL_0034: stloc.s 4 + IL_0036: ldloca.s 0 + IL_0038: ldloc.s 4 + IL_003a: ldind.i4 + IL_003b: stfld int32 NDesk.DBus.UUID::a + IL_0040: ldloca.s 0 + IL_0042: ldloc.s 4 + IL_0044: ldc.i4.4 + IL_0045: add + IL_0046: ldind.i4 + IL_0047: stfld int32 NDesk.DBus.UUID::b + IL_004c: ldloca.s 0 + IL_004e: ldloc.s 4 + IL_0050: ldc.i4.8 + IL_0051: add + IL_0052: ldind.i4 + IL_0053: stfld int32 NDesk.DBus.UUID::c + IL_0058: ldc.i4.0 + IL_0059: conv.u + IL_005a: stloc.3 + IL_005b: leave IL_006a + + } // end .try 0 + finally { // 0 + IL_0060: ldloc.2 + IL_0061: brfalse.s IL_0069 + + IL_0063: ldloc.1 + IL_0064: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_0069: endfinally + } // end handler 0 + IL_006a: ldloca.s 0 + IL_006c: ldarg.0 + IL_006d: call instance void valuetype NDesk.DBus.UUID::set_Timestamp(valuetype [mscorlib]System.DateTime) + IL_0072: ldloc.0 + IL_0073: ret + } // end of method UUID::Generate // method line 1142 - .method public final virtual hidebysig newslot - instance default float32 ToSingle (class [mscorlib]System.IFormatProvider provider) cil managed + .method public static hidebysig + default valuetype NDesk.DBus.UUID Generate () cil managed { - // Method begins at RVA 0x108c1 - // Code size 6 (0x6) + // Method begins at RVA 0x10b4c + // Code size 11 (0xb) .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() - IL_0005: throw - } // end of method DValue::ToSingle + IL_0000: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now() + IL_0005: call valuetype NDesk.DBus.UUID valuetype NDesk.DBus.UUID::Generate(valuetype [mscorlib]System.DateTime) + IL_000a: ret + } // end of method UUID::Generate // method line 1143 - .method public final virtual hidebysig newslot - instance default string ToString (class [mscorlib]System.IFormatProvider provider) cil managed + .method public hidebysig specialname + instance default unsigned int32 get_UnixTimestamp () cil managed { - // Method begins at RVA 0x108c8 - // Code size 6 (0x6) - .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() - IL_0005: throw - } // end of method DValue::ToString + // Method begins at RVA 0x10b58 + // Code size 63 (0x3f) + .maxstack 3 + .locals init ( + unsigned int32 V_0, + int32& pinned V_1, + unsigned int8* V_2, + unsigned int8* V_3) + IL_0000: ldarg.0 + IL_0001: ldflda int32 NDesk.DBus.UUID::d + IL_0006: stloc.1 + IL_0007: ldsfld bool [mscorlib]System.BitConverter::IsLittleEndian + IL_000c: brfalse IL_0037 + + IL_0011: ldloc.1 + IL_0012: stloc.2 + IL_0013: ldloca.s 0 + IL_0015: stloc.3 + IL_0016: ldloc.3 + IL_0017: ldloc.2 + IL_0018: ldc.i4.3 + IL_0019: add + IL_001a: ldind.u1 + IL_001b: stind.i1 + IL_001c: ldloc.3 + IL_001d: ldc.i4.1 + IL_001e: add + IL_001f: ldloc.2 + IL_0020: ldc.i4.2 + IL_0021: add + IL_0022: ldind.u1 + IL_0023: stind.i1 + IL_0024: ldloc.3 + IL_0025: ldc.i4.2 + IL_0026: add + IL_0027: ldloc.2 + IL_0028: ldc.i4.1 + IL_0029: add + IL_002a: ldind.u1 + IL_002b: stind.i1 + IL_002c: ldloc.3 + IL_002d: ldc.i4.3 + IL_002e: add + IL_002f: ldloc.2 + IL_0030: ldind.u1 + IL_0031: stind.i1 + IL_0032: br IL_003a + + IL_0037: ldloc.1 + IL_0038: ldind.u4 + IL_0039: stloc.0 + IL_003a: ldc.i4.0 + IL_003b: conv.u + IL_003c: stloc.1 + IL_003d: ldloc.0 + IL_003e: ret + } // end of method UUID::get_UnixTimestamp // method line 1144 - .method public final virtual hidebysig newslot - instance default unsigned int16 ToUInt16 (class [mscorlib]System.IFormatProvider provider) cil managed + .method public hidebysig specialname + instance default void set_UnixTimestamp (unsigned int32 'value') cil managed { - // Method begins at RVA 0x108cf - // Code size 6 (0x6) - .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() - IL_0005: throw - } // end of method DValue::ToUInt16 + // Method begins at RVA 0x10ba4 + // Code size 64 (0x40) + .maxstack 3 + .locals init ( + unsigned int32 V_0, + int32& pinned V_1, + unsigned int8* V_2, + unsigned int8* V_3) + IL_0000: ldarg.1 + IL_0001: stloc.0 + IL_0002: ldarg.0 + IL_0003: ldflda int32 NDesk.DBus.UUID::d + IL_0008: stloc.1 + IL_0009: ldsfld bool [mscorlib]System.BitConverter::IsLittleEndian + IL_000e: brfalse IL_0039 + + IL_0013: ldloca.s 0 + IL_0015: stloc.2 + IL_0016: ldloc.1 + IL_0017: stloc.3 + IL_0018: ldloc.3 + IL_0019: ldloc.2 + IL_001a: ldc.i4.3 + IL_001b: add + IL_001c: ldind.u1 + IL_001d: stind.i1 + IL_001e: ldloc.3 + IL_001f: ldc.i4.1 + IL_0020: add + IL_0021: ldloc.2 + IL_0022: ldc.i4.2 + IL_0023: add + IL_0024: ldind.u1 + IL_0025: stind.i1 + IL_0026: ldloc.3 + IL_0027: ldc.i4.2 + IL_0028: add + IL_0029: ldloc.2 + IL_002a: ldc.i4.1 + IL_002b: add + IL_002c: ldind.u1 + IL_002d: stind.i1 + IL_002e: ldloc.3 + IL_002f: ldc.i4.3 + IL_0030: add + IL_0031: ldloc.2 + IL_0032: ldind.u1 + IL_0033: stind.i1 + IL_0034: br IL_003c + + IL_0039: ldloc.1 + IL_003a: ldloc.0 + IL_003b: stind.i4 + IL_003c: ldc.i4.0 + IL_003d: conv.u + IL_003e: stloc.1 + IL_003f: ret + } // end of method UUID::set_UnixTimestamp // method line 1145 - .method public final virtual hidebysig newslot - instance default unsigned int32 ToUInt32 (class [mscorlib]System.IFormatProvider provider) cil managed + .method public hidebysig specialname + instance default valuetype [mscorlib]System.DateTime get_Timestamp () cil managed { - // Method begins at RVA 0x108d6 - // Code size 6 (0x6) + // Method begins at RVA 0x10bf0 + // Code size 13 (0xd) .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() - IL_0005: throw - } // end of method DValue::ToUInt32 + IL_0000: ldarg.0 + IL_0001: call instance unsigned int32 valuetype NDesk.DBus.UUID::get_UnixTimestamp() + IL_0006: conv.u8 + IL_0007: call valuetype [mscorlib]System.DateTime class NDesk.DBus.Authentication.Sasl::UnixToDateTime(int64) + IL_000c: ret + } // end of method UUID::get_Timestamp // method line 1146 - .method public final virtual hidebysig newslot - instance default unsigned int64 ToUInt64 (class [mscorlib]System.IFormatProvider provider) cil managed + .method public hidebysig specialname + instance default void set_Timestamp (valuetype [mscorlib]System.DateTime 'value') cil managed { - // Method begins at RVA 0x108dd - // Code size 6 (0x6) + // Method begins at RVA 0x10bfe + // Code size 14 (0xe) .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() - IL_0005: throw - } // end of method DValue::ToUInt64 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call int64 class NDesk.DBus.Authentication.Sasl::DateTimeToUnix(valuetype [mscorlib]System.DateTime) + IL_0007: conv.u4 + IL_0008: call instance void valuetype NDesk.DBus.UUID::set_UnixTimestamp(unsigned int32) + IL_000d: ret + } // end of method UUID::set_Timestamp - } // end of class NDesk.DBus.DValue + // method line 1147 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x10c10 + // Code size 37 (0x25) + .maxstack 1 + .locals init ( + valuetype NDesk.DBus.UUID V_0) + IL_0000: ldloca.s 0 + IL_0002: initobj NDesk.DBus.UUID + IL_0008: ldloc.0 + IL_0009: stsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero + IL_000e: newobj instance void class [mscorlib]System.Random::'.ctor'() + IL_0013: stsfld class [mscorlib]System.Random NDesk.DBus.UUID::rand + IL_0018: ldc.i4.s 0x0c + IL_001a: newarr [mscorlib]System.Byte + IL_001f: stsfld unsigned int8[] NDesk.DBus.UUID::buf + IL_0024: ret + } // end of method UUID::.cctor + + .property instance unsigned int32 UnixTimestamp () + { + .get instance default unsigned int32 NDesk.DBus.UUID::get_UnixTimestamp () + .set instance default void NDesk.DBus.UUID::set_UnixTimestamp (unsigned int32 'value') + } + .property instance valuetype [mscorlib]System.DateTime Timestamp () + { + .get instance default valuetype [mscorlib]System.DateTime NDesk.DBus.UUID::get_Timestamp () + .set instance default void NDesk.DBus.UUID::set_Timestamp (valuetype [mscorlib]System.DateTime 'value') + } + } // end of class NDesk.DBus.UUID } -.namespace NDesk.DBus +.namespace NDesk.DBus.Authentication { - .class private auto ansi beforefieldinit MessageReader - extends [mscorlib]System.Object + .class private auto ansi sealed ClientState + extends [mscorlib]System.Enum { - .field family valuetype NDesk.DBus.EndianFlag endianness - .field public unsigned int8[] data - .field public int32 pos - .field family class NDesk.DBus.Message message - .field public initonly bool IsNativeEndian + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NDesk.DBus.Authentication.ClientState WaitingForData = int32(0x00000000) + .field public static literal valuetype NDesk.DBus.Authentication.ClientState WaitingForOK = int32(0x00000001) + .field public static literal valuetype NDesk.DBus.Authentication.ClientState WaitingForReject = int32(0x00000002) - // method line 1147 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (valuetype NDesk.DBus.EndianFlag endianness, unsigned int8[] data) cil managed - { - // Method begins at RVA 0x108e4 - // Code size 49 (0x31) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ldarg.2 - IL_0007: brtrue IL_0014 + } // end of class NDesk.DBus.Authentication.ClientState +} - IL_000c: ldc.i4.0 - IL_000d: newarr [mscorlib]System.Byte - IL_0012: starg.s 2 - IL_0014: ldarg.0 - IL_0015: ldarg.1 - IL_0016: stfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.MessageReader::endianness - IL_001b: ldarg.0 - IL_001c: ldarg.1 - IL_001d: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness - IL_0022: ceq - IL_0024: stfld bool NDesk.DBus.MessageReader::IsNativeEndian - IL_0029: ldarg.0 - IL_002a: ldarg.2 - IL_002b: stfld unsigned int8[] NDesk.DBus.MessageReader::data - IL_0030: ret - } // end of method MessageReader::.ctor +.namespace NDesk.DBus.Authentication +{ + .class private auto ansi sealed ServerState + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NDesk.DBus.Authentication.ServerState WaitingForAuth = int32(0x00000000) + .field public static literal valuetype NDesk.DBus.Authentication.ServerState WaitingForData = int32(0x00000001) + .field public static literal valuetype NDesk.DBus.Authentication.ServerState WaitingForBegin = int32(0x00000002) + + } // end of class NDesk.DBus.Authentication.ServerState +} + +.namespace NDesk.DBus.Authentication +{ + .class private auto ansi beforefieldinit AuthCommand + extends [mscorlib]System.Object + { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + + .field private initonly class [mscorlib]System.Collections.Generic.List`1 Args + .field public initonly string Value // method line 1148 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NDesk.DBus.Message message) cil managed + instance default void '.ctor' (string 'value') cil managed { - // Method begins at RVA 0x10916 - // Code size 48 (0x30) + // Method begins at RVA 0x10c41 + // Code size 63 (0x3f) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0007: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Header::Endianness - IL_000c: ldarg.1 - IL_000d: ldfld unsigned int8[] NDesk.DBus.Message::Body - IL_0012: call instance void class NDesk.DBus.MessageReader::'.ctor'(valuetype NDesk.DBus.EndianFlag, unsigned int8[]) - IL_0017: ldarg.1 - IL_0018: brtrue IL_0028 - - IL_001d: ldstr "message" - IL_0022: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0027: throw - IL_0028: ldarg.0 - IL_0029: ldarg.1 - IL_002a: stfld class NDesk.DBus.Message NDesk.DBus.MessageReader::message - IL_002f: ret - } // end of method MessageReader::.ctor + IL_0001: newobj instance void class [mscorlib]System.Collections.Generic.List`1::'.ctor'() + IL_0006: stfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.Authentication.AuthCommand::Args + IL_000b: ldarg.0 + IL_000c: call instance void object::'.ctor'() + IL_0011: ldarg.0 + IL_0012: ldarg.1 + IL_0013: callvirt instance string string::Trim() + IL_0018: stfld string NDesk.DBus.Authentication.AuthCommand::Value + IL_001d: ldarg.0 + IL_001e: ldfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.Authentication.AuthCommand::Args + IL_0023: ldarg.0 + IL_0024: ldfld string NDesk.DBus.Authentication.AuthCommand::Value + IL_0029: ldc.i4.1 + IL_002a: newarr [mscorlib]System.Char + IL_002f: dup + IL_0030: ldc.i4.0 + IL_0031: ldc.i4.s 0x20 + IL_0033: stelem.i2 + IL_0034: callvirt instance string[] string::Split(char[]) + IL_0039: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::AddRange(class [mscorlib]System.Collections.Generic.IEnumerable`1) + IL_003e: ret + } // end of method AuthCommand::.ctor // method line 1149 - .method public hidebysig - instance default bool StepOver (valuetype NDesk.DBus.Signature sig) cil managed + .method public hidebysig specialname + instance default string get_Item (int32 index) cil managed { - // Method begins at RVA 0x10948 - // Code size 520 (0x208) - .maxstack 3 - .locals init ( - valuetype NDesk.DBus.Signature V_0, - unsigned int32 V_1, - unsigned int32 V_2, - unsigned int8 V_3, - valuetype NDesk.DBus.Signature V_4, - unsigned int32 V_5, - int32 V_6, - valuetype NDesk.DBus.Signature V_7, - valuetype NDesk.DBus.Signature V_8, - valuetype NDesk.DBus.Signature V_9, - class [mscorlib]System.Collections.Generic.IEnumerator`1 V_10, - bool V_11) + // Method begins at RVA 0x10c81 + // Code size 36 (0x24) + .maxstack 8 IL_0000: ldarg.1 - IL_0001: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::VariantSig - IL_0006: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_000b: brfalse IL_001f + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.Authentication.AuthCommand::Args + IL_0007: callvirt instance int32 class [mscorlib]System.Collections.Generic.List`1::get_Count() + IL_000c: blt IL_0017 - IL_0010: ldarg.0 - IL_0011: call instance valuetype NDesk.DBus.Signature class NDesk.DBus.MessageReader::ReadSignature() - IL_0016: stloc.0 + IL_0011: ldsfld string [mscorlib]System.String::Empty + IL_0016: ret IL_0017: ldarg.0 - IL_0018: ldloc.0 - IL_0019: call instance bool class NDesk.DBus.MessageReader::StepOver(valuetype NDesk.DBus.Signature) - IL_001e: ret - IL_001f: ldarg.1 - IL_0020: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::StringSig - IL_0025: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_002a: brfalse IL_0054 - - IL_002f: ldarg.0 - IL_0030: call instance unsigned int32 class NDesk.DBus.MessageReader::ReadUInt32() - IL_0035: stloc.1 - IL_0036: ldarg.0 - IL_0037: dup - IL_0038: ldfld int32 NDesk.DBus.MessageReader::pos - IL_003d: ldloc.1 - IL_003e: add - IL_003f: stfld int32 NDesk.DBus.MessageReader::pos - IL_0044: ldarg.0 - IL_0045: dup - IL_0046: ldfld int32 NDesk.DBus.MessageReader::pos - IL_004b: ldc.i4.1 - IL_004c: add - IL_004d: stfld int32 NDesk.DBus.MessageReader::pos - IL_0052: ldc.i4.1 - IL_0053: ret - IL_0054: ldarg.1 - IL_0055: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::ObjectPathSig - IL_005a: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_005f: brfalse IL_0089 - - IL_0064: ldarg.0 - IL_0065: call instance unsigned int32 class NDesk.DBus.MessageReader::ReadUInt32() - IL_006a: stloc.2 - IL_006b: ldarg.0 - IL_006c: dup - IL_006d: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0072: ldloc.2 - IL_0073: add - IL_0074: stfld int32 NDesk.DBus.MessageReader::pos - IL_0079: ldarg.0 - IL_007a: dup - IL_007b: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0080: ldc.i4.1 - IL_0081: add - IL_0082: stfld int32 NDesk.DBus.MessageReader::pos - IL_0087: ldc.i4.1 - IL_0088: ret - IL_0089: ldarg.1 - IL_008a: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::SignatureSig - IL_008f: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0094: brfalse IL_00be - - IL_0099: ldarg.0 - IL_009a: call instance unsigned int8 class NDesk.DBus.MessageReader::ReadByte() - IL_009f: stloc.3 - IL_00a0: ldarg.0 - IL_00a1: dup - IL_00a2: ldfld int32 NDesk.DBus.MessageReader::pos - IL_00a7: ldloc.3 - IL_00a8: add - IL_00a9: stfld int32 NDesk.DBus.MessageReader::pos - IL_00ae: ldarg.0 - IL_00af: dup - IL_00b0: ldfld int32 NDesk.DBus.MessageReader::pos - IL_00b5: ldc.i4.1 - IL_00b6: add - IL_00b7: stfld int32 NDesk.DBus.MessageReader::pos - IL_00bc: ldc.i4.1 - IL_00bd: ret - IL_00be: ldarga.s 1 - IL_00c0: call instance bool valuetype NDesk.DBus.Signature::get_IsArray() - IL_00c5: brfalse IL_0104 - - IL_00ca: ldarga.s 1 - IL_00cc: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetElementSignature() - IL_00d1: stloc.s 4 - IL_00d3: ldarg.0 - IL_00d4: call instance unsigned int32 class NDesk.DBus.MessageReader::ReadUInt32() - IL_00d9: stloc.s 5 - IL_00db: ldarg.0 - IL_00dc: ldarg.0 - IL_00dd: ldfld int32 NDesk.DBus.MessageReader::pos - IL_00e2: ldloca.s 4 - IL_00e4: call instance int32 valuetype NDesk.DBus.Signature::get_Alignment() - IL_00e9: call int32 class NDesk.DBus.Protocol::Padded(int32, int32) - IL_00ee: stfld int32 NDesk.DBus.MessageReader::pos - IL_00f3: ldarg.0 - IL_00f4: dup - IL_00f5: ldfld int32 NDesk.DBus.MessageReader::pos - IL_00fa: ldloc.s 5 - IL_00fc: add - IL_00fd: stfld int32 NDesk.DBus.MessageReader::pos - IL_0102: ldc.i4.1 - IL_0103: ret - IL_0104: ldarg.0 - IL_0105: ldfld int32 NDesk.DBus.MessageReader::pos - IL_010a: stloc.s 6 - IL_010c: ldarga.s 1 - IL_010e: ldloca.s 6 - IL_0110: call instance bool valuetype NDesk.DBus.Signature::GetFixedSize([out] int32&) - IL_0115: brfalse IL_0124 - - IL_011a: ldarg.0 - IL_011b: ldloc.s 6 - IL_011d: stfld int32 NDesk.DBus.MessageReader::pos - IL_0122: ldc.i4.1 - IL_0123: ret - IL_0124: ldarga.s 1 - IL_0126: call instance bool valuetype NDesk.DBus.Signature::get_IsDictEntry() - IL_012b: brfalse IL_0173 - - IL_0130: ldarg.0 - IL_0131: ldarg.0 - IL_0132: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0137: ldarga.s 1 - IL_0139: call instance int32 valuetype NDesk.DBus.Signature::get_Alignment() - IL_013e: call int32 class NDesk.DBus.Protocol::Padded(int32, int32) - IL_0143: stfld int32 NDesk.DBus.MessageReader::pos - IL_0148: ldarga.s 1 - IL_014a: ldloca.s 7 - IL_014c: ldloca.s 8 - IL_014e: call instance void valuetype NDesk.DBus.Signature::GetDictEntrySignatures([out] valuetype NDesk.DBus.Signature&, [out] valuetype NDesk.DBus.Signature&) - IL_0153: ldarg.0 - IL_0154: ldloc.s 7 - IL_0156: call instance bool class NDesk.DBus.MessageReader::StepOver(valuetype NDesk.DBus.Signature) - IL_015b: brtrue IL_0162 - - IL_0160: ldc.i4.0 - IL_0161: ret - IL_0162: ldarg.0 - IL_0163: ldloc.s 8 - IL_0165: call instance bool class NDesk.DBus.MessageReader::StepOver(valuetype NDesk.DBus.Signature) - IL_016a: brtrue IL_0171 - - IL_016f: ldc.i4.0 - IL_0170: ret - IL_0171: ldc.i4.1 - IL_0172: ret - IL_0173: ldarga.s 1 - IL_0175: call instance bool valuetype NDesk.DBus.Signature::get_IsStruct() - IL_017a: brfalse IL_01ea - - IL_017f: ldarg.0 - IL_0180: ldarg.0 - IL_0181: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0186: ldarga.s 1 - IL_0188: call instance int32 valuetype NDesk.DBus.Signature::get_Alignment() - IL_018d: call int32 class NDesk.DBus.Protocol::Padded(int32, int32) - IL_0192: stfld int32 NDesk.DBus.MessageReader::pos - IL_0197: ldarga.s 1 - IL_0199: call instance class [mscorlib]System.Collections.Generic.IEnumerable`1 valuetype NDesk.DBus.Signature::GetFieldSignatures() - IL_019e: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() - IL_01a3: stloc.s 10 - .try { // 0 - IL_01a5: br IL_01c8 - - IL_01aa: ldloc.s 10 - IL_01ac: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_01b1: stloc.s 9 - IL_01b3: ldarg.0 - IL_01b4: ldloc.s 9 - IL_01b6: call instance bool class NDesk.DBus.MessageReader::StepOver(valuetype NDesk.DBus.Signature) - IL_01bb: brtrue IL_01c8 - - IL_01c0: ldc.i4.0 - IL_01c1: stloc.s 11 - IL_01c3: leave IL_0205 + IL_0018: ldfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.Authentication.AuthCommand::Args + IL_001d: ldarg.1 + IL_001e: callvirt instance !0 class [mscorlib]System.Collections.Generic.List`1::get_Item(int32) + IL_0023: ret + } // end of method AuthCommand::get_Item - IL_01c8: ldloc.s 10 - IL_01ca: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_01cf: brtrue IL_01aa + .property instance string Item (int32) + { + .get instance default string NDesk.DBus.Authentication.AuthCommand::get_Item (int32 index) + } + } // end of class NDesk.DBus.Authentication.AuthCommand +} - IL_01d4: leave IL_01e8 +.namespace NDesk.DBus.Authentication +{ + .class private auto ansi beforefieldinit SaslPeer + extends [mscorlib]System.Object + implements class [mscorlib]System.Collections.Generic.IEnumerable`1, [mscorlib]System.Collections.IEnumerable { + .field public class NDesk.DBus.Authentication.SaslPeer Peer + .field public class [mscorlib]System.IO.Stream 'stream' + .field public bool UseConsole + .field assembly bool isFinalRead - } // end .try 0 - finally { // 0 - IL_01d9: ldloc.s 10 - IL_01db: brfalse IL_01e7 + // method line 1150 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x10ca6 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method SaslPeer::.ctor - IL_01e0: ldloc.s 10 - IL_01e2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01e7: endfinally - } // end handler 0 - IL_01e8: ldc.i4.1 - IL_01e9: ret - IL_01ea: ldstr "Can't step over '" - IL_01ef: ldarg.1 - IL_01f0: box NDesk.DBus.Signature - IL_01f5: ldstr "'" - IL_01fa: call string string::Concat(object, object, object) - IL_01ff: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0204: throw - IL_0205: ldloc.s 11 - IL_0207: ret - } // end of method MessageReader::StepOver + // method line 1151 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed + { + // Method begins at RVA 0x10cae + .override class [mscorlib]System.Collections.IEnumerable::GetEnumerator + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class NDesk.DBus.Authentication.SaslPeer::GetEnumerator() + IL_0006: ret + } // end of method SaslPeer::System.Collections.IEnumerable.GetEnumerator - // method line 1150 - .method public hidebysig - instance default class [mscorlib]System.Collections.Generic.IEnumerable`1 StepInto (valuetype NDesk.DBus.Signature sig) cil managed + // method line 1152 + .method public virtual hidebysig newslot + instance default class [mscorlib]System.Collections.Generic.IEnumerator`1 GetEnumerator () cil managed { .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - // Method begins at RVA 0x10b6c - // Code size 30 (0x1e) - .maxstack 3 + // Method begins at RVA 0x10cb8 + // Code size 15 (0xf) + .maxstack 2 .locals init ( - class NDesk.DBus.MessageReader/'c__Iterator0' V_0) - IL_0000: newobj instance void class NDesk.DBus.MessageReader/'c__Iterator0'::'.ctor'() + class NDesk.DBus.Authentication.SaslPeer/'c__Iterator0' V_0) + IL_0000: newobj instance void class NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'.ctor'() IL_0005: stloc.0 IL_0006: ldloc.0 - IL_0007: ldarg.1 - IL_0008: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig + IL_0007: ldarg.0 + IL_0008: stfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$this IL_000d: ldloc.0 - IL_000e: ldarg.0 - IL_000f: stfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this - IL_0014: ldloc.0 - IL_0015: dup - IL_0016: ldc.i4.s 0xfffffffe - IL_0018: stfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC - IL_001d: ret - } // end of method MessageReader::StepInto + IL_000e: ret + } // end of method SaslPeer::GetEnumerator - // method line 1151 + // method line 1153 .method public hidebysig - instance default object ReadValue (class [mscorlib]System.Type 'type') cil managed + instance default bool Authenticate () cil managed { - // Method begins at RVA 0x10b98 - // Code size 345 (0x159) - .maxstack 4 + // Method begins at RVA 0x10cd3 + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.0 + IL_0002: callvirt instance bool class NDesk.DBus.Authentication.SaslPeer::Run(class [mscorlib]System.Collections.Generic.IEnumerable`1) + IL_0007: ret + } // end of method SaslPeer::Authenticate + + // method line 1154 + .method public hidebysig + instance default bool AuthenticateSelf () cil managed + { + // Method begins at RVA 0x10cdc + // Code size 53 (0x35) + .maxstack 2 .locals init ( - class [mscorlib]System.Type[] V_0, - class [mscorlib]System.Type V_1, - class [mscorlib]System.Collections.IDictionary V_2, - object V_3, - valuetype NDesk.DBus.DType V_4) - IL_0000: ldarg.1 - IL_0001: ldtoken [mscorlib]System.Void - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0010: brfalse IL_0017 + class [mscorlib]System.Collections.Generic.IEnumerator`1 V_0) + IL_0000: ldarg.0 + IL_0001: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class NDesk.DBus.Authentication.SaslPeer::GetEnumerator() + IL_0006: stloc.0 + IL_0007: br IL_0028 - IL_0015: ldnull - IL_0016: ret - IL_0017: ldarg.1 - IL_0018: callvirt instance bool class [mscorlib]System.Type::get_IsArray() - IL_001d: brfalse IL_002f + IL_000c: ldloc.0 + IL_000d: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + IL_0012: ldfld string NDesk.DBus.Authentication.AuthCommand::Value + IL_0017: ldstr "BEGIN" + IL_001c: call bool string::op_Equality(string, string) + IL_0021: brfalse IL_0028 - IL_0022: ldarg.0 - IL_0023: ldarg.1 - IL_0024: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() - IL_0029: call instance class [mscorlib]System.Array class NDesk.DBus.MessageReader::ReadArray(class [mscorlib]System.Type) - IL_002e: ret - IL_002f: ldarg.1 - IL_0030: ldtoken NDesk.DBus.ObjectPath - IL_0035: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_003a: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_003f: brfalse IL_004b + IL_0026: ldc.i4.1 + IL_0027: ret + IL_0028: ldloc.0 + IL_0029: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_002e: brtrue IL_000c - IL_0044: ldarg.0 - IL_0045: call instance class NDesk.DBus.ObjectPath class NDesk.DBus.MessageReader::ReadObjectPath() - IL_004a: ret - IL_004b: ldarg.1 - IL_004c: ldtoken NDesk.DBus.Signature - IL_0051: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0056: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_005b: brfalse IL_006c + IL_0033: ldc.i4.0 + IL_0034: ret + } // end of method SaslPeer::AuthenticateSelf - IL_0060: ldarg.0 - IL_0061: call instance valuetype NDesk.DBus.Signature class NDesk.DBus.MessageReader::ReadSignature() - IL_0066: box NDesk.DBus.Signature - IL_006b: ret - IL_006c: ldarg.1 - IL_006d: ldtoken [mscorlib]System.Object - IL_0072: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0077: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_007c: brfalse IL_0088 + // method line 1155 + .method public virtual hidebysig newslot + instance default bool Run (class [mscorlib]System.Collections.Generic.IEnumerable`1 commands) cil managed + { + // Method begins at RVA 0x10d20 + // Code size 143 (0x8f) + .maxstack 2 + .locals init ( + class [mscorlib]System.IO.TextWriter V_0, + class NDesk.DBus.Authentication.AuthCommand V_1, + class [mscorlib]System.Collections.Generic.IEnumerator`1 V_2, + bool V_3) + IL_0000: ldarg.0 + IL_0001: ldfld bool NDesk.DBus.Authentication.SaslPeer::UseConsole + IL_0006: brfalse IL_0015 - IL_0081: ldarg.0 - IL_0082: call instance object class NDesk.DBus.MessageReader::ReadVariant() - IL_0087: ret - IL_0088: ldarg.1 - IL_0089: ldtoken [mscorlib]System.String - IL_008e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0093: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0098: brfalse IL_00a4 + IL_000b: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Out() + IL_0010: br IL_0025 - IL_009d: ldarg.0 - IL_009e: call instance string class NDesk.DBus.MessageReader::ReadString() - IL_00a3: ret - IL_00a4: ldarg.1 - IL_00a5: callvirt instance bool class [mscorlib]System.Type::get_IsGenericType() - IL_00aa: brfalse IL_0102 + IL_0015: ldarg.0 + IL_0016: ldfld class [mscorlib]System.IO.Stream NDesk.DBus.Authentication.SaslPeer::'stream' + IL_001b: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_ASCII() + IL_0020: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(class [mscorlib]System.IO.Stream, class [mscorlib]System.Text.Encoding) + IL_0025: stloc.0 + IL_0026: ldarg.0 + IL_0027: ldfld bool NDesk.DBus.Authentication.SaslPeer::UseConsole + IL_002c: brtrue IL_003c - IL_00af: ldarg.1 - IL_00b0: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetGenericTypeDefinition() - IL_00b5: ldtoken [mscorlib]System.Collections.Generic.IDictionary`2 - IL_00ba: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00bf: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_00c4: brfalse IL_0102 + IL_0031: ldloc.0 + IL_0032: ldstr "\r\n" + IL_0037: callvirt instance void class [mscorlib]System.IO.TextWriter::set_NewLine(string) + IL_003c: ldarg.1 + IL_003d: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() + IL_0042: stloc.2 + .try { // 0 + IL_0043: br IL_006e - IL_00c9: ldarg.1 - IL_00ca: callvirt instance class [mscorlib]System.Type[] class [mscorlib]System.Type::GetGenericArguments() - IL_00cf: stloc.0 - IL_00d0: ldtoken [mscorlib]System.Collections.Generic.Dictionary`2 - IL_00d5: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00da: ldloc.0 - IL_00db: call class [mscorlib]System.Type class NDesk.DBus.Mapper::GetGenericType(class [mscorlib]System.Type, class [mscorlib]System.Type[]) - IL_00e0: stloc.1 - IL_00e1: ldloc.1 - IL_00e2: ldc.i4.0 - IL_00e3: newarr [mscorlib]System.Object - IL_00e8: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type, object[]) - IL_00ed: castclass [mscorlib]System.Collections.IDictionary - IL_00f2: stloc.2 - IL_00f3: ldarg.0 - IL_00f4: ldloc.0 - IL_00f5: ldc.i4.0 - IL_00f6: ldelem.ref - IL_00f7: ldloc.0 - IL_00f8: ldc.i4.1 - IL_00f9: ldelem.ref - IL_00fa: ldloc.2 - IL_00fb: call instance void class NDesk.DBus.MessageReader::GetValueToDict(class [mscorlib]System.Type, class [mscorlib]System.Type, class [mscorlib]System.Collections.IDictionary) - IL_0100: ldloc.2 - IL_0101: ret - IL_0102: ldarg.1 - IL_0103: call bool class NDesk.DBus.Mapper::IsPublic(class [mscorlib]System.Type) - IL_0108: brfalse IL_0115 + IL_0048: ldloc.2 + IL_0049: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + IL_004e: stloc.1 + IL_004f: ldloc.1 + IL_0050: brtrue IL_005c - IL_010d: ldarg.0 - IL_010e: ldarg.1 - IL_010f: call instance object class NDesk.DBus.MessageReader::GetObject(class [mscorlib]System.Type) - IL_0114: ret - IL_0115: ldarg.1 - IL_0116: callvirt instance bool class [mscorlib]System.Type::get_IsPrimitive() - IL_011b: brtrue IL_0133 + IL_0055: ldc.i4.0 + IL_0056: stloc.3 + IL_0057: leave IL_008d - IL_0120: ldarg.1 - IL_0121: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() - IL_0126: brtrue IL_0133 + IL_005c: ldloc.0 + IL_005d: ldloc.1 + IL_005e: ldfld string NDesk.DBus.Authentication.AuthCommand::Value + IL_0063: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0068: ldloc.0 + IL_0069: callvirt instance void class [mscorlib]System.IO.TextWriter::Flush() + IL_006e: ldloc.2 + IL_006f: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0074: brtrue IL_0048 - IL_012b: ldarg.0 - IL_012c: ldarg.1 - IL_012d: call instance object class NDesk.DBus.MessageReader::ReadStruct(class [mscorlib]System.Type) - IL_0132: ret - IL_0133: ldarg.1 - IL_0134: call valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::TypeToDType(class [mscorlib]System.Type) - IL_0139: stloc.s 4 - IL_013b: ldarg.0 - IL_013c: ldloc.s 4 - IL_013e: call instance object class NDesk.DBus.MessageReader::ReadValue(valuetype NDesk.DBus.DType) - IL_0143: stloc.3 - IL_0144: ldarg.1 - IL_0145: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() - IL_014a: brfalse IL_0157 + IL_0079: leave IL_008b - IL_014f: ldarg.1 - IL_0150: ldloc.3 - IL_0151: call object class [mscorlib]System.Enum::ToObject(class [mscorlib]System.Type, object) - IL_0156: stloc.3 - IL_0157: ldloc.3 - IL_0158: ret - } // end of method MessageReader::ReadValue + } // end .try 0 + finally { // 0 + IL_007e: ldloc.2 + IL_007f: brfalse IL_008a - // method line 1152 - .method public hidebysig - instance default object ReadValue (valuetype NDesk.DBus.DType dtype) cil managed - { - // Method begins at RVA 0x10d00 - // Code size 278 (0x116) - .maxstack 2 - IL_0000: ldarg.1 - IL_0001: ldc.i4.s 0x6e - IL_0003: sub - IL_0004: switch ( - IL_007f, - IL_00e6, - IL_0039, - IL_008b, - IL_0039, - IL_00df, - IL_00bb, - IL_00a3, - IL_00f9, - IL_0039, - IL_00af, - IL_0067) - IL_0039: ldarg.1 - IL_003a: ldc.i4.s 0x62 - IL_003c: sub - IL_003d: switch ( - IL_0073, - IL_0100, - IL_00d3, - IL_0100, - IL_00c7, - IL_00ed, - IL_0100, - IL_0097) - IL_0062: br IL_0100 + IL_0084: ldloc.2 + IL_0085: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_008a: endfinally + } // end handler 0 + IL_008b: ldc.i4.1 + IL_008c: ret + IL_008d: ldloc.3 + IL_008e: ret + } // end of method SaslPeer::Run - IL_0067: ldarg.0 - IL_0068: call instance unsigned int8 class NDesk.DBus.MessageReader::ReadByte() - IL_006d: box [mscorlib]System.Byte - IL_0072: ret - IL_0073: ldarg.0 - IL_0074: call instance bool class NDesk.DBus.MessageReader::ReadBoolean() - IL_0079: box [mscorlib]System.Boolean - IL_007e: ret - IL_007f: ldarg.0 - IL_0080: call instance int16 class NDesk.DBus.MessageReader::ReadInt16() - IL_0085: box [mscorlib]System.Int16 - IL_008a: ret - IL_008b: ldarg.0 - IL_008c: call instance unsigned int16 class NDesk.DBus.MessageReader::ReadUInt16() - IL_0091: box [mscorlib]System.UInt16 - IL_0096: ret - IL_0097: ldarg.0 - IL_0098: call instance int32 class NDesk.DBus.MessageReader::ReadInt32() - IL_009d: box [mscorlib]System.Int32 - IL_00a2: ret - IL_00a3: ldarg.0 - IL_00a4: call instance unsigned int32 class NDesk.DBus.MessageReader::ReadUInt32() - IL_00a9: box [mscorlib]System.UInt32 - IL_00ae: ret - IL_00af: ldarg.0 - IL_00b0: call instance int64 class NDesk.DBus.MessageReader::ReadInt64() - IL_00b5: box [mscorlib]System.Int64 - IL_00ba: ret - IL_00bb: ldarg.0 - IL_00bc: call instance unsigned int64 class NDesk.DBus.MessageReader::ReadUInt64() - IL_00c1: box [mscorlib]System.UInt64 - IL_00c6: ret - IL_00c7: ldarg.0 - IL_00c8: call instance float32 class NDesk.DBus.MessageReader::ReadSingle() - IL_00cd: box [mscorlib]System.Single - IL_00d2: ret - IL_00d3: ldarg.0 - IL_00d4: call instance float64 class NDesk.DBus.MessageReader::ReadDouble() - IL_00d9: box [mscorlib]System.Double - IL_00de: ret - IL_00df: ldarg.0 - IL_00e0: call instance string class NDesk.DBus.MessageReader::ReadString() - IL_00e5: ret - IL_00e6: ldarg.0 - IL_00e7: call instance class NDesk.DBus.ObjectPath class NDesk.DBus.MessageReader::ReadObjectPath() - IL_00ec: ret - IL_00ed: ldarg.0 - IL_00ee: call instance valuetype NDesk.DBus.Signature class NDesk.DBus.MessageReader::ReadSignature() - IL_00f3: box NDesk.DBus.Signature - IL_00f8: ret - IL_00f9: ldarg.0 - IL_00fa: call instance object class NDesk.DBus.MessageReader::ReadVariant() - IL_00ff: ret - IL_0100: ldstr "Unhandled D-Bus type: " - IL_0105: ldarg.1 - IL_0106: box NDesk.DBus.DType - IL_010b: call string string::Concat(object, object) - IL_0110: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0115: throw - } // end of method MessageReader::ReadValue + .class nested private auto ansi sealed beforefieldinit 'c__Iterator0' + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator, [mscorlib]System.IDisposable, class [mscorlib]System.Collections.Generic.IEnumerator`1 { + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 1153 - .method public hidebysig - instance default object GetObject (class [mscorlib]System.Type 'type') cil managed - { - // Method begins at RVA 0x10e24 - // Code size 48 (0x30) - .maxstack 4 - .locals init ( - class NDesk.DBus.ObjectPath V_0) - IL_0000: ldarg.0 - IL_0001: call instance class NDesk.DBus.ObjectPath class NDesk.DBus.MessageReader::ReadObjectPath() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldfld class NDesk.DBus.Message NDesk.DBus.MessageReader::message - IL_000d: ldfld class NDesk.DBus.Connection NDesk.DBus.Message::Connection - IL_0012: ldarg.1 - IL_0013: ldarg.0 - IL_0014: ldfld class NDesk.DBus.Message NDesk.DBus.MessageReader::message - IL_0019: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_001e: ldc.i4.7 - IL_001f: callvirt instance object class NDesk.DBus.Header::get_Item(valuetype NDesk.DBus.FieldCode) - IL_0024: castclass [mscorlib]System.String - IL_0029: ldloc.0 - IL_002a: callvirt instance object class NDesk.DBus.Connection::GetObject(class [mscorlib]System.Type, string, class NDesk.DBus.ObjectPath) - IL_002f: ret - } // end of method MessageReader::GetObject + .field assembly class [mscorlib]System.IO.TextReader '__0' + .field assembly bool '__1' + .field assembly string '__2' + .field assembly class NDesk.DBus.Authentication.SaslPeer $this + .field assembly class NDesk.DBus.Authentication.AuthCommand $current + .field assembly bool $disposing + .field assembly int32 $PC - // method line 1154 - .method public hidebysig - instance default unsigned int8 ReadByte () cil managed + // method line 1352 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x10e60 - // Code size 25 (0x19) - .maxstack 4 - .locals init ( - int32 V_0) + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x10dcc + // Code size 7 (0x7) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld unsigned int8[] NDesk.DBus.MessageReader::data - IL_0006: ldarg.0 - IL_0007: dup - IL_0008: ldfld int32 NDesk.DBus.MessageReader::pos - IL_000d: dup - IL_000e: stloc.0 - IL_000f: ldc.i4.1 - IL_0010: add - IL_0011: stfld int32 NDesk.DBus.MessageReader::pos - IL_0016: ldloc.0 - IL_0017: ldelem.u1 - IL_0018: ret - } // end of method MessageReader::ReadByte + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method c__Iterator0::.ctor - // method line 1155 - .method public hidebysig - instance default bool ReadBoolean () cil managed + // method line 1353 + .method public final virtual hidebysig newslot + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x10e88 - // Code size 93 (0x5d) - .maxstack 4 + // Method begins at RVA 0x10dd4 + // Code size 365 (0x16d) + .maxstack 3 .locals init ( - unsigned int32 V_0) + unsigned int32 V_0, + class [mscorlib]System.Text.StringBuilder V_1, + int32 V_2, + int32 V_3) IL_0000: ldarg.0 - IL_0001: call instance unsigned int32 class NDesk.DBus.MessageReader::ReadUInt32() + IL_0001: ldfld int32 NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$PC IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: brfalse IL_0019 + IL_0007: ldarg.0 + IL_0008: ldc.i4.m1 + IL_0009: stfld int32 NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$PC + IL_000e: ldloc.0 + IL_000f: switch ( + IL_0021, + IL_014d) + IL_001c: br IL_0169 - IL_000d: ldloc.0 - IL_000e: ldc.i4.1 - IL_000f: beq IL_001b + IL_0021: ldarg.0 + IL_0022: ldarg.0 + IL_0023: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$this + IL_0028: ldfld bool NDesk.DBus.Authentication.SaslPeer::UseConsole + IL_002d: brfalse IL_003c - IL_0014: br IL_001d + IL_0032: call class [mscorlib]System.IO.TextReader class [mscorlib]System.Console::get_In() + IL_0037: br IL_0051 - IL_0019: ldc.i4.0 - IL_001a: ret - IL_001b: ldc.i4.1 - IL_001c: ret - IL_001d: ldc.i4.5 - IL_001e: newarr [mscorlib]System.Object - IL_0023: dup - IL_0024: ldc.i4.0 - IL_0025: ldstr "Read value " - IL_002a: stelem.ref - IL_002b: dup - IL_002c: ldc.i4.1 - IL_002d: ldloc.0 - IL_002e: box [mscorlib]System.UInt32 - IL_0033: stelem.ref - IL_0034: dup - IL_0035: ldc.i4.2 - IL_0036: ldstr " at position " - IL_003b: stelem.ref - IL_003c: dup - IL_003d: ldc.i4.3 - IL_003e: ldarg.0 - IL_003f: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0044: box [mscorlib]System.Int32 - IL_0049: stelem.ref - IL_004a: dup - IL_004b: ldc.i4.4 - IL_004c: ldstr " while expecting boolean (0/1)" - IL_0051: stelem.ref - IL_0052: call string string::Concat(object[]) - IL_0057: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_005c: throw - } // end of method MessageReader::ReadBoolean + IL_003c: ldarg.0 + IL_003d: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$this + IL_0042: ldfld class [mscorlib]System.IO.Stream NDesk.DBus.Authentication.SaslPeer::'stream' + IL_0047: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_ASCII() + IL_004c: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(class [mscorlib]System.IO.Stream, class [mscorlib]System.Text.Encoding) + IL_0051: stfld class [mscorlib]System.IO.TextReader NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'__0' + IL_0056: ldarg.0 + IL_0057: ldc.i4.0 + IL_0058: stfld bool NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'__1' + IL_005d: ldarg.0 + IL_005e: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$this + IL_0063: ldfld bool NDesk.DBus.Authentication.SaslPeer::UseConsole + IL_0068: brtrue IL_00f2 - // method line 1156 - .method family hidebysig - instance default void MarshalUShort (void* dstPtr) cil managed - { - // Method begins at RVA 0x10ef4 - // Code size 136 (0x88) - .maxstack 4 - .locals init ( - unsigned int8& pinned V_0, - unsigned int8* V_1) - IL_0000: ldarg.0 - IL_0001: ldc.i4.2 - IL_0002: call instance void class NDesk.DBus.MessageReader::ReadPad(int32) - IL_0007: ldarg.0 - IL_0008: ldfld unsigned int8[] NDesk.DBus.MessageReader::data - IL_000d: ldlen - IL_000e: conv.i4 - IL_000f: ldarg.0 - IL_0010: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0015: ldc.i4.2 - IL_0016: add - IL_0017: bge IL_0027 + IL_006d: ldarg.0 + IL_006e: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$this + IL_0073: ldfld bool NDesk.DBus.Authentication.SaslPeer::isFinalRead + IL_0078: brfalse IL_00f2 - IL_001c: ldstr "Cannot read beyond end of data" - IL_0021: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0026: throw - IL_0027: ldarg.0 - IL_0028: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.MessageReader::endianness - IL_002d: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness - IL_0032: bne.un IL_0055 + IL_007d: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0082: stloc.1 + IL_0083: ldarg.0 + IL_0084: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$this + IL_0089: ldfld class [mscorlib]System.IO.Stream NDesk.DBus.Authentication.SaslPeer::'stream' + IL_008e: callvirt instance int32 class [mscorlib]System.IO.Stream::ReadByte() + IL_0093: stloc.2 + IL_0094: ldloc.2 + IL_0095: ldc.i4.m1 + IL_0096: bne.un IL_00a7 - IL_0037: ldarg.0 - IL_0038: ldfld unsigned int8[] NDesk.DBus.MessageReader::data - IL_003d: ldarg.0 - IL_003e: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0043: ldelema [mscorlib]System.Byte - IL_0048: stloc.0 - IL_0049: ldarg.1 - IL_004a: ldloc.0 - IL_004b: ldind.u2 - IL_004c: stind.i2 - IL_004d: ldc.i4.0 - IL_004e: conv.u - IL_004f: stloc.0 - IL_0050: br IL_0079 + IL_009b: ldarg.0 + IL_009c: ldc.i4.1 + IL_009d: stfld bool NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'__1' + IL_00a2: br IL_00e1 - IL_0055: ldarg.1 - IL_0056: stloc.1 - IL_0057: ldloc.1 - IL_0058: ldarg.0 - IL_0059: ldfld unsigned int8[] NDesk.DBus.MessageReader::data - IL_005e: ldarg.0 - IL_005f: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0064: ldc.i4.1 - IL_0065: add - IL_0066: ldelem.u1 - IL_0067: stind.i1 - IL_0068: ldloc.1 - IL_0069: ldc.i4.1 - IL_006a: add - IL_006b: ldarg.0 - IL_006c: ldfld unsigned int8[] NDesk.DBus.MessageReader::data - IL_0071: ldarg.0 - IL_0072: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0077: ldelem.u1 - IL_0078: stind.i1 - IL_0079: ldarg.0 - IL_007a: dup - IL_007b: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0080: ldc.i4.2 - IL_0081: add - IL_0082: stfld int32 NDesk.DBus.MessageReader::pos - IL_0087: ret - } // end of method MessageReader::MarshalUShort + IL_00a7: ldloc.2 + IL_00a8: ldc.i4.s 0x0d + IL_00aa: bne.un IL_00d3 - // method line 1157 - .method public hidebysig - instance default int16 ReadInt16 () cil managed - { - // Method begins at RVA 0x10f88 - // Code size 10 (0xa) - .maxstack 2 - .locals init ( - int16 V_0) - IL_0000: ldarg.0 - IL_0001: ldloca.s 0 - IL_0003: call instance void class NDesk.DBus.MessageReader::MarshalUShort(void*) - IL_0008: ldloc.0 - IL_0009: ret - } // end of method MessageReader::ReadInt16 + IL_00af: ldarg.0 + IL_00b0: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$this + IL_00b5: ldfld class [mscorlib]System.IO.Stream NDesk.DBus.Authentication.SaslPeer::'stream' + IL_00ba: callvirt instance int32 class [mscorlib]System.IO.Stream::ReadByte() + IL_00bf: stloc.3 + IL_00c0: ldloc.3 + IL_00c1: ldc.i4.s 0x0a + IL_00c3: beq IL_00ce - // method line 1158 - .method public hidebysig - instance default unsigned int16 ReadUInt16 () cil managed - { - // Method begins at RVA 0x10fa0 - // Code size 10 (0xa) - .maxstack 2 - .locals init ( - unsigned int16 V_0) - IL_0000: ldarg.0 - IL_0001: ldloca.s 0 - IL_0003: call instance void class NDesk.DBus.MessageReader::MarshalUShort(void*) - IL_0008: ldloc.0 - IL_0009: ret - } // end of method MessageReader::ReadUInt16 + IL_00c8: newobj instance void class [mscorlib]System.Exception::'.ctor'() + IL_00cd: throw + IL_00ce: br IL_00e1 - // method line 1159 - .method family hidebysig - instance default void MarshalUInt (void* dstPtr) cil managed - { - // Method begins at RVA 0x10fb8 - // Code size 174 (0xae) - .maxstack 4 - .locals init ( - unsigned int8& pinned V_0, - unsigned int8* V_1) - IL_0000: ldarg.0 - IL_0001: ldc.i4.4 - IL_0002: call instance void class NDesk.DBus.MessageReader::ReadPad(int32) - IL_0007: ldarg.0 - IL_0008: ldfld unsigned int8[] NDesk.DBus.MessageReader::data - IL_000d: ldlen - IL_000e: conv.i4 - IL_000f: ldarg.0 - IL_0010: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0015: ldc.i4.4 - IL_0016: add - IL_0017: bge IL_0027 + IL_00d3: ldloc.1 + IL_00d4: ldloc.2 + IL_00d5: conv.u2 + IL_00d6: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_00db: pop + IL_00dc: br IL_0083 - IL_001c: ldstr "Cannot read beyond end of data" - IL_0021: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0026: throw - IL_0027: ldarg.0 - IL_0028: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.MessageReader::endianness - IL_002d: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness - IL_0032: bne.un IL_0055 + IL_00e1: ldarg.0 + IL_00e2: ldloc.1 + IL_00e3: callvirt instance string object::ToString() + IL_00e8: stfld string NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'__2' + IL_00ed: br IL_0103 - IL_0037: ldarg.0 - IL_0038: ldfld unsigned int8[] NDesk.DBus.MessageReader::data - IL_003d: ldarg.0 - IL_003e: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0043: ldelema [mscorlib]System.Byte - IL_0048: stloc.0 - IL_0049: ldarg.1 - IL_004a: ldloc.0 - IL_004b: ldind.u4 - IL_004c: stind.i4 - IL_004d: ldc.i4.0 - IL_004e: conv.u - IL_004f: stloc.0 - IL_0050: br IL_009f + IL_00f2: ldarg.0 + IL_00f3: ldarg.0 + IL_00f4: ldfld class [mscorlib]System.IO.TextReader NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'__0' + IL_00f9: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_00fe: stfld string NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'__2' + IL_0103: ldarg.0 + IL_0104: ldfld string NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'__2' + IL_0109: brtrue IL_0113 - IL_0055: ldarg.1 - IL_0056: stloc.1 - IL_0057: ldloc.1 - IL_0058: ldarg.0 - IL_0059: ldfld unsigned int8[] NDesk.DBus.MessageReader::data - IL_005e: ldarg.0 - IL_005f: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0064: ldc.i4.3 - IL_0065: add - IL_0066: ldelem.u1 - IL_0067: stind.i1 - IL_0068: ldloc.1 - IL_0069: ldc.i4.1 - IL_006a: add - IL_006b: ldarg.0 - IL_006c: ldfld unsigned int8[] NDesk.DBus.MessageReader::data - IL_0071: ldarg.0 - IL_0072: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0077: ldc.i4.2 - IL_0078: add - IL_0079: ldelem.u1 - IL_007a: stind.i1 - IL_007b: ldloc.1 - IL_007c: ldc.i4.2 - IL_007d: add - IL_007e: ldarg.0 - IL_007f: ldfld unsigned int8[] NDesk.DBus.MessageReader::data - IL_0084: ldarg.0 - IL_0085: ldfld int32 NDesk.DBus.MessageReader::pos - IL_008a: ldc.i4.1 - IL_008b: add - IL_008c: ldelem.u1 - IL_008d: stind.i1 - IL_008e: ldloc.1 - IL_008f: ldc.i4.3 - IL_0090: add - IL_0091: ldarg.0 - IL_0092: ldfld unsigned int8[] NDesk.DBus.MessageReader::data - IL_0097: ldarg.0 - IL_0098: ldfld int32 NDesk.DBus.MessageReader::pos - IL_009d: ldelem.u1 - IL_009e: stind.i1 - IL_009f: ldarg.0 - IL_00a0: dup - IL_00a1: ldfld int32 NDesk.DBus.MessageReader::pos - IL_00a6: ldc.i4.4 - IL_00a7: add - IL_00a8: stfld int32 NDesk.DBus.MessageReader::pos - IL_00ad: ret - } // end of method MessageReader::MarshalUInt + IL_010e: br IL_0169 - // method line 1160 - .method public hidebysig - instance default int32 ReadInt32 () cil managed + IL_0113: ldarg.0 + IL_0114: ldfld string NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'__2' + IL_0119: ldsfld string [mscorlib]System.String::Empty + IL_011e: call bool string::op_Inequality(string, string) + IL_0123: brfalse IL_014d + + IL_0128: ldarg.0 + IL_0129: ldarg.0 + IL_012a: ldfld string NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'__2' + IL_012f: newobj instance void class NDesk.DBus.Authentication.AuthCommand::'.ctor'(string) + IL_0134: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$current + IL_0139: ldarg.0 + IL_013a: ldfld bool NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$disposing + IL_013f: brtrue.s IL_0148 + + IL_0141: ldarg.0 + IL_0142: ldc.i4.1 + IL_0143: stfld int32 NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$PC + IL_0148: br IL_016b + + IL_014d: ldarg.0 + IL_014e: ldfld bool NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'__1' + IL_0153: brfalse IL_015d + + IL_0158: br IL_0169 + + IL_015d: br IL_0056 + + IL_0162: ldarg.0 + IL_0163: ldc.i4.m1 + IL_0164: stfld int32 NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$PC + IL_0169: ldc.i4.0 + IL_016a: ret + IL_016b: ldc.i4.1 + IL_016c: ret + } // end of method c__Iterator0::MoveNext + + // method line 1354 + .method private final virtual hidebysig newslot specialname + instance default class NDesk.DBus.Authentication.AuthCommand 'System.Collections.Generic.IEnumerator.get_Current' () cil managed { - // Method begins at RVA 0x11074 - // Code size 10 (0xa) - .maxstack 2 - .locals init ( - int32 V_0) + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x10f4d + .override method instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + // Code size 7 (0x7) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldloca.s 0 - IL_0003: call instance void class NDesk.DBus.MessageReader::MarshalUInt(void*) - IL_0008: ldloc.0 - IL_0009: ret - } // end of method MessageReader::ReadInt32 + IL_0001: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$current + IL_0006: ret + } // end of method c__Iterator0::System.Collections.Generic.IEnumerator.get_Current - // method line 1161 - .method public hidebysig - instance default unsigned int32 ReadUInt32 () cil managed + // method line 1355 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x1108c - // Code size 10 (0xa) - .maxstack 2 - .locals init ( - unsigned int32 V_0) + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x10f55 + .override class [mscorlib]System.Collections.IEnumerator::get_Current + // Code size 7 (0x7) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldloca.s 0 - IL_0003: call instance void class NDesk.DBus.MessageReader::MarshalUInt(void*) - IL_0008: ldloc.0 - IL_0009: ret - } // end of method MessageReader::ReadUInt32 + IL_0001: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$current + IL_0006: ret + } // end of method c__Iterator0::System.Collections.IEnumerator.get_Current - // method line 1162 - .method family hidebysig - instance default void MarshalULong (void* dstPtr) cil managed + // method line 1356 + .method public final virtual hidebysig newslot + instance default void Dispose () cil managed { - // Method begins at RVA 0x110a4 - // Code size 142 (0x8e) - .maxstack 5 - .locals init ( - unsigned int8& pinned V_0, - unsigned int8* V_1, - int32 V_2) + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x10f5d + // Code size 15 (0xf) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.8 - IL_0002: call instance void class NDesk.DBus.MessageReader::ReadPad(int32) + IL_0001: ldc.i4.1 + IL_0002: stfld bool NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$disposing IL_0007: ldarg.0 - IL_0008: ldfld unsigned int8[] NDesk.DBus.MessageReader::data - IL_000d: ldlen - IL_000e: conv.i4 - IL_000f: ldarg.0 - IL_0010: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0015: ldc.i4.8 - IL_0016: add - IL_0017: bge IL_0027 + IL_0008: ldc.i4.m1 + IL_0009: stfld int32 NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::$PC + IL_000e: ret + } // end of method c__Iterator0::Dispose - IL_001c: ldstr "Cannot read beyond end of data" - IL_0021: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0026: throw - IL_0027: ldarg.0 - IL_0028: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.MessageReader::endianness - IL_002d: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness - IL_0032: bne.un IL_0055 + // method line 1357 + .method public final virtual hidebysig newslot + instance default void Reset () cil managed + { + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0037: ldarg.0 - IL_0038: ldfld unsigned int8[] NDesk.DBus.MessageReader::data - IL_003d: ldarg.0 - IL_003e: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0043: ldelema [mscorlib]System.Byte - IL_0048: stloc.0 - IL_0049: ldarg.1 - IL_004a: ldloc.0 - IL_004b: ldind.i8 - IL_004c: stind.i8 - IL_004d: ldc.i4.0 - IL_004e: conv.u - IL_004f: stloc.0 - IL_0050: br IL_007f + // Method begins at RVA 0x10f6d + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() + IL_0005: throw + } // end of method c__Iterator0::Reset - IL_0055: ldarg.1 - IL_0056: stloc.1 - IL_0057: ldc.i4.0 - IL_0058: stloc.2 - IL_0059: br IL_0078 + .property instance class NDesk.DBus.Authentication.AuthCommand 'System.Collections.Generic.IEnumerator.Current' () + { + .get instance default class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::'System.Collections.Generic.IEnumerator.get_Current' () + } + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NDesk.DBus.Authentication.SaslPeer/'c__Iterator0'::System.Collections.IEnumerator.get_Current () + } + } // end of class c__Iterator0 - IL_005e: ldloc.1 - IL_005f: ldloc.2 - IL_0060: conv.i - IL_0061: add - IL_0062: ldarg.0 - IL_0063: ldfld unsigned int8[] NDesk.DBus.MessageReader::data - IL_0068: ldarg.0 - IL_0069: ldfld int32 NDesk.DBus.MessageReader::pos - IL_006e: ldc.i4.7 - IL_006f: ldloc.2 - IL_0070: sub - IL_0071: add - IL_0072: ldelem.u1 - IL_0073: stind.i1 - IL_0074: ldloc.2 - IL_0075: ldc.i4.1 - IL_0076: add - IL_0077: stloc.2 - IL_0078: ldloc.2 - IL_0079: ldc.i4.8 - IL_007a: blt IL_005e + } // end of class NDesk.DBus.Authentication.SaslPeer +} - IL_007f: ldarg.0 - IL_0080: dup - IL_0081: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0086: ldc.i4.8 - IL_0087: add - IL_0088: stfld int32 NDesk.DBus.MessageReader::pos - IL_008d: ret - } // end of method MessageReader::MarshalULong +.namespace NDesk.DBus.Authentication +{ + .class private auto ansi beforefieldinit SaslClient + extends NDesk.DBus.Authentication.SaslPeer + { + .field public string Identity + .field public valuetype NDesk.DBus.UUID ActualId - // method line 1163 - .method public hidebysig - instance default int64 ReadInt64 () cil managed + // method line 1156 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x11140 - // Code size 10 (0xa) - .maxstack 2 - .locals init ( - int64 V_0) + // Method begins at RVA 0x10f74 + // Code size 29 (0x1d) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldloca.s 0 - IL_0003: call instance void class NDesk.DBus.MessageReader::MarshalULong(void*) - IL_0008: ldloc.0 - IL_0009: ret - } // end of method MessageReader::ReadInt64 + IL_0001: ldsfld string [mscorlib]System.String::Empty + IL_0006: stfld string NDesk.DBus.Authentication.SaslClient::Identity + IL_000b: ldarg.0 + IL_000c: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero + IL_0011: stfld valuetype NDesk.DBus.UUID NDesk.DBus.Authentication.SaslClient::ActualId + IL_0016: ldarg.0 + IL_0017: call instance void class NDesk.DBus.Authentication.SaslPeer::'.ctor'() + IL_001c: ret + } // end of method SaslClient::.ctor - // method line 1164 - .method public hidebysig - instance default unsigned int64 ReadUInt64 () cil managed + // method line 1157 + .method public virtual hidebysig + instance default class [mscorlib]System.Collections.Generic.IEnumerator`1 GetEnumerator () cil managed { - // Method begins at RVA 0x11158 - // Code size 10 (0xa) - .maxstack 2 - .locals init ( - unsigned int64 V_0) - IL_0000: ldarg.0 - IL_0001: ldloca.s 0 - IL_0003: call instance void class NDesk.DBus.MessageReader::MarshalULong(void*) - IL_0008: ldloc.0 - IL_0009: ret - } // end of method MessageReader::ReadUInt64 + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 1165 - .method public hidebysig - instance default float32 ReadSingle () cil managed - { - // Method begins at RVA 0x11170 - // Code size 10 (0xa) + // Method begins at RVA 0x10f94 + // Code size 15 (0xf) .maxstack 2 .locals init ( - float32 V_0) - IL_0000: ldarg.0 - IL_0001: ldloca.s 0 - IL_0003: call instance void class NDesk.DBus.MessageReader::MarshalUInt(void*) - IL_0008: ldloc.0 - IL_0009: ret - } // end of method MessageReader::ReadSingle + class NDesk.DBus.Authentication.SaslClient/'c__Iterator0' V_0) + IL_0000: newobj instance void class NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'.ctor'() + IL_0005: stloc.0 + IL_0006: ldloc.0 + IL_0007: ldarg.0 + IL_0008: stfld class NDesk.DBus.Authentication.SaslClient NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$this + IL_000d: ldloc.0 + IL_000e: ret + } // end of method SaslClient::GetEnumerator - // method line 1166 - .method public hidebysig - instance default float64 ReadDouble () cil managed - { - // Method begins at RVA 0x11188 - // Code size 10 (0xa) - .maxstack 2 - .locals init ( - float64 V_0) - IL_0000: ldarg.0 - IL_0001: ldloca.s 0 - IL_0003: call instance void class NDesk.DBus.MessageReader::MarshalULong(void*) - IL_0008: ldloc.0 - IL_0009: ret - } // end of method MessageReader::ReadDouble + .class nested private auto ansi sealed AuthMech + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NDesk.DBus.Authentication.SaslClient/AuthMech External = int32(0x00000000) + .field public static literal valuetype NDesk.DBus.Authentication.SaslClient/AuthMech Anonymous = int32(0x00000001) + .field public static literal valuetype NDesk.DBus.Authentication.SaslClient/AuthMech None = int32(0x00000002) - // method line 1167 - .method public hidebysig - instance default string ReadString () cil managed - { - // Method begins at RVA 0x111a0 - // Code size 53 (0x35) - .maxstack 4 - .locals init ( - unsigned int32 V_0, - string V_1) - IL_0000: ldarg.0 - IL_0001: call instance unsigned int32 class NDesk.DBus.MessageReader::ReadUInt32() - IL_0006: stloc.0 - IL_0007: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_UTF8() - IL_000c: ldarg.0 - IL_000d: ldfld unsigned int8[] NDesk.DBus.MessageReader::data - IL_0012: ldarg.0 - IL_0013: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0018: ldloc.0 - IL_0019: callvirt instance string class [mscorlib]System.Text.Encoding::GetString(unsigned int8[], int32, int32) - IL_001e: stloc.1 - IL_001f: ldarg.0 - IL_0020: dup - IL_0021: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0026: ldloc.0 - IL_0027: add - IL_0028: stfld int32 NDesk.DBus.MessageReader::pos - IL_002d: ldarg.0 - IL_002e: call instance void class NDesk.DBus.MessageReader::ReadNull() - IL_0033: ldloc.1 - IL_0034: ret - } // end of method MessageReader::ReadString + } // end of class AuthMech - // method line 1168 - .method public hidebysig - instance default class NDesk.DBus.ObjectPath ReadObjectPath () cil managed + .class nested private auto ansi sealed beforefieldinit 'c__Iterator0' + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator, [mscorlib]System.IDisposable, class [mscorlib]System.Collections.Generic.IEnumerator`1 { + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .field assembly class [mscorlib]System.Collections.Generic.IEnumerator`1 '__0' + .field assembly valuetype NDesk.DBus.Authentication.SaslClient/AuthMech '__0' + .field assembly string '__1' + .field assembly unsigned int8[] '__1' + .field assembly string '__1' + .field assembly class NDesk.DBus.Authentication.AuthCommand '__2' + .field assembly class NDesk.DBus.Authentication.SaslClient $this + .field assembly class NDesk.DBus.Authentication.AuthCommand $current + .field assembly bool $disposing + .field assembly int32 $PC + + // method line 1358 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x111e1 - // Code size 12 (0xc) + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x10faf + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance string class NDesk.DBus.MessageReader::ReadString() - IL_0006: newobj instance void class NDesk.DBus.ObjectPath::'.ctor'(string) - IL_000b: ret - } // end of method MessageReader::ReadObjectPath + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method c__Iterator0::.ctor - // method line 1169 - .method public hidebysig - instance default valuetype NDesk.DBus.Signature ReadSignature () cil managed + // method line 1359 + .method public final virtual hidebysig newslot + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x111f0 - // Code size 162 (0xa2) - .maxstack 5 + // Method begins at RVA 0x10fb8 + // Code size 576 (0x240) + .maxstack 3 .locals init ( - unsigned int8 V_0, - valuetype NDesk.DBus.DType V_1, - unsigned int8[] V_2) + unsigned int32 V_0) IL_0000: ldarg.0 - IL_0001: call instance unsigned int8 class NDesk.DBus.MessageReader::ReadByte() + IL_0001: ldfld int32 NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$PC IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldc.i4.1 - IL_0009: bne.un IL_0022 + IL_0007: ldarg.0 + IL_0008: ldc.i4.m1 + IL_0009: stfld int32 NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$PC + IL_000e: ldloc.0 + IL_000f: switch ( + IL_002d, + IL_00cd, + IL_0109, + IL_01b6, + IL_022b) + IL_0028: br IL_023c - IL_000e: ldarg.0 - IL_000f: call instance unsigned int8 class NDesk.DBus.MessageReader::ReadByte() - IL_0014: stloc.1 - IL_0015: ldarg.0 - IL_0016: call instance void class NDesk.DBus.MessageReader::ReadNull() - IL_001b: ldloc.1 - IL_001c: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) - IL_0021: ret - IL_0022: ldloc.0 - IL_0023: ldc.i4 255 - IL_0028: ble.un IL_006c + IL_002d: ldarg.0 + IL_002e: ldarg.0 + IL_002f: ldfld class NDesk.DBus.Authentication.SaslClient NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$this + IL_0034: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer::Peer + IL_0039: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class NDesk.DBus.Authentication.SaslPeer::GetEnumerator() + IL_003e: stfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__0' + IL_0043: ldarg.0 + IL_0044: ldc.i4.0 + IL_0045: stfld valuetype NDesk.DBus.Authentication.SaslClient/AuthMech NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__0' + IL_004a: ldarg.0 + IL_004b: ldfld class NDesk.DBus.Authentication.SaslClient NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$this + IL_0050: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer::Peer + IL_0055: ldc.i4.0 + IL_0056: stfld bool NDesk.DBus.Authentication.SaslPeer::isFinalRead + IL_005b: ldarg.0 + IL_005c: ldfld valuetype NDesk.DBus.Authentication.SaslClient/AuthMech NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__0' + IL_0061: brtrue IL_00d9 - IL_002d: ldc.i4.5 - IL_002e: newarr [mscorlib]System.Object - IL_0033: dup - IL_0034: ldc.i4.0 - IL_0035: ldstr "Signature length " - IL_003a: stelem.ref - IL_003b: dup - IL_003c: ldc.i4.1 - IL_003d: ldloc.0 - IL_003e: box [mscorlib]System.Byte - IL_0043: stelem.ref - IL_0044: dup - IL_0045: ldc.i4.2 - IL_0046: ldstr " exceeds maximum allowed " - IL_004b: stelem.ref - IL_004c: dup - IL_004d: ldc.i4.3 - IL_004e: ldc.i4 255 - IL_0053: box [mscorlib]System.UInt32 - IL_0058: stelem.ref - IL_0059: dup - IL_005a: ldc.i4.4 - IL_005b: ldstr " bytes" - IL_0060: stelem.ref - IL_0061: call string string::Concat(object[]) - IL_0066: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_006b: throw - IL_006c: ldloc.0 - IL_006d: newarr [mscorlib]System.Byte - IL_0072: stloc.2 - IL_0073: ldarg.0 - IL_0074: ldfld unsigned int8[] NDesk.DBus.MessageReader::data - IL_0079: ldarg.0 - IL_007a: ldfld int32 NDesk.DBus.MessageReader::pos - IL_007f: ldloc.2 - IL_0080: ldc.i4.0 - IL_0081: ldloc.0 - IL_0082: call void class [mscorlib]System.Array::Copy(class [mscorlib]System.Array, int32, class [mscorlib]System.Array, int32, int32) - IL_0087: ldarg.0 - IL_0088: dup - IL_0089: ldfld int32 NDesk.DBus.MessageReader::pos - IL_008e: ldloc.0 - IL_008f: add - IL_0090: stfld int32 NDesk.DBus.MessageReader::pos - IL_0095: ldarg.0 - IL_0096: call instance void class NDesk.DBus.MessageReader::ReadNull() - IL_009b: ldloc.2 - IL_009c: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::Take(unsigned int8[]) - IL_00a1: ret - } // end of method MessageReader::ReadSignature + IL_0066: ldarg.0 + IL_0067: ldarg.0 + IL_0068: ldfld class NDesk.DBus.Authentication.SaslClient NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$this + IL_006d: ldfld string NDesk.DBus.Authentication.SaslClient::Identity + IL_0072: stfld string NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__1' + IL_0077: ldarg.0 + IL_0078: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_ASCII() + IL_007d: ldarg.0 + IL_007e: ldfld string NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__1' + IL_0083: callvirt instance unsigned int8[] class [mscorlib]System.Text.Encoding::GetBytes(string) + IL_0088: stfld unsigned int8[] NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__1' + IL_008d: ldarg.0 + IL_008e: ldarg.0 + IL_008f: ldfld unsigned int8[] NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__1' + IL_0094: call string class NDesk.DBus.Authentication.Sasl::ToHex(unsigned int8[]) + IL_0099: stfld string NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__1' + IL_009e: ldarg.0 + IL_009f: ldstr "AUTH EXTERNAL " + IL_00a4: ldarg.0 + IL_00a5: ldfld string NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__1' + IL_00aa: call string string::Concat(string, string) + IL_00af: newobj instance void class NDesk.DBus.Authentication.AuthCommand::'.ctor'(string) + IL_00b4: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$current + IL_00b9: ldarg.0 + IL_00ba: ldfld bool NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$disposing + IL_00bf: brtrue.s IL_00c8 - // method line 1170 - .method public hidebysig - instance default object ReadVariant () cil managed - { - // Method begins at RVA 0x1129e - // Code size 13 (0xd) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.0 - IL_0002: call instance valuetype NDesk.DBus.Signature class NDesk.DBus.MessageReader::ReadSignature() - IL_0007: call instance object class NDesk.DBus.MessageReader::ReadValue(valuetype NDesk.DBus.Signature) - IL_000c: ret - } // end of method MessageReader::ReadVariant + IL_00c1: ldarg.0 + IL_00c2: ldc.i4.1 + IL_00c3: stfld int32 NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$PC + IL_00c8: br IL_023e - // method line 1171 - .method private hidebysig - instance default object ReadValue (valuetype NDesk.DBus.Signature sig) cil managed - { - // Method begins at RVA 0x112ac - // Code size 196 (0xc4) - .maxstack 5 - .locals init ( - class [mscorlib]System.Type V_0, - class [mscorlib]System.NotSupportedException V_1, - int32 V_2, - int32 V_3, - class NDesk.DBus.DValue V_4) - IL_0000: ldarga.s 1 - IL_0002: call instance bool valuetype NDesk.DBus.Signature::get_IsPrimitive() - IL_0007: brfalse IL_001b + IL_00cd: ldarg.0 + IL_00ce: ldc.i4.1 + IL_00cf: stfld valuetype NDesk.DBus.Authentication.SaslClient/AuthMech NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__0' + IL_00d4: br IL_0120 - IL_000c: ldarg.0 - IL_000d: ldarga.s 1 - IL_000f: ldc.i4.0 - IL_0010: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) - IL_0015: call instance object class NDesk.DBus.MessageReader::ReadValue(valuetype NDesk.DBus.DType) - IL_001a: ret - IL_001b: ldnull - IL_001c: stloc.0 - .try { // 0 - IL_001d: ldarga.s 1 - IL_001f: call instance class [mscorlib]System.Type valuetype NDesk.DBus.Signature::ToType() - IL_0024: stloc.0 - IL_0025: leave IL_004a + IL_00d9: ldarg.0 + IL_00da: ldfld valuetype NDesk.DBus.Authentication.SaslClient/AuthMech NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__0' + IL_00df: ldc.i4.1 + IL_00e0: bne.un IL_0115 - } // end .try 0 - catch class [mscorlib]System.NotSupportedException { // 0 - IL_002a: stloc.1 - IL_002b: ldsfld bool NDesk.DBus.Protocol::Verbose - IL_0030: brfalse IL_0045 + IL_00e5: ldarg.0 + IL_00e6: ldstr "AUTH ANONYMOUS" + IL_00eb: newobj instance void class NDesk.DBus.Authentication.AuthCommand::'.ctor'(string) + IL_00f0: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$current + IL_00f5: ldarg.0 + IL_00f6: ldfld bool NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$disposing + IL_00fb: brtrue.s IL_0104 - IL_0035: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_003a: ldloc.1 - IL_003b: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_0040: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0045: leave IL_004a + IL_00fd: ldarg.0 + IL_00fe: ldc.i4.2 + IL_00ff: stfld int32 NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$PC + IL_0104: br IL_023e - } // end handler 0 - IL_004a: ldloc.0 - IL_004b: ldnull - IL_004c: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0051: brfalse IL_00bc + IL_0109: ldarg.0 + IL_010a: ldc.i4.2 + IL_010b: stfld valuetype NDesk.DBus.Authentication.SaslClient/AuthMech NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__0' + IL_0110: br IL_0120 - IL_0056: ldarg.0 - IL_0057: ldarga.s 1 - IL_0059: call instance int32 valuetype NDesk.DBus.Signature::get_Alignment() - IL_005e: call instance void class NDesk.DBus.MessageReader::ReadPad(int32) - IL_0063: ldarg.0 - IL_0064: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0069: stloc.2 - IL_006a: ldarg.0 - IL_006b: ldarg.1 - IL_006c: call instance bool class NDesk.DBus.MessageReader::StepOver(valuetype NDesk.DBus.Signature) - IL_0071: pop - IL_0072: ldarg.0 - IL_0073: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0078: ldloc.2 - IL_0079: sub - IL_007a: stloc.3 - IL_007b: newobj instance void class NDesk.DBus.DValue::'.ctor'() - IL_0080: stloc.s 4 - IL_0082: ldloc.s 4 - IL_0084: ldarg.0 - IL_0085: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.MessageReader::endianness - IL_008a: stfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.DValue::endianness - IL_008f: ldloc.s 4 - IL_0091: ldarg.1 - IL_0092: stfld valuetype NDesk.DBus.Signature NDesk.DBus.DValue::signature - IL_0097: ldloc.s 4 - IL_0099: ldloc.3 - IL_009a: newarr [mscorlib]System.Byte - IL_009f: stfld unsigned int8[] NDesk.DBus.DValue::data - IL_00a4: ldarg.0 - IL_00a5: ldfld unsigned int8[] NDesk.DBus.MessageReader::data - IL_00aa: ldloc.2 - IL_00ab: ldloc.s 4 - IL_00ad: ldfld unsigned int8[] NDesk.DBus.DValue::data - IL_00b2: ldc.i4.0 - IL_00b3: ldloc.3 - IL_00b4: call void class [mscorlib]System.Array::Copy(class [mscorlib]System.Array, int32, class [mscorlib]System.Array, int32, int32) - IL_00b9: ldloc.s 4 - IL_00bb: ret - IL_00bc: ldarg.0 - IL_00bd: ldloc.0 - IL_00be: call instance object class NDesk.DBus.MessageReader::ReadValue(class [mscorlib]System.Type) - IL_00c3: ret - } // end of method MessageReader::ReadValue + IL_0115: ldstr "Authentication failure" + IL_011a: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_011f: throw + IL_0120: ldarg.0 + IL_0121: ldfld class NDesk.DBus.Authentication.SaslClient NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$this + IL_0126: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer::Peer + IL_012b: ldc.i4.1 + IL_012c: stfld bool NDesk.DBus.Authentication.SaslPeer::isFinalRead + IL_0131: ldarg.0 + IL_0132: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__0' + IL_0137: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_013c: brtrue IL_0146 - // method line 1172 - .method public hidebysig - instance default void GetValueToDict (class [mscorlib]System.Type keyType, class [mscorlib]System.Type valType, class [mscorlib]System.Collections.IDictionary val) cil managed - { - // Method begins at RVA 0x1138c - // Code size 210 (0xd2) - .maxstack 4 - .locals init ( - unsigned int32 V_0, - int32 V_1) - IL_0000: ldarg.0 - IL_0001: call instance unsigned int32 class NDesk.DBus.MessageReader::ReadUInt32() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldc.i4 67108864 - IL_000d: ble.un IL_0051 + IL_0141: br IL_023c - IL_0012: ldc.i4.5 - IL_0013: newarr [mscorlib]System.Object - IL_0018: dup - IL_0019: ldc.i4.0 - IL_001a: ldstr "Dict length " - IL_001f: stelem.ref - IL_0020: dup - IL_0021: ldc.i4.1 - IL_0022: ldloc.0 - IL_0023: box [mscorlib]System.UInt32 - IL_0028: stelem.ref - IL_0029: dup - IL_002a: ldc.i4.2 - IL_002b: ldstr " exceeds maximum allowed " - IL_0030: stelem.ref - IL_0031: dup - IL_0032: ldc.i4.3 - IL_0033: ldc.i4 67108864 - IL_0038: box [mscorlib]System.UInt32 - IL_003d: stelem.ref - IL_003e: dup - IL_003f: ldc.i4.4 - IL_0040: ldstr " bytes" - IL_0045: stelem.ref - IL_0046: call string string::Concat(object[]) - IL_004b: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0050: throw - IL_0051: ldarg.0 - IL_0052: ldc.i4.8 - IL_0053: call instance void class NDesk.DBus.MessageReader::ReadPad(int32) - IL_0058: ldarg.0 - IL_0059: ldfld int32 NDesk.DBus.MessageReader::pos - IL_005e: ldloc.0 - IL_005f: add - IL_0060: stloc.1 - IL_0061: br IL_0081 + IL_0146: ldarg.0 + IL_0147: ldarg.0 + IL_0148: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__0' + IL_014d: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + IL_0152: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__2' + IL_0157: ldarg.0 + IL_0158: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__2' + IL_015d: ldc.i4.0 + IL_015e: callvirt instance string class NDesk.DBus.Authentication.AuthCommand::get_Item(int32) + IL_0163: ldstr "REJECTED" + IL_0168: call bool string::op_Equality(string, string) + IL_016d: brfalse IL_0177 - IL_0066: ldarg.0 - IL_0067: ldc.i4.8 - IL_0068: call instance void class NDesk.DBus.MessageReader::ReadPad(int32) - IL_006d: ldarg.3 - IL_006e: ldarg.0 - IL_006f: ldarg.1 - IL_0070: call instance object class NDesk.DBus.MessageReader::ReadValue(class [mscorlib]System.Type) - IL_0075: ldarg.0 - IL_0076: ldarg.2 - IL_0077: call instance object class NDesk.DBus.MessageReader::ReadValue(class [mscorlib]System.Type) - IL_007c: callvirt instance void class [mscorlib]System.Collections.IDictionary::Add(object, object) - IL_0081: ldarg.0 - IL_0082: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0087: ldloc.1 - IL_0088: blt IL_0066 + IL_0172: br IL_004a - IL_008d: ldarg.0 - IL_008e: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0093: ldloc.1 - IL_0094: beq IL_00d1 + IL_0177: ldarg.0 + IL_0178: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__2' + IL_017d: ldc.i4.0 + IL_017e: callvirt instance string class NDesk.DBus.Authentication.AuthCommand::get_Item(int32) + IL_0183: ldstr "OK" + IL_0188: call bool string::op_Inequality(string, string) + IL_018d: brfalse IL_01bb - IL_0099: ldc.i4.4 - IL_009a: newarr [mscorlib]System.Object - IL_009f: dup - IL_00a0: ldc.i4.0 - IL_00a1: ldstr "Read pos " - IL_00a6: stelem.ref - IL_00a7: dup - IL_00a8: ldc.i4.1 - IL_00a9: ldarg.0 - IL_00aa: ldfld int32 NDesk.DBus.MessageReader::pos - IL_00af: box [mscorlib]System.Int32 - IL_00b4: stelem.ref - IL_00b5: dup - IL_00b6: ldc.i4.2 - IL_00b7: ldstr " != ep " - IL_00bc: stelem.ref - IL_00bd: dup - IL_00be: ldc.i4.3 - IL_00bf: ldloc.1 - IL_00c0: box [mscorlib]System.Int32 - IL_00c5: stelem.ref - IL_00c6: call string string::Concat(object[]) - IL_00cb: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_00d0: throw - IL_00d1: ret - } // end of method MessageReader::GetValueToDict + IL_0192: ldarg.0 + IL_0193: ldstr "ERROR" + IL_0198: newobj instance void class NDesk.DBus.Authentication.AuthCommand::'.ctor'(string) + IL_019d: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$current + IL_01a2: ldarg.0 + IL_01a3: ldfld bool NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$disposing + IL_01a8: brtrue.s IL_01b1 - // method line 1173 - .method public hidebysig - instance default class [mscorlib]System.Array ReadArray (class [mscorlib]System.Type elemType) cil managed - { - // Method begins at RVA 0x1146c - // Code size 285 (0x11d) - .maxstack 5 - .locals init ( - unsigned int32 V_0, - unsigned int8[] V_1, - int32 V_2, - class [mscorlib]System.Collections.ArrayList V_3) - IL_0000: ldarg.0 - IL_0001: call instance unsigned int32 class NDesk.DBus.MessageReader::ReadUInt32() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldc.i4 67108864 - IL_000d: ble.un IL_0051 + IL_01aa: ldarg.0 + IL_01ab: ldc.i4.3 + IL_01ac: stfld int32 NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$PC + IL_01b1: br IL_023e - IL_0012: ldc.i4.5 - IL_0013: newarr [mscorlib]System.Object - IL_0018: dup - IL_0019: ldc.i4.0 - IL_001a: ldstr "Array length " - IL_001f: stelem.ref - IL_0020: dup - IL_0021: ldc.i4.1 - IL_0022: ldloc.0 - IL_0023: box [mscorlib]System.UInt32 - IL_0028: stelem.ref - IL_0029: dup - IL_002a: ldc.i4.2 - IL_002b: ldstr " exceeds maximum allowed " - IL_0030: stelem.ref - IL_0031: dup - IL_0032: ldc.i4.3 - IL_0033: ldc.i4 67108864 - IL_0038: box [mscorlib]System.UInt32 - IL_003d: stelem.ref - IL_003e: dup - IL_003f: ldc.i4.4 - IL_0040: ldstr " bytes" - IL_0045: stelem.ref - IL_0046: call string string::Concat(object[]) - IL_004b: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0050: throw - IL_0051: ldarg.1 - IL_0052: ldtoken [mscorlib]System.Byte - IL_0057: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_005c: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0061: brfalse IL_0092 + IL_01b6: br IL_004a - IL_0066: ldloc.0 - IL_0067: conv.u - IL_0068: newarr [mscorlib]System.Byte - IL_006d: stloc.1 - IL_006e: ldarg.0 - IL_006f: ldfld unsigned int8[] NDesk.DBus.MessageReader::data - IL_0074: ldarg.0 - IL_0075: ldfld int32 NDesk.DBus.MessageReader::pos - IL_007a: ldloc.1 - IL_007b: ldc.i4.0 - IL_007c: ldloc.0 - IL_007d: call void class [mscorlib]System.Array::Copy(class [mscorlib]System.Array, int32, class [mscorlib]System.Array, int32, int32) - IL_0082: ldarg.0 - IL_0083: dup - IL_0084: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0089: ldloc.0 - IL_008a: add - IL_008b: stfld int32 NDesk.DBus.MessageReader::pos - IL_0090: ldloc.1 - IL_0091: ret - IL_0092: ldarg.0 - IL_0093: ldarg.1 - IL_0094: call valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::TypeToDType(class [mscorlib]System.Type) - IL_0099: call int32 class NDesk.DBus.Protocol::GetAlignment(valuetype NDesk.DBus.DType) - IL_009e: call instance void class NDesk.DBus.MessageReader::ReadPad(int32) - IL_00a3: ldarg.0 - IL_00a4: ldfld int32 NDesk.DBus.MessageReader::pos - IL_00a9: ldloc.0 - IL_00aa: add - IL_00ab: stloc.2 - IL_00ac: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_00b1: stloc.3 - IL_00b2: br IL_00c5 + IL_01bb: ldarg.0 + IL_01bc: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__2' + IL_01c1: ldc.i4.1 + IL_01c2: callvirt instance string class NDesk.DBus.Authentication.AuthCommand::get_Item(int32) + IL_01c7: ldsfld string [mscorlib]System.String::Empty + IL_01cc: call bool string::op_Equality(string, string) + IL_01d1: brfalse IL_01eb - IL_00b7: ldloc.3 - IL_00b8: ldarg.0 - IL_00b9: ldarg.1 - IL_00ba: call instance object class NDesk.DBus.MessageReader::ReadValue(class [mscorlib]System.Type) - IL_00bf: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_00c4: pop - IL_00c5: ldarg.0 - IL_00c6: ldfld int32 NDesk.DBus.MessageReader::pos - IL_00cb: ldloc.2 - IL_00cc: blt IL_00b7 + IL_01d6: ldarg.0 + IL_01d7: ldfld class NDesk.DBus.Authentication.SaslClient NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$this + IL_01dc: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero + IL_01e1: stfld valuetype NDesk.DBus.UUID NDesk.DBus.Authentication.SaslClient::ActualId + IL_01e6: br IL_0207 - IL_00d1: ldarg.0 - IL_00d2: ldfld int32 NDesk.DBus.MessageReader::pos - IL_00d7: ldloc.2 - IL_00d8: beq IL_0115 + IL_01eb: ldarg.0 + IL_01ec: ldfld class NDesk.DBus.Authentication.SaslClient NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$this + IL_01f1: ldarg.0 + IL_01f2: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'__2' + IL_01f7: ldc.i4.1 + IL_01f8: callvirt instance string class NDesk.DBus.Authentication.AuthCommand::get_Item(int32) + IL_01fd: call valuetype NDesk.DBus.UUID valuetype NDesk.DBus.UUID::Parse(string) + IL_0202: stfld valuetype NDesk.DBus.UUID NDesk.DBus.Authentication.SaslClient::ActualId + IL_0207: ldarg.0 + IL_0208: ldstr "BEGIN" + IL_020d: newobj instance void class NDesk.DBus.Authentication.AuthCommand::'.ctor'(string) + IL_0212: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$current + IL_0217: ldarg.0 + IL_0218: ldfld bool NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$disposing + IL_021d: brtrue.s IL_0226 - IL_00dd: ldc.i4.4 - IL_00de: newarr [mscorlib]System.Object - IL_00e3: dup - IL_00e4: ldc.i4.0 - IL_00e5: ldstr "Read pos " - IL_00ea: stelem.ref - IL_00eb: dup - IL_00ec: ldc.i4.1 - IL_00ed: ldarg.0 - IL_00ee: ldfld int32 NDesk.DBus.MessageReader::pos - IL_00f3: box [mscorlib]System.Int32 - IL_00f8: stelem.ref - IL_00f9: dup - IL_00fa: ldc.i4.2 - IL_00fb: ldstr " != ep " - IL_0100: stelem.ref - IL_0101: dup - IL_0102: ldc.i4.3 - IL_0103: ldloc.2 - IL_0104: box [mscorlib]System.Int32 - IL_0109: stelem.ref - IL_010a: call string string::Concat(object[]) - IL_010f: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0114: throw - IL_0115: ldloc.3 - IL_0116: ldarg.1 - IL_0117: callvirt instance class [mscorlib]System.Array class [mscorlib]System.Collections.ArrayList::ToArray(class [mscorlib]System.Type) - IL_011c: ret - } // end of method MessageReader::ReadArray + IL_021f: ldarg.0 + IL_0220: ldc.i4.4 + IL_0221: stfld int32 NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$PC + IL_0226: br IL_023e - // method line 1174 - .method public hidebysig - instance default object ReadStruct (class [mscorlib]System.Type 'type') cil managed + IL_022b: br IL_023c + + IL_0230: br IL_004a + + IL_0235: ldarg.0 + IL_0236: ldc.i4.m1 + IL_0237: stfld int32 NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$PC + IL_023c: ldc.i4.0 + IL_023d: ret + IL_023e: ldc.i4.1 + IL_023f: ret + } // end of method c__Iterator0::MoveNext + + // method line 1360 + .method private final virtual hidebysig newslot specialname + instance default class NDesk.DBus.Authentication.AuthCommand 'System.Collections.Generic.IEnumerator.get_Current' () cil managed { - // Method begins at RVA 0x11598 - // Code size 75 (0x4b) - .maxstack 4 - .locals init ( - object V_0, - class [mscorlib]System.Reflection.FieldInfo[] V_1, - class [mscorlib]System.Reflection.FieldInfo V_2, - class [mscorlib]System.Reflection.FieldInfo[] V_3, - int32 V_4) + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x11204 + .override method instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + // Code size 7 (0x7) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.8 - IL_0002: call instance void class NDesk.DBus.MessageReader::ReadPad(int32) - IL_0007: ldarg.1 - IL_0008: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type) - IL_000d: stloc.0 - IL_000e: ldarg.1 - IL_000f: ldc.i4.s 0x34 - IL_0011: callvirt instance class [mscorlib]System.Reflection.FieldInfo[] class [mscorlib]System.Type::GetFields(valuetype [mscorlib]System.Reflection.BindingFlags) - IL_0016: stloc.1 - IL_0017: ldloc.1 - IL_0018: stloc.3 - IL_0019: ldc.i4.0 - IL_001a: stloc.s 4 - IL_001c: br IL_003f + IL_0001: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$current + IL_0006: ret + } // end of method c__Iterator0::System.Collections.Generic.IEnumerator.get_Current - IL_0021: ldloc.3 - IL_0022: ldloc.s 4 - IL_0024: ldelem.ref - IL_0025: stloc.2 - IL_0026: ldloc.2 - IL_0027: ldloc.0 - IL_0028: ldarg.0 - IL_0029: ldloc.2 - IL_002a: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.FieldInfo::get_FieldType() - IL_002f: call instance object class NDesk.DBus.MessageReader::ReadValue(class [mscorlib]System.Type) - IL_0034: callvirt instance void class [mscorlib]System.Reflection.FieldInfo::SetValue(object, object) - IL_0039: ldloc.s 4 - IL_003b: ldc.i4.1 - IL_003c: add - IL_003d: stloc.s 4 - IL_003f: ldloc.s 4 - IL_0041: ldloc.3 - IL_0042: ldlen - IL_0043: conv.i4 - IL_0044: blt IL_0021 + // method line 1361 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed + { + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0049: ldloc.0 - IL_004a: ret - } // end of method MessageReader::ReadStruct + // Method begins at RVA 0x1120c + .override class [mscorlib]System.Collections.IEnumerator::get_Current + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$current + IL_0006: ret + } // end of method c__Iterator0::System.Collections.IEnumerator.get_Current - // method line 1175 - .method public hidebysig - instance default void ReadNull () cil managed + // method line 1362 + .method public final virtual hidebysig newslot + instance default void Dispose () cil managed { - // Method begins at RVA 0x115f0 - // Code size 65 (0x41) - .maxstack 3 + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x11214 + // Code size 15 (0xf) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld unsigned int8[] NDesk.DBus.MessageReader::data - IL_0006: ldarg.0 - IL_0007: ldfld int32 NDesk.DBus.MessageReader::pos - IL_000c: ldelem.u1 - IL_000d: brfalse IL_0032 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$disposing + IL_0007: ldarg.0 + IL_0008: ldc.i4.m1 + IL_0009: stfld int32 NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::$PC + IL_000e: ret + } // end of method c__Iterator0::Dispose - IL_0012: ldstr "Read non-zero byte at position " - IL_0017: ldarg.0 - IL_0018: ldfld int32 NDesk.DBus.MessageReader::pos - IL_001d: box [mscorlib]System.Int32 - IL_0022: ldstr " while expecting null terminator" - IL_0027: call string string::Concat(object, object, object) - IL_002c: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0031: throw - IL_0032: ldarg.0 - IL_0033: dup - IL_0034: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0039: ldc.i4.1 - IL_003a: add - IL_003b: stfld int32 NDesk.DBus.MessageReader::pos - IL_0040: ret - } // end of method MessageReader::ReadNull + // method line 1363 + .method public final virtual hidebysig newslot + instance default void Reset () cil managed + { + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 1176 - .method public hidebysig - instance default void ReadPad (int32 'alignment') cil managed + // Method begins at RVA 0x11224 + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() + IL_0005: throw + } // end of method c__Iterator0::Reset + + .property instance class NDesk.DBus.Authentication.AuthCommand 'System.Collections.Generic.IEnumerator.Current' () + { + .get instance default class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::'System.Collections.Generic.IEnumerator.get_Current' () + } + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NDesk.DBus.Authentication.SaslClient/'c__Iterator0'::System.Collections.IEnumerator.get_Current () + } + } // end of class c__Iterator0 + + } // end of class NDesk.DBus.Authentication.SaslClient +} + +.namespace NDesk.DBus.Authentication +{ + .class private auto ansi beforefieldinit SaslServer + extends NDesk.DBus.Authentication.SaslPeer + { + .field public valuetype NDesk.DBus.UUID Guid + .field public int64 uid + .field private static class [System]System.Text.RegularExpressions.Regex authRegex + .field private static string[] supportedMechanisms + + // method line 1158 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x11640 - // Code size 95 (0x5f) - .maxstack 3 - .locals init ( - int32 V_0) + // Method begins at RVA 0x1122b + // Code size 18 (0x12) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0006: ldarg.1 - IL_0007: call int32 class NDesk.DBus.Protocol::Padded(int32, int32) - IL_000c: stloc.0 - IL_000d: br IL_0052 + IL_0001: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero + IL_0006: stfld valuetype NDesk.DBus.UUID NDesk.DBus.Authentication.SaslServer::Guid + IL_000b: ldarg.0 + IL_000c: call instance void class NDesk.DBus.Authentication.SaslPeer::'.ctor'() + IL_0011: ret + } // end of method SaslServer::.ctor - IL_0012: ldarg.0 - IL_0013: ldfld unsigned int8[] NDesk.DBus.MessageReader::data - IL_0018: ldarg.0 - IL_0019: ldfld int32 NDesk.DBus.MessageReader::pos - IL_001e: ldelem.u1 - IL_001f: brfalse IL_0044 + // method line 1159 + .method public virtual hidebysig + instance default class [mscorlib]System.Collections.Generic.IEnumerator`1 GetEnumerator () cil managed + { + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0024: ldstr "Read non-zero byte at position " - IL_0029: ldarg.0 - IL_002a: ldfld int32 NDesk.DBus.MessageReader::pos - IL_002f: box [mscorlib]System.Int32 - IL_0034: ldstr " while expecting padding" - IL_0039: call string string::Concat(object, object, object) - IL_003e: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0043: throw - IL_0044: ldarg.0 - IL_0045: dup - IL_0046: ldfld int32 NDesk.DBus.MessageReader::pos - IL_004b: ldc.i4.1 - IL_004c: add - IL_004d: stfld int32 NDesk.DBus.MessageReader::pos - IL_0052: ldarg.0 - IL_0053: ldfld int32 NDesk.DBus.MessageReader::pos - IL_0058: ldloc.0 - IL_0059: bne.un IL_0012 + // Method begins at RVA 0x11240 + // Code size 15 (0xf) + .maxstack 2 + .locals init ( + class NDesk.DBus.Authentication.SaslServer/'c__Iterator0' V_0) + IL_0000: newobj instance void class NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'.ctor'() + IL_0005: stloc.0 + IL_0006: ldloc.0 + IL_0007: ldarg.0 + IL_0008: stfld class NDesk.DBus.Authentication.SaslServer NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$this + IL_000d: ldloc.0 + IL_000e: ret + } // end of method SaslServer::GetEnumerator - IL_005e: ret - } // end of method MessageReader::ReadPad + // method line 1160 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x1125b + // Code size 35 (0x23) + .maxstack 8 + IL_0000: ldstr "^AUTH\\s+(\\w+)(?:\\s+(.*))?$" + IL_0005: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) + IL_000a: stsfld class [System]System.Text.RegularExpressions.Regex NDesk.DBus.Authentication.SaslServer::authRegex + IL_000f: ldc.i4.1 + IL_0010: newarr [mscorlib]System.String + IL_0015: dup + IL_0016: ldc.i4.0 + IL_0017: ldstr "EXTERNAL" + IL_001c: stelem.ref + IL_001d: stsfld string[] NDesk.DBus.Authentication.SaslServer::supportedMechanisms + IL_0022: ret + } // end of method SaslServer::.cctor - .class nested private auto ansi sealed beforefieldinit 'c__Iterator0' + .class nested private auto ansi sealed beforefieldinit 'c__Iterator0' extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerable, class [mscorlib]System.Collections.Generic.IEnumerable`1, [mscorlib]System.Collections.IEnumerator, [mscorlib]System.IDisposable, class [mscorlib]System.Collections.Generic.IEnumerator`1 { + implements [mscorlib]System.Collections.IEnumerator, [mscorlib]System.IDisposable, class [mscorlib]System.Collections.Generic.IEnumerator`1 { .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... - .field assembly valuetype NDesk.DBus.Signature sig - .field assembly valuetype NDesk.DBus.Signature '__1' - .field assembly valuetype NDesk.DBus.Signature '__2' - .field assembly unsigned int32 '__2' - .field assembly int32 '__2' - .field assembly valuetype NDesk.DBus.Signature '__3' - .field assembly valuetype NDesk.DBus.Signature '__3' - .field assembly class [mscorlib]System.Collections.Generic.IEnumerator`1 $locvar0 - .field assembly valuetype NDesk.DBus.Signature '__4' - .field assembly class NDesk.DBus.MessageReader $this - .field assembly valuetype NDesk.DBus.Signature $current + .field assembly class [mscorlib]System.Collections.Generic.IEnumerator`1 '__0' + .field assembly class NDesk.DBus.Authentication.AuthCommand '__1' + .field assembly class [System]System.Text.RegularExpressions.Match '__1' + .field assembly string '__1' + .field assembly string '__1' + .field assembly class NDesk.DBus.Authentication.SaslServer $this + .field assembly class NDesk.DBus.Authentication.AuthCommand $current .field assembly bool $disposing .field assembly int32 $PC - // method line 1376 + // method line 1364 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - // Method begins at RVA 0x116ab + // Method begins at RVA 0x1127f // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 IL_0001: call instance void object::'.ctor'() IL_0006: ret - } // end of method c__Iterator0::.ctor + } // end of method c__Iterator0::.ctor - // method line 1377 + // method line 1365 .method public final virtual hidebysig newslot instance default bool MoveNext () cil managed { - // Method begins at RVA 0x116b4 - // Code size 675 (0x2a3) - .maxstack 3 + // Method begins at RVA 0x11288 + // Code size 754 (0x2f2) + .maxstack 4 .locals init ( unsigned int32 V_0, - bool V_1) + unsigned int8[] V_1, + string V_2) IL_0000: ldarg.0 - IL_0001: ldfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC + IL_0001: ldfld int32 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$PC IL_0006: stloc.0 IL_0007: ldarg.0 IL_0008: ldc.i4.m1 - IL_0009: stfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC - IL_000e: ldc.i4.0 - IL_000f: stloc.1 - IL_0010: ldloc.0 - IL_0011: switch ( - IL_0033, - IL_0079, - IL_0103, - IL_018b, - IL_01ab, - IL_01ff) - IL_002e: br IL_029f + IL_0009: stfld int32 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$PC + IL_000e: ldloc.0 + IL_000f: switch ( + IL_0039, + IL_008b, + IL_00f0, + IL_01c1, + IL_0204, + IL_0248, + IL_0284, + IL_02d8) + IL_0034: br IL_02ee - IL_0033: ldarg.0 - IL_0034: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig - IL_0039: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::VariantSig - IL_003e: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0043: brfalse IL_007e + IL_0039: ldarg.0 + IL_003a: ldarg.0 + IL_003b: ldfld class NDesk.DBus.Authentication.SaslServer NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$this + IL_0040: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer::Peer + IL_0045: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class NDesk.DBus.Authentication.SaslPeer::GetEnumerator() + IL_004a: stfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__0' + IL_004f: ldarg.0 + IL_0050: ldfld class NDesk.DBus.Authentication.SaslServer NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$this + IL_0055: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer::Peer + IL_005a: ldc.i4.0 + IL_005b: stfld bool NDesk.DBus.Authentication.SaslPeer::isFinalRead + IL_0060: ldarg.0 + IL_0061: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__0' + IL_0066: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_006b: brtrue IL_0090 - IL_0048: ldarg.0 - IL_0049: ldarg.0 - IL_004a: ldfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this - IL_004f: call instance valuetype NDesk.DBus.Signature class NDesk.DBus.MessageReader::ReadSignature() - IL_0054: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'__1' - IL_0059: ldarg.0 - IL_005a: ldarg.0 - IL_005b: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'__1' - IL_0060: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::$current - IL_0065: ldarg.0 - IL_0066: ldfld bool NDesk.DBus.MessageReader/'c__Iterator0'::$disposing - IL_006b: brtrue.s IL_0074 + IL_0070: ldarg.0 + IL_0071: ldnull + IL_0072: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$current + IL_0077: ldarg.0 + IL_0078: ldfld bool NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$disposing + IL_007d: brtrue.s IL_0086 - IL_006d: ldarg.0 - IL_006e: ldc.i4.1 - IL_006f: stfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC - IL_0074: br IL_02a1 + IL_007f: ldarg.0 + IL_0080: ldc.i4.1 + IL_0081: stfld int32 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$PC + IL_0086: br IL_02f0 - IL_0079: br IL_029f + IL_008b: br IL_02ee - IL_007e: ldarg.0 - IL_007f: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig - IL_0084: call instance bool valuetype NDesk.DBus.Signature::get_IsArray() - IL_0089: brfalse IL_011e + IL_0090: ldarg.0 + IL_0091: ldarg.0 + IL_0092: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__0' + IL_0097: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + IL_009c: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' + IL_00a1: ldarg.0 + IL_00a2: ldsfld class [System]System.Text.RegularExpressions.Regex NDesk.DBus.Authentication.SaslServer::authRegex + IL_00a7: ldarg.0 + IL_00a8: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' + IL_00ad: ldfld string NDesk.DBus.Authentication.AuthCommand::Value + IL_00b2: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) + IL_00b7: stfld class [System]System.Text.RegularExpressions.Match NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' + IL_00bc: ldarg.0 + IL_00bd: ldfld class [System]System.Text.RegularExpressions.Match NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' + IL_00c2: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() + IL_00c7: brtrue IL_00f5 - IL_008e: ldarg.0 - IL_008f: ldarg.0 - IL_0090: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig - IL_0095: call instance valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetElementSignature() - IL_009a: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'__2' - IL_009f: ldarg.0 - IL_00a0: ldarg.0 - IL_00a1: ldfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this - IL_00a6: call instance unsigned int32 class NDesk.DBus.MessageReader::ReadUInt32() - IL_00ab: stfld unsigned int32 NDesk.DBus.MessageReader/'c__Iterator0'::'__2' - IL_00b0: ldarg.0 - IL_00b1: ldfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this - IL_00b6: ldarg.0 - IL_00b7: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'__2' - IL_00bc: call instance int32 valuetype NDesk.DBus.Signature::get_Alignment() - IL_00c1: call instance void class NDesk.DBus.MessageReader::ReadPad(int32) - IL_00c6: ldarg.0 - IL_00c7: ldarg.0 - IL_00c8: ldfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this - IL_00cd: ldfld int32 NDesk.DBus.MessageReader::pos - IL_00d2: ldarg.0 - IL_00d3: ldfld unsigned int32 NDesk.DBus.MessageReader/'c__Iterator0'::'__2' - IL_00d8: add - IL_00d9: stfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::'__2' - IL_00de: br IL_0103 + IL_00cc: ldarg.0 + IL_00cd: ldstr "ERROR" + IL_00d2: newobj instance void class NDesk.DBus.Authentication.AuthCommand::'.ctor'(string) + IL_00d7: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$current + IL_00dc: ldarg.0 + IL_00dd: ldfld bool NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$disposing + IL_00e2: brtrue.s IL_00eb - IL_00e3: ldarg.0 IL_00e4: ldarg.0 - IL_00e5: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'__2' - IL_00ea: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::$current - IL_00ef: ldarg.0 - IL_00f0: ldfld bool NDesk.DBus.MessageReader/'c__Iterator0'::$disposing - IL_00f5: brtrue.s IL_00fe + IL_00e5: ldc.i4.2 + IL_00e6: stfld int32 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$PC + IL_00eb: br IL_02f0 - IL_00f7: ldarg.0 - IL_00f8: ldc.i4.2 - IL_00f9: stfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC - IL_00fe: br IL_02a1 + IL_00f0: br IL_004f - IL_0103: ldarg.0 - IL_0104: ldfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this - IL_0109: ldfld int32 NDesk.DBus.MessageReader::pos - IL_010e: ldarg.0 - IL_010f: ldfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::'__2' - IL_0114: blt IL_00e3 + IL_00f5: ldarg.0 + IL_00f6: ldarg.0 + IL_00f7: ldfld class [System]System.Text.RegularExpressions.Match NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' + IL_00fc: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_0101: ldc.i4.1 + IL_0102: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(int32) + IL_0107: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_010c: stfld string NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' + IL_0111: ldarg.0 + IL_0112: ldarg.0 + IL_0113: ldfld class [System]System.Text.RegularExpressions.Match NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' + IL_0118: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_011d: ldc.i4.2 + IL_011e: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(int32) + IL_0123: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_0128: stfld string NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' + IL_012d: ldarg.0 + IL_012e: ldfld string NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' + IL_0133: ldstr "EXTERNAL" + IL_0138: call bool string::op_Equality(string, string) + IL_013d: brfalse IL_0189 - IL_0119: br IL_029f + .try { // 0 + IL_0142: ldarg.0 + IL_0143: ldfld string NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' + IL_0148: call unsigned int8[] class NDesk.DBus.Authentication.Sasl::FromHex(string) + IL_014d: stloc.1 + IL_014e: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_ASCII() + IL_0153: ldloc.1 + IL_0154: callvirt instance string class [mscorlib]System.Text.Encoding::GetString(unsigned int8[]) + IL_0159: stloc.2 + IL_015a: ldarg.0 + IL_015b: ldfld class NDesk.DBus.Authentication.SaslServer NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$this + IL_0160: ldloc.2 + IL_0161: call unsigned int32 unsigned int32::Parse(string) + IL_0166: conv.u8 + IL_0167: stfld int64 NDesk.DBus.Authentication.SaslServer::uid + IL_016c: leave IL_0184 - IL_011e: ldarg.0 - IL_011f: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig - IL_0124: call instance bool valuetype NDesk.DBus.Signature::get_IsDictEntry() - IL_0129: brfalse IL_01b0 + } // end .try 0 + catch class [mscorlib]System.Object { // 0 + IL_0171: pop + IL_0172: ldarg.0 + IL_0173: ldfld class NDesk.DBus.Authentication.SaslServer NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$this + IL_0178: ldc.i4.0 + IL_0179: conv.i8 + IL_017a: stfld int64 NDesk.DBus.Authentication.SaslServer::uid + IL_017f: leave IL_0184 - IL_012e: ldarg.0 - IL_012f: ldfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this - IL_0134: ldarg.0 - IL_0135: ldfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this - IL_013a: ldfld int32 NDesk.DBus.MessageReader::pos - IL_013f: ldarg.0 - IL_0140: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig - IL_0145: call instance int32 valuetype NDesk.DBus.Signature::get_Alignment() - IL_014a: call int32 class NDesk.DBus.Protocol::Padded(int32, int32) - IL_014f: stfld int32 NDesk.DBus.MessageReader::pos - IL_0154: ldarg.0 - IL_0155: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig - IL_015a: ldarg.0 - IL_015b: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'__3' - IL_0160: ldarg.0 - IL_0161: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'__3' - IL_0166: call instance void valuetype NDesk.DBus.Signature::GetDictEntrySignatures([out] valuetype NDesk.DBus.Signature&, [out] valuetype NDesk.DBus.Signature&) - IL_016b: ldarg.0 - IL_016c: ldarg.0 - IL_016d: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'__3' - IL_0172: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::$current - IL_0177: ldarg.0 - IL_0178: ldfld bool NDesk.DBus.MessageReader/'c__Iterator0'::$disposing - IL_017d: brtrue.s IL_0186 + } // end handler 0 + IL_0184: br IL_01c6 - IL_017f: ldarg.0 - IL_0180: ldc.i4.3 - IL_0181: stfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC - IL_0186: br IL_02a1 + IL_0189: ldarg.0 + IL_018a: ldstr "REJECTED " + IL_018f: ldstr " " + IL_0194: ldsfld string[] NDesk.DBus.Authentication.SaslServer::supportedMechanisms + IL_0199: call string string::Join(string, string[]) + IL_019e: call string string::Concat(string, string) + IL_01a3: newobj instance void class NDesk.DBus.Authentication.AuthCommand::'.ctor'(string) + IL_01a8: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$current + IL_01ad: ldarg.0 + IL_01ae: ldfld bool NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$disposing + IL_01b3: brtrue.s IL_01bc - IL_018b: ldarg.0 - IL_018c: ldarg.0 - IL_018d: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'__3' - IL_0192: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::$current - IL_0197: ldarg.0 - IL_0198: ldfld bool NDesk.DBus.MessageReader/'c__Iterator0'::$disposing - IL_019d: brtrue.s IL_01a6 + IL_01b5: ldarg.0 + IL_01b6: ldc.i4.3 + IL_01b7: stfld int32 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$PC + IL_01bc: br IL_02f0 - IL_019f: ldarg.0 - IL_01a0: ldc.i4.4 - IL_01a1: stfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC - IL_01a6: br IL_02a1 + IL_01c1: br IL_004f - IL_01ab: br IL_029f + IL_01c6: ldarg.0 + IL_01c7: ldfld class NDesk.DBus.Authentication.SaslServer NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$this + IL_01cc: ldfld valuetype NDesk.DBus.UUID NDesk.DBus.Authentication.SaslServer::Guid + IL_01d1: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero + IL_01d6: call bool valuetype NDesk.DBus.UUID::op_Equality(valuetype NDesk.DBus.UUID, valuetype NDesk.DBus.UUID) + IL_01db: brfalse IL_0209 - IL_01b0: ldarg.0 - IL_01b1: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig - IL_01b6: call instance bool valuetype NDesk.DBus.Signature::get_IsStruct() - IL_01bb: brfalse IL_0278 + IL_01e0: ldarg.0 + IL_01e1: ldstr "OK" + IL_01e6: newobj instance void class NDesk.DBus.Authentication.AuthCommand::'.ctor'(string) + IL_01eb: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$current + IL_01f0: ldarg.0 + IL_01f1: ldfld bool NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$disposing + IL_01f6: brtrue.s IL_01ff - IL_01c0: ldarg.0 - IL_01c1: ldfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this - IL_01c6: ldarg.0 - IL_01c7: ldfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this - IL_01cc: ldfld int32 NDesk.DBus.MessageReader::pos - IL_01d1: ldarg.0 - IL_01d2: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig - IL_01d7: call instance int32 valuetype NDesk.DBus.Signature::get_Alignment() - IL_01dc: call int32 class NDesk.DBus.Protocol::Padded(int32, int32) - IL_01e1: stfld int32 NDesk.DBus.MessageReader::pos - IL_01e6: ldarg.0 - IL_01e7: ldarg.0 - IL_01e8: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig - IL_01ed: call instance class [mscorlib]System.Collections.Generic.IEnumerable`1 valuetype NDesk.DBus.Signature::GetFieldSignatures() - IL_01f2: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() - IL_01f7: stfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.MessageReader/'c__Iterator0'::$locvar0 - IL_01fc: ldc.i4.s 0xfffffffd - IL_01fe: stloc.0 - .try { // 0 - IL_01ff: ldloc.0 - IL_0200: ldc.i4.5 - IL_0201: sub - IL_0202: switch ( - IL_0243) - IL_020b: br IL_0243 + IL_01f8: ldarg.0 + IL_01f9: ldc.i4.4 + IL_01fa: stfld int32 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$PC + IL_01ff: br IL_02f0 - IL_0210: ldarg.0 - IL_0211: ldarg.0 - IL_0212: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.MessageReader/'c__Iterator0'::$locvar0 - IL_0217: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_021c: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'__4' - IL_0221: ldarg.0 - IL_0222: ldarg.0 - IL_0223: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'__4' - IL_0228: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::$current - IL_022d: ldarg.0 - IL_022e: ldfld bool NDesk.DBus.MessageReader/'c__Iterator0'::$disposing - IL_0233: brtrue.s IL_023c + IL_0204: br IL_0248 - IL_0235: ldarg.0 - IL_0236: ldc.i4.5 - IL_0237: stfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC - IL_023c: ldc.i4.1 - IL_023d: stloc.1 - IL_023e: leave IL_02a1 + IL_0209: ldarg.0 + IL_020a: ldstr "OK " + IL_020f: ldarg.0 + IL_0210: ldfld class NDesk.DBus.Authentication.SaslServer NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$this + IL_0215: ldflda valuetype NDesk.DBus.UUID NDesk.DBus.Authentication.SaslServer::Guid + IL_021a: constrained. NDesk.DBus.UUID + IL_0220: callvirt instance string object::ToString() + IL_0225: call string string::Concat(string, string) + IL_022a: newobj instance void class NDesk.DBus.Authentication.AuthCommand::'.ctor'(string) + IL_022f: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$current + IL_0234: ldarg.0 + IL_0235: ldfld bool NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$disposing + IL_023a: brtrue.s IL_0243 - IL_0243: ldarg.0 - IL_0244: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.MessageReader/'c__Iterator0'::$locvar0 - IL_0249: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_024e: brtrue IL_0210 + IL_023c: ldarg.0 + IL_023d: ldc.i4.5 + IL_023e: stfld int32 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$PC + IL_0243: br IL_02f0 - IL_0253: leave IL_0273 + IL_0248: ldarg.0 + IL_0249: ldfld class NDesk.DBus.Authentication.SaslServer NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$this + IL_024e: ldfld class NDesk.DBus.Authentication.SaslPeer NDesk.DBus.Authentication.SaslPeer::Peer + IL_0253: ldc.i4.1 + IL_0254: stfld bool NDesk.DBus.Authentication.SaslPeer::isFinalRead + IL_0259: ldarg.0 + IL_025a: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__0' + IL_025f: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0264: brtrue IL_0289 - } // end .try 0 - finally { // 0 - IL_0258: ldloc.1 - IL_0259: brfalse.s IL_025c + IL_0269: ldarg.0 + IL_026a: ldnull + IL_026b: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$current + IL_0270: ldarg.0 + IL_0271: ldfld bool NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$disposing + IL_0276: brtrue.s IL_027f - IL_025b: endfinally - IL_025c: ldarg.0 - IL_025d: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.MessageReader/'c__Iterator0'::$locvar0 - IL_0262: brfalse IL_0272 + IL_0278: ldarg.0 + IL_0279: ldc.i4.6 + IL_027a: stfld int32 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$PC + IL_027f: br IL_02f0 - IL_0267: ldarg.0 - IL_0268: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.MessageReader/'c__Iterator0'::$locvar0 - IL_026d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0272: endfinally - } // end handler 0 - IL_0273: br IL_029f + IL_0284: br IL_02ee - IL_0278: ldstr "Can't step into '" - IL_027d: ldarg.0 - IL_027e: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig - IL_0283: box NDesk.DBus.Signature - IL_0288: ldstr "'" - IL_028d: call string string::Concat(object, object, object) - IL_0292: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0297: throw - IL_0298: ldarg.0 - IL_0299: ldc.i4.m1 - IL_029a: stfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC - IL_029f: ldc.i4.0 - IL_02a0: ret - IL_02a1: ldc.i4.1 - IL_02a2: ret - } // end of method c__Iterator0::MoveNext + IL_0289: ldarg.0 + IL_028a: ldarg.0 + IL_028b: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__0' + IL_0290: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + IL_0295: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' + IL_029a: ldarg.0 + IL_029b: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'__1' + IL_02a0: ldfld string NDesk.DBus.Authentication.AuthCommand::Value + IL_02a5: ldstr "BEGIN" + IL_02aa: call bool string::op_Inequality(string, string) + IL_02af: brfalse IL_02dd - // method line 1378 + IL_02b4: ldarg.0 + IL_02b5: ldstr "ERROR" + IL_02ba: newobj instance void class NDesk.DBus.Authentication.AuthCommand::'.ctor'(string) + IL_02bf: stfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$current + IL_02c4: ldarg.0 + IL_02c5: ldfld bool NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$disposing + IL_02ca: brtrue.s IL_02d3 + + IL_02cc: ldarg.0 + IL_02cd: ldc.i4.7 + IL_02ce: stfld int32 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$PC + IL_02d3: br IL_02f0 + + IL_02d8: br IL_004f + + IL_02dd: br IL_02ee + + IL_02e2: br IL_004f + + IL_02e7: ldarg.0 + IL_02e8: ldc.i4.m1 + IL_02e9: stfld int32 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$PC + IL_02ee: ldc.i4.0 + IL_02ef: ret + IL_02f0: ldc.i4.1 + IL_02f1: ret + } // end of method c__Iterator0::MoveNext + + // method line 1366 .method private final virtual hidebysig newslot specialname - instance default valuetype NDesk.DBus.Signature 'System.Collections.Generic.IEnumerator.get_Current' () cil managed + instance default class NDesk.DBus.Authentication.AuthCommand 'System.Collections.Generic.IEnumerator.get_Current' () cil managed { .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - // Method begins at RVA 0x11974 - .override method instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + // Method begins at RVA 0x11598 + .override method instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::$current + IL_0001: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$current IL_0006: ret - } // end of method c__Iterator0::System.Collections.Generic.IEnumerator.get_Current + } // end of method c__Iterator0::System.Collections.Generic.IEnumerator.get_Current - // method line 1379 + // method line 1367 .method private final virtual hidebysig newslot specialname instance default object System.Collections.IEnumerator.get_Current () cil managed { .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - // Method begins at RVA 0x1197c + // Method begins at RVA 0x115a0 .override class [mscorlib]System.Collections.IEnumerator::get_Current - // Code size 12 (0xc) + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::$current - IL_0006: box NDesk.DBus.Signature - IL_000b: ret - } // end of method c__Iterator0::System.Collections.IEnumerator.get_Current + IL_0001: ldfld class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$current + IL_0006: ret + } // end of method c__Iterator0::System.Collections.IEnumerator.get_Current - // method line 1380 + // method line 1368 .method public final virtual hidebysig newslot instance default void Dispose () cil managed { .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - // Method begins at RVA 0x1198c - // Code size 85 (0x55) - .maxstack 2 - .locals init ( - unsigned int32 V_0) + // Method begins at RVA 0x115a8 + // Code size 15 (0xf) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC - IL_0006: stloc.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$disposing IL_0007: ldarg.0 - IL_0008: ldc.i4.1 - IL_0009: stfld bool NDesk.DBus.MessageReader/'c__Iterator0'::$disposing - IL_000e: ldarg.0 - IL_000f: ldc.i4.m1 - IL_0010: stfld int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC - IL_0015: ldloc.0 - IL_0016: switch ( - IL_0054, - IL_0054, - IL_0054, - IL_0054, - IL_0054, - IL_0038) - IL_0033: br IL_0054 - - .try { // 0 - IL_0038: leave IL_0054 - - } // end .try 0 - finally { // 0 - IL_003d: ldarg.0 - IL_003e: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.MessageReader/'c__Iterator0'::$locvar0 - IL_0043: brfalse IL_0053 - - IL_0048: ldarg.0 - IL_0049: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.MessageReader/'c__Iterator0'::$locvar0 - IL_004e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0053: endfinally - } // end handler 0 - IL_0054: ret - } // end of method c__Iterator0::Dispose + IL_0008: ldc.i4.m1 + IL_0009: stfld int32 NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::$PC + IL_000e: ret + } // end of method c__Iterator0::Dispose - // method line 1381 + // method line 1369 .method public final virtual hidebysig newslot instance default void Reset () cil managed { .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - // Method begins at RVA 0x11a00 + // Method begins at RVA 0x115b8 // Code size 6 (0x6) .maxstack 8 IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() IL_0005: throw - } // end of method c__Iterator0::Reset - - // method line 1382 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x11a07 - .override class [mscorlib]System.Collections.IEnumerable::GetEnumerator - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class NDesk.DBus.MessageReader/'c__Iterator0'::'System.Collections.Generic.IEnumerable.GetEnumerator'() - IL_0006: ret - } // end of method c__Iterator0::System.Collections.IEnumerable.GetEnumerator - - // method line 1383 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.Generic.IEnumerator`1 'System.Collections.Generic.IEnumerable.GetEnumerator' () cil managed - { - .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x11a10 - .override method instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() - // Code size 52 (0x34) - .maxstack 3 - .locals init ( - class NDesk.DBus.MessageReader/'c__Iterator0' V_0) - IL_0000: ldarg.0 - IL_0001: ldflda int32 NDesk.DBus.MessageReader/'c__Iterator0'::$PC - IL_0006: ldc.i4.0 - IL_0007: ldc.i4.s 0xfffffffe - IL_0009: call int32 class [mscorlib]System.Threading.Interlocked::CompareExchange([out] int32&, int32, int32) - IL_000e: ldc.i4.s 0xfffffffe - IL_0010: bne.un.s IL_0014 - - IL_0012: ldarg.0 - IL_0013: ret - IL_0014: newobj instance void class NDesk.DBus.MessageReader/'c__Iterator0'::'.ctor'() - IL_0019: stloc.0 - IL_001a: ldloc.0 - IL_001b: ldarg.0 - IL_001c: ldfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this - IL_0021: stfld class NDesk.DBus.MessageReader NDesk.DBus.MessageReader/'c__Iterator0'::$this - IL_0026: ldloc.0 - IL_0027: ldarg.0 - IL_0028: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig - IL_002d: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::sig - IL_0032: ldloc.0 - IL_0033: ret - } // end of method c__Iterator0::System.Collections.Generic.IEnumerable.GetEnumerator + } // end of method c__Iterator0::Reset - .property instance valuetype NDesk.DBus.Signature 'System.Collections.Generic.IEnumerator.Current' () + .property instance class NDesk.DBus.Authentication.AuthCommand 'System.Collections.Generic.IEnumerator.Current' () { - .get instance default valuetype NDesk.DBus.Signature NDesk.DBus.MessageReader/'c__Iterator0'::'System.Collections.Generic.IEnumerator.get_Current' () + .get instance default class NDesk.DBus.Authentication.AuthCommand NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::'System.Collections.Generic.IEnumerator.get_Current' () } .property instance object System.Collections.IEnumerator.Current () { - .get instance default object NDesk.DBus.MessageReader/'c__Iterator0'::System.Collections.IEnumerator.get_Current () + .get instance default object NDesk.DBus.Authentication.SaslServer/'c__Iterator0'::System.Collections.IEnumerator.get_Current () } - } // end of class c__Iterator0 + } // end of class c__Iterator0 - } // end of class NDesk.DBus.MessageReader + } // end of class NDesk.DBus.Authentication.SaslServer } -.namespace NDesk.DBus +.namespace NDesk.DBus.Authentication { - .class private auto ansi beforefieldinit MessageDumper + .class private auto ansi abstract sealed beforefieldinit Sasl extends [mscorlib]System.Object { - // method line 1177 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x11a50 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method MessageDumper::.ctor - - // method line 1178 + // method line 1161 .method public static hidebysig - default unsigned int8[] ReadBlock (class [mscorlib]System.IO.TextReader r) cil managed + default valuetype [mscorlib]System.DateTime UnixToDateTime (int64 time) cil managed { - // Method begins at RVA 0x11a58 - // Code size 68 (0x44) - .maxstack 2 + // Method begins at RVA 0x115c0 + // Code size 48 (0x30) + .maxstack 4 .locals init ( - class [mscorlib]System.IO.MemoryStream V_0, - string V_1) - IL_0000: newobj instance void class [mscorlib]System.IO.MemoryStream::'.ctor'() - IL_0005: stloc.0 - IL_0006: ldarg.0 - IL_0007: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_000c: stloc.1 - IL_000d: ldloc.1 - IL_000e: brtrue IL_0018 - - IL_0013: br IL_002e - - IL_0018: ldloc.0 - IL_0019: ldloc.1 - IL_001a: call bool class NDesk.DBus.MessageDumper::ReadFromHex(class [mscorlib]System.IO.Stream, string) - IL_001f: brtrue IL_0029 - - IL_0024: br IL_002e - - IL_0029: br IL_0006 - - IL_002e: ldloc.0 - IL_002f: callvirt instance int64 class [mscorlib]System.IO.Stream::get_Length() - IL_0034: ldc.i4.0 - IL_0035: conv.i8 - IL_0036: bne.un IL_003d - - IL_003b: ldnull - IL_003c: ret - IL_003d: ldloc.0 - IL_003e: callvirt instance unsigned int8[] class [mscorlib]System.IO.MemoryStream::ToArray() - IL_0043: ret - } // end of method MessageDumper::ReadBlock + valuetype [mscorlib]System.DateTime V_0, + valuetype [mscorlib]System.TimeSpan V_1) + IL_0000: ldloca.s 0 + IL_0002: ldc.i4 1970 + IL_0007: ldc.i4.1 + IL_0008: ldc.i4.1 + IL_0009: call instance void valuetype [mscorlib]System.DateTime::'.ctor'(int32, int32, int32) + IL_000e: call class [mscorlib]System.TimeZone class [mscorlib]System.TimeZone::get_CurrentTimeZone() + IL_0013: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_UtcNow() + IL_0018: callvirt instance valuetype [mscorlib]System.TimeSpan class [mscorlib]System.TimeZone::GetUtcOffset(valuetype [mscorlib]System.DateTime) + IL_001d: stloc.1 + IL_001e: ldloca.s 0 + IL_0020: ldarg.0 + IL_0021: conv.r8 + IL_0022: ldloca.s 1 + IL_0024: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalSeconds() + IL_0029: add + IL_002a: call instance valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::AddSeconds(float64) + IL_002f: ret + } // end of method Sasl::UnixToDateTime - // method line 1179 + // method line 1162 .method public static hidebysig - default void WriteComment (string comment, class [mscorlib]System.IO.TextWriter w) cil managed + default int64 DateTimeToUnix (valuetype [mscorlib]System.DateTime time) cil managed { - // Method begins at RVA 0x11aa8 - // Code size 18 (0x12) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldstr "# " - IL_0006: ldarg.0 - IL_0007: call string string::Concat(string, string) - IL_000c: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0011: ret - } // end of method MessageDumper::WriteComment + // Method begins at RVA 0x115fc + // Code size 54 (0x36) + .maxstack 4 + .locals init ( + valuetype [mscorlib]System.DateTime V_0, + valuetype [mscorlib]System.TimeSpan V_1, + valuetype [mscorlib]System.TimeSpan V_2) + IL_0000: ldloca.s 0 + IL_0002: ldc.i4 1970 + IL_0007: ldc.i4.1 + IL_0008: ldc.i4.1 + IL_0009: call instance void valuetype [mscorlib]System.DateTime::'.ctor'(int32, int32, int32) + IL_000e: call class [mscorlib]System.TimeZone class [mscorlib]System.TimeZone::get_CurrentTimeZone() + IL_0013: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_UtcNow() + IL_0018: callvirt instance valuetype [mscorlib]System.TimeSpan class [mscorlib]System.TimeZone::GetUtcOffset(valuetype [mscorlib]System.DateTime) + IL_001d: stloc.1 + IL_001e: ldarga.s 0 + IL_0020: ldloc.0 + IL_0021: call instance valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.DateTime::Subtract(valuetype [mscorlib]System.DateTime) + IL_0026: ldloc.1 + IL_0027: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::op_Subtraction(valuetype [mscorlib]System.TimeSpan, valuetype [mscorlib]System.TimeSpan) + IL_002c: stloc.2 + IL_002d: ldloca.s 2 + IL_002f: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalSeconds() + IL_0034: conv.i8 + IL_0035: ret + } // end of method Sasl::DateTimeToUnix - // method line 1180 + // method line 1163 .method public static hidebysig - default void WriteBlock (unsigned int8[] Body, class [mscorlib]System.IO.TextWriter w) cil managed + default string ToHex (unsigned int8[] input) cil managed { - // Method begins at RVA 0x11abc - // Code size 122 (0x7a) + // Method begins at RVA 0x11640 + // Code size 76 (0x4c) .maxstack 4 .locals init ( - int32 V_0) + class [mscorlib]System.Text.StringBuilder V_0, + unsigned int8 V_1, + unsigned int8[] V_2, + int32 V_3) IL_0000: ldarg.0 - IL_0001: brfalse IL_0065 - - IL_0006: ldc.i4.0 - IL_0007: stloc.0 - IL_0008: br IL_005c - - IL_000d: ldloc.0 - IL_000e: brtrue IL_0018 - - IL_0013: br IL_003c - - IL_0018: ldloc.0 - IL_0019: ldc.i4.s 0x20 - IL_001b: rem - IL_001c: brtrue IL_002c - - IL_0021: ldarg.1 - IL_0022: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() - IL_0027: br IL_003c - - IL_002c: ldloc.0 - IL_002d: ldc.i4.4 - IL_002e: rem - IL_002f: brtrue IL_003c + IL_0001: brtrue IL_0008 - IL_0034: ldarg.1 - IL_0035: ldc.i4.s 0x20 - IL_0037: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(char) - IL_003c: ldarg.1 - IL_003d: ldarg.0 - IL_003e: ldloc.0 - IL_003f: ldelema [mscorlib]System.Byte - IL_0044: ldstr "x2" - IL_0049: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_004e: call instance string unsigned int8::ToString(string, class [mscorlib]System.IFormatProvider) - IL_0053: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string) - IL_0058: ldloc.0 - IL_0059: ldc.i4.1 - IL_005a: add - IL_005b: stloc.0 - IL_005c: ldloc.0 - IL_005d: ldarg.0 - IL_005e: ldlen - IL_005f: conv.i4 - IL_0060: bne.un IL_000d + IL_0006: ldnull + IL_0007: ret + IL_0008: ldarg.0 + IL_0009: ldlen + IL_000a: conv.i4 + IL_000b: ldc.i4.2 + IL_000c: mul + IL_000d: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(int32) + IL_0012: stloc.0 + IL_0013: ldarg.0 + IL_0014: stloc.2 + IL_0015: ldc.i4.0 + IL_0016: stloc.3 + IL_0017: br IL_003c - IL_0065: ldarg.1 - IL_0066: ldc.i4.s 0x2e - IL_0068: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(char) - IL_006d: ldarg.1 - IL_006e: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() - IL_0073: ldarg.1 - IL_0074: callvirt instance void class [mscorlib]System.IO.TextWriter::Flush() - IL_0079: ret - } // end of method MessageDumper::WriteBlock + IL_001c: ldloc.2 + IL_001d: ldloc.3 + IL_001e: ldelem.u1 + IL_001f: stloc.1 + IL_0020: ldloc.0 + IL_0021: ldloca.s 1 + IL_0023: ldstr "x2" + IL_0028: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002d: call instance string unsigned int8::ToString(string, class [mscorlib]System.IFormatProvider) + IL_0032: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0037: pop + IL_0038: ldloc.3 + IL_0039: ldc.i4.1 + IL_003a: add + IL_003b: stloc.3 + IL_003c: ldloc.3 + IL_003d: ldloc.2 + IL_003e: ldlen + IL_003f: conv.i4 + IL_0040: blt IL_001c - // method line 1181 - .method public static hidebysig - default void WriteMessage (class NDesk.DBus.Message msg, class [mscorlib]System.IO.TextWriter w) cil managed - { - // Method begins at RVA 0x11b44 - // Code size 70 (0x46) - .maxstack 2 - IL_0000: ldarg.1 - IL_0001: ldstr "# Message" - IL_0006: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_000b: ldarg.1 - IL_000c: ldstr "# Header" - IL_0011: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0016: ldarg.0 - IL_0017: callvirt instance unsigned int8[] class NDesk.DBus.Message::GetHeaderData() - IL_001c: ldarg.1 - IL_001d: call void class NDesk.DBus.MessageDumper::WriteBlock(unsigned int8[], class [mscorlib]System.IO.TextWriter) - IL_0022: ldarg.1 - IL_0023: ldstr "# Body" - IL_0028: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_002d: ldarg.0 - IL_002e: ldfld unsigned int8[] NDesk.DBus.Message::Body - IL_0033: ldarg.1 - IL_0034: call void class NDesk.DBus.MessageDumper::WriteBlock(unsigned int8[], class [mscorlib]System.IO.TextWriter) - IL_0039: ldarg.1 - IL_003a: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() - IL_003f: ldarg.1 - IL_0040: callvirt instance void class [mscorlib]System.IO.TextWriter::Flush() - IL_0045: ret - } // end of method MessageDumper::WriteMessage + IL_0045: ldloc.0 + IL_0046: callvirt instance string object::ToString() + IL_004b: ret + } // end of method Sasl::ToHex - // method line 1182 + // method line 1164 .method public static hidebysig - default class NDesk.DBus.Message ReadMessage (class [mscorlib]System.IO.TextReader r) cil managed - { - // Method begins at RVA 0x11b98 - // Code size 44 (0x2c) - .maxstack 2 - .locals init ( - unsigned int8[] V_0, - unsigned int8[] V_1, - class NDesk.DBus.Message V_2) - IL_0000: ldarg.0 - IL_0001: call unsigned int8[] class NDesk.DBus.MessageDumper::ReadBlock(class [mscorlib]System.IO.TextReader) - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: brtrue IL_000f - - IL_000d: ldnull - IL_000e: ret - IL_000f: ldarg.0 - IL_0010: call unsigned int8[] class NDesk.DBus.MessageDumper::ReadBlock(class [mscorlib]System.IO.TextReader) - IL_0015: stloc.1 - IL_0016: newobj instance void class NDesk.DBus.Message::'.ctor'() - IL_001b: stloc.2 - IL_001c: ldloc.2 - IL_001d: ldloc.0 - IL_001e: callvirt instance void class NDesk.DBus.Message::SetHeaderData(unsigned int8[]) - IL_0023: ldloc.2 - IL_0024: ldloc.1 - IL_0025: stfld unsigned int8[] NDesk.DBus.Message::Body - IL_002a: ldloc.2 - IL_002b: ret - } // end of method MessageDumper::ReadMessage - - // method line 1183 - .method private static hidebysig default unsigned int8 FromHexChar (char c) cil managed { - // Method begins at RVA 0x11bd0 + // Method begins at RVA 0x11698 // Code size 83 (0x53) .maxstack 2 IL_0000: ldarg.0 @@ -38243,429 +37050,539 @@ IL_0048: ldstr "Invalid hex char" IL_004d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) IL_0052: throw - } // end of method MessageDumper::FromHexChar + } // end of method Sasl::FromHexChar - // method line 1184 - .method private static hidebysig - default bool ReadFromHex (class [mscorlib]System.IO.Stream ms, string hex) cil managed + // method line 1165 + .method public static hidebysig + default unsigned int8[] FromHex (string hex) cil managed { - // Method begins at RVA 0x11c30 - // Code size 140 (0x8c) - .maxstack 5 + // Method begins at RVA 0x116f8 + // Code size 121 (0x79) + .maxstack 6 .locals init ( - int32 V_0, - unsigned int8 V_1) - IL_0000: ldarg.1 - IL_0001: ldstr "#" - IL_0006: callvirt instance bool string::StartsWith(string) - IL_000b: brfalse IL_0012 + unsigned int8[] V_0, + int32 V_1, + int32 V_2) + IL_0000: ldarg.0 + IL_0001: brtrue IL_0008 + IL_0006: ldnull + IL_0007: ret + IL_0008: ldarg.0 + IL_0009: callvirt instance int32 string::get_Length() + IL_000e: ldc.i4.1 + IL_000f: and IL_0010: ldc.i4.1 - IL_0011: ret - IL_0012: ldc.i4.0 - IL_0013: stloc.0 - IL_0014: br IL_0078 - - IL_0019: ldarg.1 - IL_001a: ldloc.0 - IL_001b: callvirt instance char string::get_Chars(int32) - IL_0020: call bool char::IsWhiteSpace(char) - IL_0025: brfalse IL_0033 - - IL_002a: ldloc.0 - IL_002b: ldc.i4.1 - IL_002c: add - IL_002d: stloc.0 - IL_002e: br IL_0078 + IL_0011: bne.un IL_0021 - IL_0033: ldarg.1 - IL_0034: ldloc.0 - IL_0035: callvirt instance char string::get_Chars(int32) - IL_003a: ldc.i4.s 0x2e - IL_003c: bne.un IL_0049 + IL_0016: ldstr "Length must be a multiple of 2" + IL_001b: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0020: throw + IL_0021: ldarg.0 + IL_0022: callvirt instance int32 string::get_Length() + IL_0027: ldc.i4.1 + IL_0028: shr + IL_0029: newarr [mscorlib]System.Byte + IL_002e: stloc.0 + IL_002f: ldc.i4.0 + IL_0030: stloc.1 + IL_0031: ldc.i4.0 + IL_0032: stloc.2 + IL_0033: br IL_006e - IL_0041: ldarg.0 - IL_0042: callvirt instance void class [mscorlib]System.IO.Stream::Flush() - IL_0047: ldc.i4.0 - IL_0048: ret - IL_0049: ldarg.1 - IL_004a: ldloc.0 - IL_004b: dup - IL_004c: ldc.i4.1 - IL_004d: add - IL_004e: stloc.0 - IL_004f: callvirt instance char string::get_Chars(int32) - IL_0054: call unsigned int8 class NDesk.DBus.MessageDumper::FromHexChar(char) - IL_0059: ldc.i4.4 - IL_005a: shl - IL_005b: conv.u1 - IL_005c: stloc.1 - IL_005d: ldloc.1 - IL_005e: ldarg.1 - IL_005f: ldloc.0 - IL_0060: dup - IL_0061: ldc.i4.1 - IL_0062: add - IL_0063: stloc.0 - IL_0064: callvirt instance char string::get_Chars(int32) - IL_0069: call unsigned int8 class NDesk.DBus.MessageDumper::FromHexChar(char) - IL_006e: add - IL_006f: conv.u1 - IL_0070: stloc.1 - IL_0071: ldarg.0 - IL_0072: ldloc.1 - IL_0073: callvirt instance void class [mscorlib]System.IO.Stream::WriteByte(unsigned int8) - IL_0078: ldloc.0 - IL_0079: ldarg.1 - IL_007a: callvirt instance int32 string::get_Length() - IL_007f: blt IL_0019 + IL_0038: ldloc.0 + IL_0039: ldloc.1 + IL_003a: ldarg.0 + IL_003b: ldloc.2 + IL_003c: dup + IL_003d: ldc.i4.1 + IL_003e: add + IL_003f: stloc.2 + IL_0040: callvirt instance char string::get_Chars(int32) + IL_0045: call unsigned int8 class NDesk.DBus.Authentication.Sasl::FromHexChar(char) + IL_004a: ldc.i4.4 + IL_004b: shl + IL_004c: conv.u1 + IL_004d: stelem.i1 + IL_004e: ldloc.0 + IL_004f: ldloc.1 + IL_0050: dup + IL_0051: ldc.i4.1 + IL_0052: add + IL_0053: stloc.1 + IL_0054: ldelema [mscorlib]System.Byte + IL_0059: dup + IL_005a: ldind.u1 + IL_005b: ldarg.0 + IL_005c: ldloc.2 + IL_005d: dup + IL_005e: ldc.i4.1 + IL_005f: add + IL_0060: stloc.2 + IL_0061: callvirt instance char string::get_Chars(int32) + IL_0066: call unsigned int8 class NDesk.DBus.Authentication.Sasl::FromHexChar(char) + IL_006b: add + IL_006c: conv.u1 + IL_006d: stind.i1 + IL_006e: ldloc.1 + IL_006f: ldloc.0 + IL_0070: ldlen + IL_0071: conv.i4 + IL_0072: blt IL_0038 - IL_0084: ldarg.0 - IL_0085: callvirt instance void class [mscorlib]System.IO.Stream::Flush() - IL_008a: ldc.i4.1 - IL_008b: ret - } // end of method MessageDumper::ReadFromHex + IL_0077: ldloc.0 + IL_0078: ret + } // end of method Sasl::FromHex - } // end of class NDesk.DBus.MessageDumper + } // end of class NDesk.DBus.Authentication.Sasl } -.namespace NDesk.DBus +.namespace NDesk.DBus.Transports { - .class private auto ansi beforefieldinit MessageFilter - extends [mscorlib]System.Object + .class private auto ansi beforefieldinit UnixNativeTransport + extends NDesk.DBus.Transports.UnixTransport { + .field assembly class NDesk.Unix.UnixSocket socket - // method line 1185 + // method line 1166 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x11cc8 + // Method begins at RVA 0x1177d // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() + IL_0001: call instance void class NDesk.DBus.Transports.UnixTransport::'.ctor'() IL_0006: ret - } // end of method MessageFilter::.ctor + } // end of method UnixNativeTransport::.ctor - // method line 1186 - .method public static hidebysig - default string MessageTypeToString (valuetype NDesk.DBus.MessageType mtype) cil managed + // method line 1167 + .method public virtual hidebysig + instance default string AuthString () cil managed { - // Method begins at RVA 0x11cd0 - // Code size 83 (0x53) - .maxstack 2 - IL_0000: ldarg.0 - IL_0001: switch ( - IL_0037, - IL_001f, - IL_0025, - IL_002b, - IL_0031) - IL_001a: br IL_003d - - IL_001f: ldstr "method_call" - IL_0024: ret - IL_0025: ldstr "method_return" - IL_002a: ret - IL_002b: ldstr "error" - IL_0030: ret - IL_0031: ldstr "signal" - IL_0036: ret - IL_0037: ldstr "invalid" - IL_003c: ret - IL_003d: ldstr "Bad MessageType: " - IL_0042: ldarg.0 - IL_0043: box NDesk.DBus.MessageType - IL_0048: call string string::Concat(object, object) - IL_004d: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0052: throw - } // end of method MessageFilter::MessageTypeToString + // Method begins at RVA 0x11788 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + int64 V_0) + IL_0000: call int64 class NDesk.Unix.UnixUid::GetEUID() + IL_0005: stloc.0 + IL_0006: ldloca.s 0 + IL_0008: constrained. [mscorlib]System.Int64 + IL_000e: callvirt instance string object::ToString() + IL_0013: ret + } // end of method UnixNativeTransport::AuthString - // method line 1187 - .method public static hidebysig - default valuetype NDesk.DBus.MessageType StringToMessageType (string text) cil managed + // method line 1168 + .method public virtual hidebysig + instance default void Open (string path, bool 'abstract') cil managed { - // Method begins at RVA 0x11d30 - // Code size 118 (0x76) - .maxstack 2 - IL_0000: ldarg.0 - IL_0001: brfalse IL_0065 + // Method begins at RVA 0x117a8 + // Code size 95 (0x5f) + .maxstack 3 + IL_0000: ldarg.1 + IL_0001: call bool string::IsNullOrEmpty(string) + IL_0006: brfalse IL_0016 - IL_0006: ldarg.0 - IL_0007: ldstr "method_call" - IL_000c: call bool string::op_Equality(string, string) - IL_0011: brtrue IL_005b + IL_000b: ldstr "path" + IL_0010: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0015: throw + IL_0016: ldarg.2 + IL_0017: brfalse IL_002e - IL_0016: ldarg.0 - IL_0017: ldstr "method_return" - IL_001c: call bool string::op_Equality(string, string) - IL_0021: brtrue IL_005d + IL_001c: ldarg.0 + IL_001d: ldarg.0 + IL_001e: ldarg.1 + IL_001f: call instance class NDesk.Unix.UnixSocket class NDesk.DBus.Transports.UnixNativeTransport::OpenAbstractUnix(string) + IL_0024: stfld class NDesk.Unix.UnixSocket NDesk.DBus.Transports.UnixNativeTransport::socket + IL_0029: br IL_003b - IL_0026: ldarg.0 - IL_0027: ldstr "error" - IL_002c: call bool string::op_Equality(string, string) - IL_0031: brtrue IL_005f + IL_002e: ldarg.0 + IL_002f: ldarg.0 + IL_0030: ldarg.1 + IL_0031: call instance class NDesk.Unix.UnixSocket class NDesk.DBus.Transports.UnixNativeTransport::OpenUnix(string) + IL_0036: stfld class NDesk.Unix.UnixSocket NDesk.DBus.Transports.UnixNativeTransport::socket + IL_003b: ldarg.0 + IL_003c: ldarg.0 + IL_003d: ldfld class NDesk.Unix.UnixSocket NDesk.DBus.Transports.UnixNativeTransport::socket + IL_0042: ldfld int32 NDesk.Unix.UnixSocket::Handle + IL_0047: conv.i8 + IL_0048: stfld int64 NDesk.DBus.Transports.Transport::SocketHandle + IL_004d: ldarg.0 + IL_004e: ldarg.0 + IL_004f: ldfld class NDesk.Unix.UnixSocket NDesk.DBus.Transports.UnixNativeTransport::socket + IL_0054: newobj instance void class NDesk.Unix.UnixStream::'.ctor'(class NDesk.Unix.UnixSocket) + IL_0059: stfld class [mscorlib]System.IO.Stream NDesk.DBus.Transports.Transport::Stream + IL_005e: ret + } // end of method UnixNativeTransport::Open - IL_0036: ldarg.0 - IL_0037: ldstr "signal" - IL_003c: call bool string::op_Equality(string, string) - IL_0041: brtrue IL_0061 + // method line 1169 + .method private hidebysig + instance default void WriteBsdCred () cil managed + { + // Method begins at RVA 0x11814 + // Code size 171 (0xab) + .maxstack 3 + .locals init ( + unsigned int8 V_0, + valuetype NDesk.Unix.IOVector V_1, + valuetype NDesk.DBus.Transports.msghdr V_2, + valuetype NDesk.DBus.Transports.cmsg V_3, + int32 V_4) + IL_0000: ldc.i4.0 + IL_0001: stloc.0 + IL_0002: ldloca.s 1 + IL_0004: initobj NDesk.Unix.IOVector + IL_000a: ldloca.s 1 + IL_000c: ldloca.s 0 + IL_000e: stfld void* NDesk.Unix.IOVector::Base + IL_0013: ldloca.s 1 + IL_0015: ldc.i4.1 + IL_0016: call instance void valuetype NDesk.Unix.IOVector::set_Length(int32) + IL_001b: ldloca.s 2 + IL_001d: initobj NDesk.DBus.Transports.msghdr + IL_0023: ldloca.s 2 + IL_0025: ldloca.s 1 + IL_0027: stfld valuetype NDesk.Unix.IOVector* NDesk.DBus.Transports.msghdr::msg_iov + IL_002c: ldloca.s 2 + IL_002e: ldc.i4.1 + IL_002f: stfld int32 NDesk.DBus.Transports.msghdr::msg_iovlen + IL_0034: ldloca.s 3 + IL_0036: initobj NDesk.DBus.Transports.cmsg + IL_003c: ldloca.s 2 + IL_003e: ldloca.s 3 + IL_0040: call native int native int::op_Explicit(void*) + IL_0045: stfld native int NDesk.DBus.Transports.msghdr::msg_control + IL_004a: ldloca.s 2 + IL_004c: sizeof NDesk.DBus.Transports.cmsg + IL_0052: stfld unsigned int32 NDesk.DBus.Transports.msghdr::msg_controllen + IL_0057: ldloca.s 3 + IL_0059: ldflda valuetype NDesk.DBus.Transports.cmsghdr NDesk.DBus.Transports.cmsg::hdr + IL_005e: sizeof NDesk.DBus.Transports.cmsg + IL_0064: stfld unsigned int32 NDesk.DBus.Transports.cmsghdr::cmsg_len + IL_0069: ldloca.s 3 + IL_006b: ldflda valuetype NDesk.DBus.Transports.cmsghdr NDesk.DBus.Transports.cmsg::hdr + IL_0070: ldc.i4 65535 + IL_0075: stfld int32 NDesk.DBus.Transports.cmsghdr::cmsg_level + IL_007a: ldloca.s 3 + IL_007c: ldflda valuetype NDesk.DBus.Transports.cmsghdr NDesk.DBus.Transports.cmsg::hdr + IL_0081: ldc.i4.3 + IL_0082: stfld int32 NDesk.DBus.Transports.cmsghdr::cmsg_type + IL_0087: ldarg.0 + IL_0088: ldfld class NDesk.Unix.UnixSocket NDesk.DBus.Transports.UnixNativeTransport::socket + IL_008d: ldloca.s 2 + IL_008f: ldc.i4.0 + IL_0090: callvirt instance int32 class NDesk.Unix.UnixSocket::SendMsg(void*, int32) + IL_0095: stloc.s 4 + IL_0097: ldloc.s 4 + IL_0099: ldc.i4.1 + IL_009a: beq IL_00aa - IL_0046: ldarg.0 - IL_0047: ldstr "invalid" - IL_004c: call bool string::op_Equality(string, string) - IL_0051: brtrue IL_0063 + IL_009f: ldstr "Failed to write credentials" + IL_00a4: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_00a9: throw + IL_00aa: ret + } // end of method UnixNativeTransport::WriteBsdCred - IL_0056: br IL_0065 + // method line 1170 + .method public virtual hidebysig + instance default void WriteCred () cil managed + { + // Method begins at RVA 0x118cc + // Code size 57 (0x39) + .maxstack 2 + .locals init ( + unsigned int8 V_0) + .try { // 0 + IL_0000: ldarg.0 + IL_0001: call instance void class NDesk.DBus.Transports.UnixNativeTransport::WriteBsdCred() + IL_0006: leave IL_0038 - IL_005b: ldc.i4.1 - IL_005c: ret - IL_005d: ldc.i4.2 - IL_005e: ret - IL_005f: ldc.i4.3 - IL_0060: ret - IL_0061: ldc.i4.4 - IL_0062: ret - IL_0063: ldc.i4.0 - IL_0064: ret - IL_0065: ldstr "Bad MessageType: " - IL_006a: ldarg.0 - IL_006b: call string string::Concat(string, string) - IL_0070: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0075: throw - } // end of method MessageFilter::StringToMessageType + } // end .try 0 + catch class [mscorlib]System.Object { // 0 + IL_000b: pop + IL_000c: ldsfld bool NDesk.DBus.Protocol::Verbose + IL_0011: brfalse IL_0025 - // method line 1188 + IL_0016: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_001b: ldstr "Warning: WriteBsdCred() failed; falling back to ordinary WriteCred()" + IL_0020: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0025: leave IL_002a + + } // end handler 0 + IL_002a: ldc.i4.0 + IL_002b: stloc.0 + IL_002c: ldarg.0 + IL_002d: ldfld class [mscorlib]System.IO.Stream NDesk.DBus.Transports.Transport::Stream + IL_0032: ldloc.0 + IL_0033: callvirt instance void class [mscorlib]System.IO.Stream::WriteByte(unsigned int8) + IL_0038: ret + } // end of method UnixNativeTransport::WriteCred + + // method line 1171 .method public static hidebysig - default string CreateMatchRule (valuetype NDesk.DBus.MessageType mtype) cil managed + default unsigned int8[] GetSockAddr (string path) cil managed { - // Method begins at RVA 0x11db2 - // Code size 22 (0x16) - .maxstack 8 - IL_0000: ldstr "type='" + // Method begins at RVA 0x11924 + // Code size 82 (0x52) + .maxstack 4 + .locals init ( + unsigned int8[] V_0, + unsigned int8[] V_1, + unsigned int8[] V_2, + int32 V_3) + IL_0000: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() IL_0005: ldarg.0 - IL_0006: call string class NDesk.DBus.MessageFilter::MessageTypeToString(valuetype NDesk.DBus.MessageType) - IL_000b: ldstr "'" - IL_0010: call string string::Concat(string, string, string) - IL_0015: ret - } // end of method MessageFilter::CreateMatchRule - - } // end of class NDesk.DBus.MessageFilter -} + IL_0006: callvirt instance unsigned int8[] class [mscorlib]System.Text.Encoding::GetBytes(string) + IL_000b: stloc.0 + IL_000c: ldc.i4.2 + IL_000d: ldloc.0 + IL_000e: ldlen + IL_000f: conv.i4 + IL_0010: add + IL_0011: ldc.i4.1 + IL_0012: add + IL_0013: newarr [mscorlib]System.Byte + IL_0018: stloc.1 + IL_0019: ldc.i4.1 + IL_001a: call unsigned int8[] class [mscorlib]System.BitConverter::GetBytes(int16) + IL_001f: stloc.2 + IL_0020: ldloc.1 + IL_0021: ldc.i4.0 + IL_0022: ldloc.2 + IL_0023: ldc.i4.0 + IL_0024: ldelem.u1 + IL_0025: stelem.i1 + IL_0026: ldloc.1 + IL_0027: ldc.i4.1 + IL_0028: ldloc.2 + IL_0029: ldc.i4.1 + IL_002a: ldelem.u1 + IL_002b: stelem.i1 + IL_002c: ldc.i4.0 + IL_002d: stloc.3 + IL_002e: br IL_003f -.namespace NDesk.DBus -{ - .class private auto ansi beforefieldinit DProxy - extends [mscorlib]System.Runtime.Remoting.Proxies.RealProxy - { - .field family class NDesk.DBus.BusObject busObject - .field private static class [mscorlib]System.Reflection.MethodInfo mi_GetHashCode - .field private static class [mscorlib]System.Reflection.MethodInfo mi_Equals - .field private static class [mscorlib]System.Reflection.MethodInfo mi_ToString - .field private static class [mscorlib]System.Reflection.MethodInfo mi_GetLifetimeService + IL_0033: ldloc.1 + IL_0034: ldc.i4.2 + IL_0035: ldloc.3 + IL_0036: add + IL_0037: ldloc.0 + IL_0038: ldloc.3 + IL_0039: ldelem.u1 + IL_003a: stelem.i1 + IL_003b: ldloc.3 + IL_003c: ldc.i4.1 + IL_003d: add + IL_003e: stloc.3 + IL_003f: ldloc.3 + IL_0040: ldloc.0 + IL_0041: ldlen + IL_0042: conv.i4 + IL_0043: bne.un IL_0033 - // method line 1189 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NDesk.DBus.BusObject busObject, class [mscorlib]System.Type 'type') cil managed - { - // Method begins at RVA 0x11dc9 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.2 - IL_0002: call instance void class [mscorlib]System.Runtime.Remoting.Proxies.RealProxy::'.ctor'(class [mscorlib]System.Type) - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld class NDesk.DBus.BusObject NDesk.DBus.DProxy::busObject - IL_000e: ret - } // end of method DProxy::.ctor + IL_0048: ldloc.1 + IL_0049: ldc.i4.2 + IL_004a: ldloc.0 + IL_004b: ldlen + IL_004c: conv.i4 + IL_004d: add + IL_004e: ldc.i4.0 + IL_004f: stelem.i1 + IL_0050: ldloc.1 + IL_0051: ret + } // end of method UnixNativeTransport::GetSockAddr - // method line 1190 - .method private hidebysig - instance default object GetDefaultReturn (class [mscorlib]System.Reflection.MethodBase mi, object[] inArgs) cil managed + // method line 1172 + .method public static hidebysig + default unsigned int8[] GetSockAddrAbstract (string path) cil managed { - // Method begins at RVA 0x11ddc - // Code size 172 (0xac) - .maxstack 3 - IL_0000: ldarg.1 - IL_0001: ldsfld class [mscorlib]System.Reflection.MethodInfo NDesk.DBus.DProxy::mi_GetHashCode - IL_0006: call bool class [mscorlib]System.Reflection.MethodBase::op_Equality(class [mscorlib]System.Reflection.MethodBase, class [mscorlib]System.Reflection.MethodBase) - IL_000b: brfalse IL_002b - - IL_0010: ldarg.0 - IL_0011: ldfld class NDesk.DBus.BusObject NDesk.DBus.DProxy::busObject - IL_0016: callvirt instance class NDesk.DBus.ObjectPath class NDesk.DBus.BusObject::get_Path() - IL_001b: ldfld string NDesk.DBus.ObjectPath::Value - IL_0020: callvirt instance int32 object::GetHashCode() - IL_0025: box [mscorlib]System.Int32 - IL_002a: ret - IL_002b: ldarg.1 - IL_002c: ldsfld class [mscorlib]System.Reflection.MethodInfo NDesk.DBus.DProxy::mi_Equals - IL_0031: call bool class [mscorlib]System.Reflection.MethodBase::op_Equality(class [mscorlib]System.Reflection.MethodBase, class [mscorlib]System.Reflection.MethodBase) - IL_0036: brfalse IL_0072 + // Method begins at RVA 0x11984 + // Code size 76 (0x4c) + .maxstack 4 + .locals init ( + unsigned int8[] V_0, + unsigned int8[] V_1, + unsigned int8[] V_2, + int32 V_3) + IL_0000: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() + IL_0005: ldarg.0 + IL_0006: callvirt instance unsigned int8[] class [mscorlib]System.Text.Encoding::GetBytes(string) + IL_000b: stloc.0 + IL_000c: ldc.i4.3 + IL_000d: ldloc.0 + IL_000e: ldlen + IL_000f: conv.i4 + IL_0010: add + IL_0011: newarr [mscorlib]System.Byte + IL_0016: stloc.1 + IL_0017: ldc.i4.1 + IL_0018: call unsigned int8[] class [mscorlib]System.BitConverter::GetBytes(int16) + IL_001d: stloc.2 + IL_001e: ldloc.1 + IL_001f: ldc.i4.0 + IL_0020: ldloc.2 + IL_0021: ldc.i4.0 + IL_0022: ldelem.u1 + IL_0023: stelem.i1 + IL_0024: ldloc.1 + IL_0025: ldc.i4.1 + IL_0026: ldloc.2 + IL_0027: ldc.i4.1 + IL_0028: ldelem.u1 + IL_0029: stelem.i1 + IL_002a: ldloc.1 + IL_002b: ldc.i4.2 + IL_002c: ldc.i4.0 + IL_002d: stelem.i1 + IL_002e: ldc.i4.0 + IL_002f: stloc.3 + IL_0030: br IL_0041 - IL_003b: ldarg.0 - IL_003c: ldfld class NDesk.DBus.BusObject NDesk.DBus.DProxy::busObject - IL_0041: callvirt instance class NDesk.DBus.ObjectPath class NDesk.DBus.BusObject::get_Path() - IL_0046: ldfld string NDesk.DBus.ObjectPath::Value - IL_004b: ldarg.2 - IL_004c: ldc.i4.0 - IL_004d: ldelem.ref - IL_004e: castclass [mscorlib]System.MarshalByRefObject - IL_0053: callvirt instance object class [mscorlib]System.MarshalByRefObject::GetLifetimeService() - IL_0058: castclass NDesk.DBus.BusObject - IL_005d: callvirt instance class NDesk.DBus.ObjectPath class NDesk.DBus.BusObject::get_Path() - IL_0062: ldfld string NDesk.DBus.ObjectPath::Value - IL_0067: call bool string::op_Equality(string, string) - IL_006c: box [mscorlib]System.Boolean - IL_0071: ret - IL_0072: ldarg.1 - IL_0073: ldsfld class [mscorlib]System.Reflection.MethodInfo NDesk.DBus.DProxy::mi_ToString - IL_0078: call bool class [mscorlib]System.Reflection.MethodBase::op_Equality(class [mscorlib]System.Reflection.MethodBase, class [mscorlib]System.Reflection.MethodBase) - IL_007d: brfalse IL_0093 + IL_0035: ldloc.1 + IL_0036: ldc.i4.3 + IL_0037: ldloc.3 + IL_0038: add + IL_0039: ldloc.0 + IL_003a: ldloc.3 + IL_003b: ldelem.u1 + IL_003c: stelem.i1 + IL_003d: ldloc.3 + IL_003e: ldc.i4.1 + IL_003f: add + IL_0040: stloc.3 + IL_0041: ldloc.3 + IL_0042: ldloc.0 + IL_0043: ldlen + IL_0044: conv.i4 + IL_0045: bne.un IL_0035 - IL_0082: ldarg.0 - IL_0083: ldfld class NDesk.DBus.BusObject NDesk.DBus.DProxy::busObject - IL_0088: callvirt instance class NDesk.DBus.ObjectPath class NDesk.DBus.BusObject::get_Path() - IL_008d: ldfld string NDesk.DBus.ObjectPath::Value - IL_0092: ret - IL_0093: ldarg.1 - IL_0094: ldsfld class [mscorlib]System.Reflection.MethodInfo NDesk.DBus.DProxy::mi_GetLifetimeService - IL_0099: call bool class [mscorlib]System.Reflection.MethodBase::op_Equality(class [mscorlib]System.Reflection.MethodBase, class [mscorlib]System.Reflection.MethodBase) - IL_009e: brfalse IL_00aa + IL_004a: ldloc.1 + IL_004b: ret + } // end of method UnixNativeTransport::GetSockAddrAbstract - IL_00a3: ldarg.0 - IL_00a4: ldfld class NDesk.DBus.BusObject NDesk.DBus.DProxy::busObject - IL_00a9: ret - IL_00aa: ldnull - IL_00ab: ret - } // end of method DProxy::GetDefaultReturn + // method line 1173 + .method assembly hidebysig + instance default class NDesk.Unix.UnixSocket OpenUnix (string path) cil managed + { + // Method begins at RVA 0x119dc + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + unsigned int8[] V_0, + class NDesk.Unix.UnixSocket V_1) + IL_0000: ldarg.1 + IL_0001: call unsigned int8[] class NDesk.DBus.Transports.UnixNativeTransport::GetSockAddr(string) + IL_0006: stloc.0 + IL_0007: newobj instance void class NDesk.Unix.UnixSocket::'.ctor'() + IL_000c: stloc.1 + IL_000d: ldloc.1 + IL_000e: ldloc.0 + IL_000f: callvirt instance void class NDesk.Unix.UnixSocket::Connect(unsigned int8[]) + IL_0014: ldloc.1 + IL_0015: ret + } // end of method UnixNativeTransport::OpenUnix - // method line 1191 - .method public virtual hidebysig - instance default class [mscorlib]System.Runtime.Remoting.Messaging.IMessage Invoke (class [mscorlib]System.Runtime.Remoting.Messaging.IMessage message) cil managed + // method line 1174 + .method assembly hidebysig + instance default class NDesk.Unix.UnixSocket OpenAbstractUnix (string path) cil managed { - // Method begins at RVA 0x11e94 - // Code size 122 (0x7a) - .maxstack 7 + // Method begins at RVA 0x11a00 + // Code size 22 (0x16) + .maxstack 2 .locals init ( - class [mscorlib]System.Runtime.Remoting.Messaging.IMethodCallMessage V_0, - object V_1, - class [mscorlib]System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper V_2, - object[] V_3, - object V_4, - class [mscorlib]System.Exception V_5, - class [mscorlib]System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper V_6) + unsigned int8[] V_0, + class NDesk.Unix.UnixSocket V_1) IL_0000: ldarg.1 - IL_0001: castclass [mscorlib]System.Runtime.Remoting.Messaging.IMethodCallMessage + IL_0001: call unsigned int8[] class NDesk.DBus.Transports.UnixNativeTransport::GetSockAddrAbstract(string) IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldloc.0 - IL_0009: callvirt instance class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Runtime.Remoting.Messaging.IMethodMessage::get_MethodBase() + IL_0007: newobj instance void class NDesk.Unix.UnixSocket::'.ctor'() + IL_000c: stloc.1 + IL_000d: ldloc.1 IL_000e: ldloc.0 - IL_000f: callvirt instance object[] class [mscorlib]System.Runtime.Remoting.Messaging.IMethodCallMessage::get_InArgs() - IL_0014: call instance object class NDesk.DBus.DProxy::GetDefaultReturn(class [mscorlib]System.Reflection.MethodBase, object[]) - IL_0019: stloc.1 - IL_001a: ldloc.1 - IL_001b: brfalse IL_0035 + IL_000f: callvirt instance void class NDesk.Unix.UnixSocket::Connect(unsigned int8[]) + IL_0014: ldloc.1 + IL_0015: ret + } // end of method UnixNativeTransport::OpenAbstractUnix - IL_0020: ldarg.1 - IL_0021: castclass [mscorlib]System.Runtime.Remoting.Messaging.IMethodReturnMessage - IL_0026: newobj instance void class [mscorlib]System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper::'.ctor'(class [mscorlib]System.Runtime.Remoting.Messaging.IMethodReturnMessage) - IL_002b: stloc.2 - IL_002c: ldloc.2 - IL_002d: ldloc.1 - IL_002e: callvirt instance void class [mscorlib]System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper::set_ReturnValue(object) - IL_0033: ldloc.2 - IL_0034: ret - IL_0035: ldarg.0 - IL_0036: ldfld class NDesk.DBus.BusObject NDesk.DBus.DProxy::busObject - IL_003b: ldloc.0 - IL_003c: callvirt instance class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Runtime.Remoting.Messaging.IMethodMessage::get_MethodBase() - IL_0041: ldloc.0 - IL_0042: callvirt instance string class [mscorlib]System.Runtime.Remoting.Messaging.IMethodMessage::get_MethodName() - IL_0047: ldloc.0 - IL_0048: callvirt instance object[] class [mscorlib]System.Runtime.Remoting.Messaging.IMethodCallMessage::get_InArgs() - IL_004d: ldloca.s 3 - IL_004f: ldloca.s 4 - IL_0051: ldloca.s 5 - IL_0053: callvirt instance void class NDesk.DBus.BusObject::Invoke(class [mscorlib]System.Reflection.MethodBase, string, object[], [out] object[]&, [out] object&, [out] class [mscorlib]System.Exception&) - IL_0058: ldarg.1 - IL_0059: castclass [mscorlib]System.Runtime.Remoting.Messaging.IMethodReturnMessage - IL_005e: newobj instance void class [mscorlib]System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper::'.ctor'(class [mscorlib]System.Runtime.Remoting.Messaging.IMethodReturnMessage) - IL_0063: stloc.s 6 - IL_0065: ldloc.s 6 - IL_0067: ldloc.s 5 - IL_0069: callvirt instance void class [mscorlib]System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper::set_Exception(class [mscorlib]System.Exception) - IL_006e: ldloc.s 6 - IL_0070: ldloc.s 4 - IL_0072: callvirt instance void class [mscorlib]System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper::set_ReturnValue(object) - IL_0077: ldloc.s 6 - IL_0079: ret - } // end of method DProxy::Invoke + } // end of class NDesk.DBus.Transports.UnixNativeTransport +} - // method line 1192 - .method family virtual hidebysig - instance default void Finalize () cil managed - { - // Method begins at RVA 0x11f1c - // Code size 59 (0x3b) - .maxstack 4 - .try { // 0 - IL_0000: ldsfld bool NDesk.DBus.Protocol::Verbose - IL_0005: brfalse IL_002e +.namespace NDesk.DBus.Transports +{ + .class private sequential ansi sealed beforefieldinit msghdr + extends [mscorlib]System.ValueType + { + .field public native int msg_name + .field public unsigned int32 msg_namelen + .field public valuetype NDesk.Unix.IOVector* msg_iov + .field public int32 msg_iovlen + .field public native int msg_control + .field public unsigned int32 msg_controllen + .field public int32 msg_flags - IL_000a: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_000f: ldstr "Warning: Finalization of " - IL_0014: ldarg.0 - IL_0015: ldfld class NDesk.DBus.BusObject NDesk.DBus.DProxy::busObject - IL_001a: callvirt instance class NDesk.DBus.ObjectPath class NDesk.DBus.BusObject::get_Path() - IL_001f: ldstr " not yet supported" - IL_0024: call string string::Concat(object, object, object) - IL_0029: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_002e: leave IL_003a + } // end of class NDesk.DBus.Transports.msghdr +} - } // end .try 0 - finally { // 0 - IL_0033: ldarg.0 - IL_0034: call instance void object::Finalize() - IL_0039: endfinally - } // end handler 0 - IL_003a: ret - } // end of method DProxy::Finalize +.namespace NDesk.DBus.Transports +{ + .class private sequential ansi sealed beforefieldinit cmsghdr + extends [mscorlib]System.ValueType + { + .field public unsigned int32 cmsg_len + .field public int32 cmsg_level + .field public int32 cmsg_type - // method line 1193 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0x11f74 - // Code size 102 (0x66) - .maxstack 3 - IL_0000: ldtoken [mscorlib]System.Object - IL_0005: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000a: ldstr "GetHashCode" - IL_000f: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) - IL_0014: stsfld class [mscorlib]System.Reflection.MethodInfo NDesk.DBus.DProxy::mi_GetHashCode - IL_0019: ldtoken [mscorlib]System.Object - IL_001e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0023: ldstr "Equals" - IL_0028: ldc.i4.4 - IL_0029: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string, valuetype [mscorlib]System.Reflection.BindingFlags) - IL_002e: stsfld class [mscorlib]System.Reflection.MethodInfo NDesk.DBus.DProxy::mi_Equals - IL_0033: ldtoken [mscorlib]System.Object - IL_0038: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_003d: ldstr "ToString" - IL_0042: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) - IL_0047: stsfld class [mscorlib]System.Reflection.MethodInfo NDesk.DBus.DProxy::mi_ToString - IL_004c: ldtoken [mscorlib]System.MarshalByRefObject - IL_0051: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0056: ldstr "GetLifetimeService" - IL_005b: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) - IL_0060: stsfld class [mscorlib]System.Reflection.MethodInfo NDesk.DBus.DProxy::mi_GetLifetimeService - IL_0065: ret - } // end of method DProxy::.cctor + } // end of class NDesk.DBus.Transports.cmsghdr +} - } // end of class NDesk.DBus.DProxy +.namespace NDesk.DBus.Transports +{ + .class private sequential ansi sealed beforefieldinit cmsgcred + extends [mscorlib]System.ValueType + { + .field private static literal int32 CMGROUP_MAX = int32(0x00000010) + .field public int32 cmcred_pid + .field public unsigned int32 cmcred_uid + .field public unsigned int32 cmcred_euid + .field public unsigned int32 cmcred_gid + .field public int16 cmcred_ngroups + .field public valuetype NDesk.DBus.Transports.cmsgcred/'__FixedBuffer0' cmcred_groups + .custom instance void class [mscorlib]System.Runtime.CompilerServices.FixedBufferAttribute::'.ctor'(class [mscorlib]System.Type, int32) = ( + 01 00 5A 53 79 73 74 65 6D 2E 55 49 6E 74 33 32 // ..ZSystem.UInt32 + 2C 20 6D 73 63 6F 72 6C 69 62 2C 20 56 65 72 73 // , mscorlib, Vers + 69 6F 6E 3D 34 2E 30 2E 30 2E 30 2C 20 43 75 6C // ion=4.0.0.0, Cul + 74 75 72 65 3D 6E 65 75 74 72 61 6C 2C 20 50 75 // ture=neutral, Pu + 62 6C 69 63 4B 65 79 54 6F 6B 65 6E 3D 62 37 37 // blicKeyToken=b77 + 61 35 63 35 36 31 39 33 34 65 30 38 39 10 00 00 // a5c561934e089... + 00 00 00 ) // ... + + + .class nested public sequential ansi sealed beforefieldinit '__FixedBuffer0' + extends [mscorlib]System.ValueType + { + .custom instance void class [mscorlib]System.Runtime.CompilerServices.UnsafeValueTypeAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .pack 0 + .size 64 + .field public unsigned int32 FixedElementField + + } // end of class __FixedBuffer0 + + } // end of class NDesk.DBus.Transports.cmsgcred +} + +.namespace NDesk.DBus.Transports +{ + .class private sequential ansi sealed beforefieldinit cmsg + extends [mscorlib]System.ValueType + { + .field public valuetype NDesk.DBus.Transports.cmsghdr hdr + .field public valuetype NDesk.DBus.Transports.cmsgcred cred + + } // end of class NDesk.DBus.Transports.cmsg } .namespace org.freedesktop.DBus @@ -38729,7 +37646,7 @@ extends [mscorlib]System.MulticastDelegate { - // method line 1194 + // method line 1175 .method public hidebysig specialname rtspecialname instance default void '.ctor' (object 'object', native int 'method') runtime managed { @@ -38737,7 +37654,7 @@ // Disassembly of native methods is not supported } // end of method NameOwnerChangedHandler::.ctor - // method line 1195 + // method line 1176 .method public virtual hidebysig newslot instance default void Invoke (string name, string old_owner, string new_owner) runtime managed { @@ -38745,7 +37662,7 @@ // Disassembly of native methods is not supported } // end of method NameOwnerChangedHandler::Invoke - // method line 1196 + // method line 1177 .method public virtual hidebysig newslot instance default class [mscorlib]System.IAsyncResult BeginInvoke (string name, string old_owner, string new_owner, class [mscorlib]System.AsyncCallback callback, object 'object') runtime managed { @@ -38753,7 +37670,7 @@ // Disassembly of native methods is not supported } // end of method NameOwnerChangedHandler::BeginInvoke - // method line 1197 + // method line 1178 .method public virtual hidebysig newslot instance default void EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed { @@ -38770,7 +37687,7 @@ extends [mscorlib]System.MulticastDelegate { - // method line 1198 + // method line 1179 .method public hidebysig specialname rtspecialname instance default void '.ctor' (object 'object', native int 'method') runtime managed { @@ -38778,7 +37695,7 @@ // Disassembly of native methods is not supported } // end of method NameAcquiredHandler::.ctor - // method line 1199 + // method line 1180 .method public virtual hidebysig newslot instance default void Invoke (string name) runtime managed { @@ -38786,7 +37703,7 @@ // Disassembly of native methods is not supported } // end of method NameAcquiredHandler::Invoke - // method line 1200 + // method line 1181 .method public virtual hidebysig newslot instance default class [mscorlib]System.IAsyncResult BeginInvoke (string name, class [mscorlib]System.AsyncCallback callback, object 'object') runtime managed { @@ -38794,7 +37711,7 @@ // Disassembly of native methods is not supported } // end of method NameAcquiredHandler::BeginInvoke - // method line 1201 + // method line 1182 .method public virtual hidebysig newslot instance default void EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed { @@ -38811,7 +37728,7 @@ extends [mscorlib]System.MulticastDelegate { - // method line 1202 + // method line 1183 .method public hidebysig specialname rtspecialname instance default void '.ctor' (object 'object', native int 'method') runtime managed { @@ -38819,7 +37736,7 @@ // Disassembly of native methods is not supported } // end of method NameLostHandler::.ctor - // method line 1203 + // method line 1184 .method public virtual hidebysig newslot instance default void Invoke (string name) runtime managed { @@ -38827,7 +37744,7 @@ // Disassembly of native methods is not supported } // end of method NameLostHandler::Invoke - // method line 1204 + // method line 1185 .method public virtual hidebysig newslot instance default class [mscorlib]System.IAsyncResult BeginInvoke (string name, class [mscorlib]System.AsyncCallback callback, object 'object') runtime managed { @@ -38835,7 +37752,7 @@ // Disassembly of native methods is not supported } // end of method NameLostHandler::BeginInvoke - // method line 1205 + // method line 1186 .method public virtual hidebysig newslot instance default void EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed { @@ -38855,14 +37772,14 @@ 6F 70 2E 44 42 75 73 2E 50 65 65 72 00 00 ) // op.DBus.Peer.. - // method line 1206 + // method line 1187 .method public virtual hidebysig newslot abstract instance default void Ping () cil managed { // Method begins at RVA 0x0 } // end of method Peer::Ping - // method line 1207 + // method line 1188 .method public virtual hidebysig newslot abstract instance default string GetMachineId () cil managed { @@ -38887,7 +37804,7 @@ 63 74 61 62 6C 65 00 00 ) // ctable.. - // method line 1208 + // method line 1189 .method public virtual hidebysig newslot abstract instance default string Introspect () cil managed { @@ -38910,7 +37827,7 @@ 65 73 00 00 ) // es.. - // method line 1209 + // method line 1190 .method public virtual hidebysig newslot abstract instance default object Get (string 'interface', string propname) cil managed { @@ -38920,14 +37837,14 @@ // Method begins at RVA 0x0 } // end of method Properties::Get - // method line 1210 + // method line 1191 .method public virtual hidebysig newslot abstract instance default void Set (string 'interface', string propname, object 'value') cil managed { // Method begins at RVA 0x0 } // end of method Properties::Set - // method line 1211 + // method line 1192 .method public virtual hidebysig newslot abstract instance default class [mscorlib]System.Collections.Generic.IDictionary`2 GetAll (string 'interface') cil managed { @@ -38949,161 +37866,161 @@ 6F 70 2E 44 42 75 73 00 00 ) // op.DBus.. - // method line 1212 + // method line 1193 .method public virtual hidebysig newslot abstract instance default valuetype org.freedesktop.DBus.RequestNameReply RequestName (string name, valuetype org.freedesktop.DBus.NameFlag 'flags') cil managed { // Method begins at RVA 0x0 } // end of method IBus::RequestName - // method line 1213 + // method line 1194 .method public virtual hidebysig newslot abstract instance default valuetype org.freedesktop.DBus.ReleaseNameReply ReleaseName (string name) cil managed { // Method begins at RVA 0x0 } // end of method IBus::ReleaseName - // method line 1214 + // method line 1195 .method public virtual hidebysig newslot abstract instance default string Hello () cil managed { // Method begins at RVA 0x0 } // end of method IBus::Hello - // method line 1215 + // method line 1196 .method public virtual hidebysig newslot abstract instance default string[] ListNames () cil managed { // Method begins at RVA 0x0 } // end of method IBus::ListNames - // method line 1216 + // method line 1197 .method public virtual hidebysig newslot abstract instance default string[] ListActivatableNames () cil managed { // Method begins at RVA 0x0 } // end of method IBus::ListActivatableNames - // method line 1217 + // method line 1198 .method public virtual hidebysig newslot abstract instance default bool NameHasOwner (string name) cil managed { // Method begins at RVA 0x0 } // end of method IBus::NameHasOwner - // method line 1218 + // method line 1199 .method public virtual hidebysig newslot abstract specialname instance default void add_NameOwnerChanged (class org.freedesktop.DBus.NameOwnerChangedHandler 'value') cil managed { // Method begins at RVA 0x0 } // end of method IBus::add_NameOwnerChanged - // method line 1219 + // method line 1200 .method public virtual hidebysig newslot abstract specialname instance default void remove_NameOwnerChanged (class org.freedesktop.DBus.NameOwnerChangedHandler 'value') cil managed { // Method begins at RVA 0x0 } // end of method IBus::remove_NameOwnerChanged - // method line 1220 + // method line 1201 .method public virtual hidebysig newslot abstract specialname instance default void add_NameLost (class org.freedesktop.DBus.NameLostHandler 'value') cil managed { // Method begins at RVA 0x0 } // end of method IBus::add_NameLost - // method line 1221 + // method line 1202 .method public virtual hidebysig newslot abstract specialname instance default void remove_NameLost (class org.freedesktop.DBus.NameLostHandler 'value') cil managed { // Method begins at RVA 0x0 } // end of method IBus::remove_NameLost - // method line 1222 + // method line 1203 .method public virtual hidebysig newslot abstract specialname instance default void add_NameAcquired (class org.freedesktop.DBus.NameAcquiredHandler 'value') cil managed { // Method begins at RVA 0x0 } // end of method IBus::add_NameAcquired - // method line 1223 + // method line 1204 .method public virtual hidebysig newslot abstract specialname instance default void remove_NameAcquired (class org.freedesktop.DBus.NameAcquiredHandler 'value') cil managed { // Method begins at RVA 0x0 } // end of method IBus::remove_NameAcquired - // method line 1224 + // method line 1205 .method public virtual hidebysig newslot abstract instance default valuetype org.freedesktop.DBus.StartReply StartServiceByName (string name, unsigned int32 'flags') cil managed { // Method begins at RVA 0x0 } // end of method IBus::StartServiceByName - // method line 1225 + // method line 1206 .method public virtual hidebysig newslot abstract instance default void UpdateActivationEnvironment (class [mscorlib]System.Collections.Generic.IDictionary`2 environment) cil managed { // Method begins at RVA 0x0 } // end of method IBus::UpdateActivationEnvironment - // method line 1226 + // method line 1207 .method public virtual hidebysig newslot abstract instance default string GetNameOwner (string name) cil managed { // Method begins at RVA 0x0 } // end of method IBus::GetNameOwner - // method line 1227 + // method line 1208 .method public virtual hidebysig newslot abstract instance default unsigned int32 GetConnectionUnixUser (string connection_name) cil managed { // Method begins at RVA 0x0 } // end of method IBus::GetConnectionUnixUser - // method line 1228 + // method line 1209 .method public virtual hidebysig newslot abstract instance default void AddMatch (string rule) cil managed { // Method begins at RVA 0x0 } // end of method IBus::AddMatch - // method line 1229 + // method line 1210 .method public virtual hidebysig newslot abstract instance default void RemoveMatch (string rule) cil managed { // Method begins at RVA 0x0 } // end of method IBus::RemoveMatch - // method line 1230 + // method line 1211 .method public virtual hidebysig newslot abstract instance default string GetId () cil managed { // Method begins at RVA 0x0 } // end of method IBus::GetId - // method line 1231 + // method line 1212 .method public virtual hidebysig newslot abstract instance default string[] ListQueuedOwners (string name) cil managed { // Method begins at RVA 0x0 } // end of method IBus::ListQueuedOwners - // method line 1232 + // method line 1213 .method public virtual hidebysig newslot abstract instance default unsigned int32 GetConnectionUnixProcessID (string connection_name) cil managed { // Method begins at RVA 0x0 } // end of method IBus::GetConnectionUnixProcessID - // method line 1233 + // method line 1214 .method public virtual hidebysig newslot abstract instance default unsigned int8[] GetConnectionSELinuxSecurityContext (string connection_name) cil managed { // Method begins at RVA 0x0 } // end of method IBus::GetConnectionSELinuxSecurityContext - // method line 1234 + // method line 1215 .method public virtual hidebysig newslot abstract instance default void ReloadConfig () cil managed { @@ -39130,3007 +38047,4090 @@ .namespace NDesk.DBus { - .class private auto ansi beforefieldinit MatchRule - extends [mscorlib]System.Object + .class private auto ansi sealed beforefieldinit Bus + extends NDesk.DBus.Connection { - .field public valuetype [mscorlib]System.Nullable`1 MessageType - .field public initonly class [System]System.Collections.Generic.SortedList`2 Fields - .field public initonly class [System.Core]System.Collections.Generic.HashSet`1 Args - .field private static class [System]System.Text.RegularExpressions.Regex argNRegex - .field private static class [System]System.Text.RegularExpressions.Regex matchRuleRegex - .field private static class [mscorlib]System.Comparison`1 '<>f__am$cache0' - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + .field private static class NDesk.DBus.Bus systemBus + .field private static class NDesk.DBus.Bus sessionBus + .field private static class NDesk.DBus.Bus starterBus + .field private static class [mscorlib]System.Collections.Generic.Dictionary`2 buses + .field private class org.freedesktop.DBus.IBus bus + .field private static initonly string DBusName + .field private static initonly class NDesk.DBus.ObjectPath DBusPath + .field private string unique_name - .field private static class [mscorlib]System.Comparison`1 '<>f__am$cache1' - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 1216 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string address) cil managed + { + // Method begins at RVA 0x11a22 + // Code size 36 (0x24) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call instance void class NDesk.DBus.Connection::'.ctor'(string) + IL_0007: ldarg.0 + IL_0008: ldarg.0 + IL_0009: ldsfld string NDesk.DBus.Bus::DBusName + IL_000e: ldsfld class NDesk.DBus.ObjectPath NDesk.DBus.Bus::DBusPath + IL_0013: call instance !!0 class NDesk.DBus.Connection::GetObject (string, class NDesk.DBus.ObjectPath) + IL_0018: stfld class org.freedesktop.DBus.IBus NDesk.DBus.Bus::bus + IL_001d: ldarg.0 + IL_001e: call instance void class NDesk.DBus.Bus::Register() + IL_0023: ret + } // end of method Bus::.ctor + // method line 1217 + .method public static hidebysig specialname + default class NDesk.DBus.Bus get_System () cil managed + { + // Method begins at RVA 0x11a48 + // Code size 84 (0x54) + .maxstack 2 + .locals init ( + class [mscorlib]System.Exception V_0) + IL_0000: ldsfld class NDesk.DBus.Bus NDesk.DBus.Bus::systemBus + IL_0005: brtrue IL_004e - // method line 1235 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + .try { // 0 + IL_000a: call string class NDesk.DBus.Address::get_StarterBusType() + IL_000f: ldstr "system" + IL_0014: call bool string::op_Equality(string, string) + IL_0019: brfalse IL_002d + + IL_001e: call class NDesk.DBus.Bus class NDesk.DBus.Bus::get_Starter() + IL_0023: stsfld class NDesk.DBus.Bus NDesk.DBus.Bus::systemBus + IL_0028: br IL_003c + + IL_002d: call string class NDesk.DBus.Address::get_System() + IL_0032: call class NDesk.DBus.Bus class NDesk.DBus.Bus::Open(string) + IL_0037: stsfld class NDesk.DBus.Bus NDesk.DBus.Bus::systemBus + IL_003c: leave IL_004e + + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0041: stloc.0 + IL_0042: ldstr "Unable to open the system message bus." + IL_0047: ldloc.0 + IL_0048: newobj instance void class [mscorlib]System.Exception::'.ctor'(string, class [mscorlib]System.Exception) + IL_004d: throw + } // end handler 0 + IL_004e: ldsfld class NDesk.DBus.Bus NDesk.DBus.Bus::systemBus + IL_0053: ret + } // end of method Bus::get_System + + // method line 1218 + .method public static hidebysig specialname + default class NDesk.DBus.Bus get_Session () cil managed { - // Method begins at RVA 0x11fe6 - // Code size 29 (0x1d) + // Method begins at RVA 0x11ab8 + // Code size 84 (0x54) + .maxstack 2 + .locals init ( + class [mscorlib]System.Exception V_0) + IL_0000: ldsfld class NDesk.DBus.Bus NDesk.DBus.Bus::sessionBus + IL_0005: brtrue IL_004e + + .try { // 0 + IL_000a: call string class NDesk.DBus.Address::get_StarterBusType() + IL_000f: ldstr "session" + IL_0014: call bool string::op_Equality(string, string) + IL_0019: brfalse IL_002d + + IL_001e: call class NDesk.DBus.Bus class NDesk.DBus.Bus::get_Starter() + IL_0023: stsfld class NDesk.DBus.Bus NDesk.DBus.Bus::sessionBus + IL_0028: br IL_003c + + IL_002d: call string class NDesk.DBus.Address::get_Session() + IL_0032: call class NDesk.DBus.Bus class NDesk.DBus.Bus::Open(string) + IL_0037: stsfld class NDesk.DBus.Bus NDesk.DBus.Bus::sessionBus + IL_003c: leave IL_004e + + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0041: stloc.0 + IL_0042: ldstr "Unable to open the session message bus." + IL_0047: ldloc.0 + IL_0048: newobj instance void class [mscorlib]System.Exception::'.ctor'(string, class [mscorlib]System.Exception) + IL_004d: throw + } // end handler 0 + IL_004e: ldsfld class NDesk.DBus.Bus NDesk.DBus.Bus::sessionBus + IL_0053: ret + } // end of method Bus::get_Session + + // method line 1219 + .method public static hidebysig specialname + default class NDesk.DBus.Bus get_Starter () cil managed + { + // Method begins at RVA 0x11b28 + // Code size 49 (0x31) + .maxstack 2 + .locals init ( + class [mscorlib]System.Exception V_0) + IL_0000: ldsfld class NDesk.DBus.Bus NDesk.DBus.Bus::starterBus + IL_0005: brtrue IL_002b + + .try { // 0 + IL_000a: call string class NDesk.DBus.Address::get_Starter() + IL_000f: call class NDesk.DBus.Bus class NDesk.DBus.Bus::Open(string) + IL_0014: stsfld class NDesk.DBus.Bus NDesk.DBus.Bus::starterBus + IL_0019: leave IL_002b + + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_001e: stloc.0 + IL_001f: ldstr "Unable to open the starter message bus." + IL_0024: ldloc.0 + IL_0025: newobj instance void class [mscorlib]System.Exception::'.ctor'(string, class [mscorlib]System.Exception) + IL_002a: throw + } // end handler 0 + IL_002b: ldsfld class NDesk.DBus.Bus NDesk.DBus.Bus::starterBus + IL_0030: ret + } // end of method Bus::get_Starter + + // method line 1220 + .method public static hidebysig + default class NDesk.DBus.Bus Open (string address) cil managed + { + // Method begins at RVA 0x11b78 + // Code size 58 (0x3a) + .maxstack 3 + .locals init ( + class NDesk.DBus.Bus V_0) + IL_0000: ldarg.0 + IL_0001: brtrue IL_0011 + + IL_0006: ldstr "address" + IL_000b: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0010: throw + IL_0011: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Bus::buses + IL_0016: ldarg.0 + IL_0017: ldloca.s 0 + IL_0019: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) + IL_001e: brfalse IL_0025 + + IL_0023: ldloc.0 + IL_0024: ret + IL_0025: ldarg.0 + IL_0026: newobj instance void class NDesk.DBus.Bus::'.ctor'(string) + IL_002b: stloc.0 + IL_002c: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Bus::buses + IL_0031: ldarg.0 + IL_0032: ldloc.0 + IL_0033: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::set_Item(!0, !1) + IL_0038: ldloc.0 + IL_0039: ret + } // end of method Bus::Open + + // method line 1221 + .method private hidebysig + instance default void Register () cil managed + { + // Method begins at RVA 0x11bbe + // Code size 40 (0x28) .maxstack 8 IL_0000: ldarg.0 - IL_0001: newobj instance void class [System]System.Collections.Generic.SortedList`2::'.ctor'() - IL_0006: stfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields - IL_000b: ldarg.0 - IL_000c: newobj instance void class [System.Core]System.Collections.Generic.HashSet`1::'.ctor'() - IL_0011: stfld class [System.Core]System.Collections.Generic.HashSet`1 NDesk.DBus.MatchRule::Args + IL_0001: ldfld string NDesk.DBus.Bus::unique_name + IL_0006: brfalse IL_0016 + + IL_000b: ldstr "Bus already has a unique name" + IL_0010: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0015: throw IL_0016: ldarg.0 - IL_0017: call instance void object::'.ctor'() - IL_001c: ret - } // end of method MatchRule::.ctor + IL_0017: ldarg.0 + IL_0018: ldfld class org.freedesktop.DBus.IBus NDesk.DBus.Bus::bus + IL_001d: callvirt instance string class org.freedesktop.DBus.IBus::Hello() + IL_0022: stfld string NDesk.DBus.Bus::unique_name + IL_0027: ret + } // end of method Bus::Register - // method line 1236 - .method private static hidebysig - default void Append (class [mscorlib]System.Text.StringBuilder sb, string key, object 'value') cil managed + // method line 1222 + .method public hidebysig + instance default unsigned int64 GetUnixUser (string name) cil managed { - // Method begins at RVA 0x12004 + // Method begins at RVA 0x11be7 // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: callvirt instance string object::ToString() - IL_0008: call void class NDesk.DBus.MatchRule::Append(class [mscorlib]System.Text.StringBuilder, string, string) + IL_0001: ldfld class org.freedesktop.DBus.IBus NDesk.DBus.Bus::bus + IL_0006: ldarg.1 + IL_0007: callvirt instance unsigned int32 class org.freedesktop.DBus.IBus::GetConnectionUnixUser(string) + IL_000c: conv.u8 IL_000d: ret - } // end of method MatchRule::Append + } // end of method Bus::GetUnixUser - // method line 1237 - .method private static hidebysig - default void Append (class [mscorlib]System.Text.StringBuilder sb, string key, string 'value') cil managed + // method line 1223 + .method public hidebysig + instance default valuetype org.freedesktop.DBus.RequestNameReply RequestName (string name) cil managed { - // Method begins at RVA 0x12014 - // Code size 88 (0x58) - .maxstack 4 + // Method begins at RVA 0x11bf6 + // Code size 9 (0x9) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() - IL_0006: brfalse IL_0014 + IL_0001: ldarg.1 + IL_0002: ldc.i4.0 + IL_0003: call instance valuetype org.freedesktop.DBus.RequestNameReply class NDesk.DBus.Bus::RequestName(string, valuetype org.freedesktop.DBus.NameFlag) + IL_0008: ret + } // end of method Bus::RequestName - IL_000b: ldarg.0 - IL_000c: ldc.i4.s 0x2c - IL_000e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_0013: pop - IL_0014: ldarg.0 - IL_0015: ldarg.1 - IL_0016: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_001b: pop - IL_001c: ldarg.0 - IL_001d: ldstr "='" - IL_0022: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0027: pop - IL_0028: ldarg.0 - IL_0029: ldarg.2 - IL_002a: ldstr "\\" - IL_002f: ldstr "\\\\" - IL_0034: callvirt instance string string::Replace(string, string) - IL_0039: ldstr "'" - IL_003e: ldstr "\\'" - IL_0043: callvirt instance string string::Replace(string, string) - IL_0048: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_004d: pop - IL_004e: ldarg.0 - IL_004f: ldc.i4.s 0x27 - IL_0051: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_0056: pop - IL_0057: ret - } // end of method MatchRule::Append + // method line 1224 + .method public hidebysig + instance default valuetype org.freedesktop.DBus.RequestNameReply RequestName (string name, valuetype org.freedesktop.DBus.NameFlag 'flags') cil managed + { + // Method begins at RVA 0x11c00 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld class org.freedesktop.DBus.IBus NDesk.DBus.Bus::bus + IL_0006: ldarg.1 + IL_0007: ldarg.2 + IL_0008: callvirt instance valuetype org.freedesktop.DBus.RequestNameReply class org.freedesktop.DBus.IBus::RequestName(string, valuetype org.freedesktop.DBus.NameFlag) + IL_000d: ret + } // end of method Bus::RequestName - // method line 1238 - .method private static hidebysig - default void AppendArg (class [mscorlib]System.Text.StringBuilder sb, int32 index, string 'value') cil managed + // method line 1225 + .method public hidebysig + instance default valuetype org.freedesktop.DBus.ReleaseNameReply ReleaseName (string name) cil managed { - // Method begins at RVA 0x12078 - // Code size 24 (0x18) + // Method begins at RVA 0x11c0f + // Code size 13 (0xd) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldstr "arg" + IL_0001: ldfld class org.freedesktop.DBus.IBus NDesk.DBus.Bus::bus IL_0006: ldarg.1 - IL_0007: box [mscorlib]System.Int32 - IL_000c: call string string::Concat(object, object) - IL_0011: ldarg.2 - IL_0012: call void class NDesk.DBus.MatchRule::Append(class [mscorlib]System.Text.StringBuilder, string, string) - IL_0017: ret - } // end of method MatchRule::AppendArg + IL_0007: callvirt instance valuetype org.freedesktop.DBus.ReleaseNameReply class org.freedesktop.DBus.IBus::ReleaseName(string) + IL_000c: ret + } // end of method Bus::ReleaseName - // method line 1239 - .method private static hidebysig - default void AppendPathArg (class [mscorlib]System.Text.StringBuilder sb, int32 index, class NDesk.DBus.ObjectPath 'value') cil managed + // method line 1226 + .method public hidebysig + instance default bool NameHasOwner (string name) cil managed { - // Method begins at RVA 0x12091 - // Code size 34 (0x22) + // Method begins at RVA 0x11c1d + // Code size 13 (0xd) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldstr "arg" + IL_0001: ldfld class org.freedesktop.DBus.IBus NDesk.DBus.Bus::bus IL_0006: ldarg.1 - IL_0007: box [mscorlib]System.Int32 - IL_000c: ldstr "path" - IL_0011: call string string::Concat(object, object, object) - IL_0016: ldarg.2 - IL_0017: callvirt instance string object::ToString() - IL_001c: call void class NDesk.DBus.MatchRule::Append(class [mscorlib]System.Text.StringBuilder, string, string) - IL_0021: ret - } // end of method MatchRule::AppendPathArg + IL_0007: callvirt instance bool class org.freedesktop.DBus.IBus::NameHasOwner(string) + IL_000c: ret + } // end of method Bus::NameHasOwner - // method line 1240 - .method public virtual hidebysig - instance default bool Equals (object o) cil managed + // method line 1227 + .method public hidebysig + instance default valuetype org.freedesktop.DBus.StartReply StartServiceByName (string name) cil managed { - // Method begins at RVA 0x120b4 - // Code size 33 (0x21) - .maxstack 2 - .locals init ( - class NDesk.DBus.MatchRule V_0) - IL_0000: ldarg.1 - IL_0001: isinst NDesk.DBus.MatchRule - IL_0006: stloc.0 - IL_0007: ldarg.1 - IL_0008: brtrue IL_000f + // Method begins at RVA 0x11c2b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldc.i4.0 + IL_0003: call instance valuetype org.freedesktop.DBus.StartReply class NDesk.DBus.Bus::StartServiceByName(string, unsigned int32) + IL_0008: ret + } // end of method Bus::StartServiceByName - IL_000d: ldc.i4.0 - IL_000e: ret - IL_000f: ldarg.0 - IL_0010: callvirt instance string object::ToString() - IL_0015: ldloc.0 - IL_0016: callvirt instance string object::ToString() - IL_001b: call bool string::op_Equality(string, string) - IL_0020: ret - } // end of method MatchRule::Equals + // method line 1228 + .method public hidebysig + instance default valuetype org.freedesktop.DBus.StartReply StartServiceByName (string name, unsigned int32 'flags') cil managed + { + // Method begins at RVA 0x11c35 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld class org.freedesktop.DBus.IBus NDesk.DBus.Bus::bus + IL_0006: ldarg.1 + IL_0007: ldarg.2 + IL_0008: callvirt instance valuetype org.freedesktop.DBus.StartReply class org.freedesktop.DBus.IBus::StartServiceByName(string, unsigned int32) + IL_000d: ret + } // end of method Bus::StartServiceByName - // method line 1241 - .method public virtual hidebysig - instance default int32 GetHashCode () cil managed + // method line 1229 + .method famorassem virtual hidebysig + instance default void AddMatch (string rule) cil managed + { + // Method begins at RVA 0x11c44 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld class org.freedesktop.DBus.IBus NDesk.DBus.Bus::bus + IL_0006: ldarg.1 + IL_0007: callvirt instance void class org.freedesktop.DBus.IBus::AddMatch(string) + IL_000c: ret + } // end of method Bus::AddMatch + + // method line 1230 + .method famorassem virtual hidebysig + instance default void RemoveMatch (string rule) cil managed + { + // Method begins at RVA 0x11c52 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld class org.freedesktop.DBus.IBus NDesk.DBus.Bus::bus + IL_0006: ldarg.1 + IL_0007: callvirt instance void class org.freedesktop.DBus.IBus::RemoveMatch(string) + IL_000c: ret + } // end of method Bus::RemoveMatch + + // method line 1231 + .method public hidebysig + instance default string GetId () cil managed { - // Method begins at RVA 0x120e1 + // Method begins at RVA 0x11c60 // Code size 12 (0xc) .maxstack 8 IL_0000: ldarg.0 - IL_0001: callvirt instance string object::ToString() - IL_0006: callvirt instance int32 object::GetHashCode() + IL_0001: ldfld class org.freedesktop.DBus.IBus NDesk.DBus.Bus::bus + IL_0006: callvirt instance string class org.freedesktop.DBus.IBus::GetId() IL_000b: ret - } // end of method MatchRule::GetHashCode + } // end of method Bus::GetId - // method line 1242 - .method public virtual hidebysig - instance default string ToString () cil managed + // method line 1232 + .method public hidebysig specialname + instance default string get_UniqueName () cil managed { - // Method begins at RVA 0x120f0 - // Code size 378 (0x17a) + // Method begins at RVA 0x11c6d + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld string NDesk.DBus.Bus::unique_name + IL_0006: ret + } // end of method Bus::get_UniqueName + + // method line 1233 + .method public hidebysig specialname + instance default void set_UniqueName (string 'value') cil managed + { + // Method begins at RVA 0x11c75 + // Code size 30 (0x1e) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld string NDesk.DBus.Bus::unique_name + IL_0006: brfalse IL_0016 + + IL_000b: ldstr "Unique name can only be set once" + IL_0010: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0015: throw + IL_0016: ldarg.0 + IL_0017: ldarg.1 + IL_0018: stfld string NDesk.DBus.Bus::unique_name + IL_001d: ret + } // end of method Bus::set_UniqueName + + // method line 1234 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x11c94 + // Code size 54 (0x36) + .maxstack 8 + IL_0000: ldnull + IL_0001: stsfld class NDesk.DBus.Bus NDesk.DBus.Bus::systemBus + IL_0006: ldnull + IL_0007: stsfld class NDesk.DBus.Bus NDesk.DBus.Bus::sessionBus + IL_000c: ldnull + IL_000d: stsfld class NDesk.DBus.Bus NDesk.DBus.Bus::starterBus + IL_0012: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() + IL_0017: stsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Bus::buses + IL_001c: ldstr "org.freedesktop.DBus" + IL_0021: stsfld string NDesk.DBus.Bus::DBusName + IL_0026: ldstr "/org/freedesktop/DBus" + IL_002b: newobj instance void class NDesk.DBus.ObjectPath::'.ctor'(string) + IL_0030: stsfld class NDesk.DBus.ObjectPath NDesk.DBus.Bus::DBusPath + IL_0035: ret + } // end of method Bus::.cctor + + .property class NDesk.DBus.Bus System () + { + .get default class NDesk.DBus.Bus NDesk.DBus.Bus::get_System () + } + .property class NDesk.DBus.Bus Session () + { + .get default class NDesk.DBus.Bus NDesk.DBus.Bus::get_Session () + } + .property class NDesk.DBus.Bus Starter () + { + .get default class NDesk.DBus.Bus NDesk.DBus.Bus::get_Starter () + } + .property instance string UniqueName () + { + .get instance default string NDesk.DBus.Bus::get_UniqueName () + .set instance default void NDesk.DBus.Bus::set_UniqueName (string 'value') + } + } // end of class NDesk.DBus.Bus +} + +.namespace NDesk.DBus +{ + .class private auto ansi beforefieldinit ExportObject + extends NDesk.DBus.BusObject + implements [mscorlib]System.IDisposable { + .field public object obj + .field private bool isRegistered + .field assembly static initonly class [mscorlib]System.Collections.Generic.Dictionary`2 mCallers + + // method line 1235 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NDesk.DBus.Connection conn, class NDesk.DBus.ObjectPath object_path, object obj) cil managed + { + // Method begins at RVA 0x11ccb + // Code size 17 (0x11) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldnull + IL_0003: ldarg.2 + IL_0004: call instance void class NDesk.DBus.BusObject::'.ctor'(class NDesk.DBus.Connection, string, class NDesk.DBus.ObjectPath) + IL_0009: ldarg.0 + IL_000a: ldarg.3 + IL_000b: stfld object NDesk.DBus.ExportObject::obj + IL_0010: ret + } // end of method ExportObject::.ctor + + // method line 1236 + .method public virtual hidebysig newslot specialname + instance default bool get_Registered () cil managed + { + // Method begins at RVA 0x11cdd + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld bool NDesk.DBus.ExportObject::isRegistered + IL_0006: ret + } // end of method ExportObject::get_Registered + + // method line 1237 + .method public virtual hidebysig newslot specialname + instance default void set_Registered (bool 'value') cil managed + { + // Method begins at RVA 0x11ce8 + // Code size 158 (0x9e) .maxstack 3 .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - valuetype [mscorlib]System.Nullable`1 V_1, - valuetype [mscorlib]System.Nullable`1 V_2, - valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2 V_3, - class [mscorlib]System.Collections.Generic.IEnumerator`1> V_4, - valuetype NDesk.DBus.FieldCode V_5, - class [mscorlib]System.Collections.Generic.List`1 V_6, - valuetype NDesk.DBus.ArgMatchTest V_7, - valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator V_8) - IL_0000: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0005: stloc.0 - IL_0006: ldarg.0 - IL_0007: ldfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.MatchRule::MessageType - IL_000c: stloc.1 - IL_000d: ldloca.s 1 - IL_000f: call instance bool valuetype [mscorlib]System.Nullable`1::get_HasValue() - IL_0014: brfalse IL_0037 + class [mscorlib]System.Type V_0, + class [mscorlib]System.Reflection.MemberInfo V_1, + class [mscorlib]System.Collections.Generic.IEnumerator`1 V_2, + class [mscorlib]System.Reflection.EventInfo V_3, + class [mscorlib]System.Delegate V_4) + IL_0000: ldarg.1 + IL_0001: ldarg.0 + IL_0002: ldfld bool NDesk.DBus.ExportObject::isRegistered + IL_0007: bne.un IL_000d + IL_000c: ret + IL_000d: ldarg.0 + IL_000e: ldfld object NDesk.DBus.ExportObject::obj + IL_0013: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0018: stloc.0 IL_0019: ldloc.0 - IL_001a: ldstr "type" - IL_001f: ldarg.0 - IL_0020: ldfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.MatchRule::MessageType - IL_0025: stloc.2 - IL_0026: ldloca.s 2 - IL_0028: call instance !0 valuetype [mscorlib]System.Nullable`1::get_Value() - IL_002d: call string class NDesk.DBus.MessageFilter::MessageTypeToString(valuetype NDesk.DBus.MessageType) - IL_0032: call void class NDesk.DBus.MatchRule::Append(class [mscorlib]System.Text.StringBuilder, string, string) - IL_0037: ldarg.0 - IL_0038: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields - IL_003d: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1> class [System]System.Collections.Generic.SortedList`2::GetEnumerator() - IL_0042: stloc.s 4 + IL_001a: call class [mscorlib]System.Collections.Generic.IEnumerable`1 class NDesk.DBus.Mapper::GetPublicMembers(class [mscorlib]System.Type) + IL_001f: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() + IL_0024: stloc.2 .try { // 0 - IL_0044: br IL_007e + IL_0025: br IL_0079 - IL_0049: ldloc.s 4 - IL_004b: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1>::get_Current() - IL_0050: stloc.3 - IL_0051: ldloc.0 - IL_0052: ldloca.s 3 - IL_0054: call instance !0 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Key() - IL_0059: stloc.s 5 - IL_005b: ldloca.s 5 - IL_005d: constrained. NDesk.DBus.FieldCode - IL_0063: callvirt instance string object::ToString() - IL_0068: callvirt instance string string::ToLower() - IL_006d: ldloca.s 3 - IL_006f: call instance !1 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Value() - IL_0074: ldfld object NDesk.DBus.MatchTest::Value - IL_0079: call void class NDesk.DBus.MatchRule::Append(class [mscorlib]System.Text.StringBuilder, string, object) - IL_007e: ldloc.s 4 - IL_0080: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0085: brtrue IL_0049 + IL_002a: ldloc.2 + IL_002b: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + IL_0030: stloc.1 + IL_0031: ldloc.1 + IL_0032: isinst [mscorlib]System.Reflection.EventInfo + IL_0037: stloc.3 + IL_0038: ldloc.3 + IL_0039: ldnull + IL_003a: call bool class [mscorlib]System.Reflection.EventInfo::op_Equality(class [mscorlib]System.Reflection.EventInfo, class [mscorlib]System.Reflection.EventInfo) + IL_003f: brfalse IL_0049 - IL_008a: leave IL_009e + IL_0044: leave IL_0079 + + IL_0049: ldarg.0 + IL_004a: ldloc.3 + IL_004b: call instance class [mscorlib]System.Delegate class NDesk.DBus.BusObject::GetHookupDelegate(class [mscorlib]System.Reflection.EventInfo) + IL_0050: stloc.s 4 + IL_0052: ldarg.1 + IL_0053: brfalse IL_006b + + IL_0058: ldloc.3 + IL_0059: ldarg.0 + IL_005a: ldfld object NDesk.DBus.ExportObject::obj + IL_005f: ldloc.s 4 + IL_0061: callvirt instance void class [mscorlib]System.Reflection.EventInfo::AddEventHandler(object, class [mscorlib]System.Delegate) + IL_0066: br IL_0079 + + IL_006b: ldloc.3 + IL_006c: ldarg.0 + IL_006d: ldfld object NDesk.DBus.ExportObject::obj + IL_0072: ldloc.s 4 + IL_0074: callvirt instance void class [mscorlib]System.Reflection.EventInfo::RemoveEventHandler(object, class [mscorlib]System.Delegate) + IL_0079: ldloc.2 + IL_007a: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_007f: brtrue IL_002a + + IL_0084: leave IL_0096 } // end .try 0 finally { // 0 - IL_008f: ldloc.s 4 - IL_0091: brfalse IL_009d + IL_0089: ldloc.2 + IL_008a: brfalse IL_0095 - IL_0096: ldloc.s 4 - IL_0098: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_009d: endfinally + IL_008f: ldloc.2 + IL_0090: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0095: endfinally } // end handler 0 - IL_009e: ldarg.0 - IL_009f: ldfld class [System.Core]System.Collections.Generic.HashSet`1 NDesk.DBus.MatchRule::Args - IL_00a4: newobj instance void class [mscorlib]System.Collections.Generic.List`1::'.ctor'(class [mscorlib]System.Collections.Generic.IEnumerable`1) - IL_00a9: stloc.s 6 - IL_00ab: ldloc.s 6 - IL_00ad: ldsfld class [mscorlib]System.Comparison`1 NDesk.DBus.MatchRule::'<>f__am$cache0' - IL_00b2: brtrue.s IL_00c5 + IL_0096: ldarg.0 + IL_0097: ldarg.1 + IL_0098: stfld bool NDesk.DBus.ExportObject::isRegistered + IL_009d: ret + } // end of method ExportObject::set_Registered - IL_00b4: ldnull - IL_00b5: ldftn int32 class NDesk.DBus.MatchRule::'m__0'(valuetype NDesk.DBus.ArgMatchTest, valuetype NDesk.DBus.ArgMatchTest) - IL_00bb: newobj instance void class [mscorlib]System.Comparison`1::'.ctor'(object, native int) - IL_00c0: stsfld class [mscorlib]System.Comparison`1 NDesk.DBus.MatchRule::'<>f__am$cache0' - IL_00c5: ldsfld class [mscorlib]System.Comparison`1 NDesk.DBus.MatchRule::'<>f__am$cache0' - IL_00ca: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Sort(class [mscorlib]System.Comparison`1) - IL_00cf: ldarg.0 - IL_00d0: ldfld class [System.Core]System.Collections.Generic.HashSet`1 NDesk.DBus.MatchRule::Args - IL_00d5: brfalse IL_0173 + // method line 1238 + .method assembly virtual hidebysig newslot + instance default void WriteIntrospect (class NDesk.DBus.Introspector intro) cil managed + { + // Method begins at RVA 0x11da4 + // Code size 18 (0x12) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldarg.0 + IL_0002: ldfld object NDesk.DBus.ExportObject::obj + IL_0007: callvirt instance class [mscorlib]System.Type object::GetType() + IL_000c: callvirt instance void class NDesk.DBus.Introspector::WriteType(class [mscorlib]System.Type) + IL_0011: ret + } // end of method ExportObject::WriteIntrospect - IL_00da: ldloc.s 6 - IL_00dc: callvirt instance valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator class [mscorlib]System.Collections.Generic.List`1::GetEnumerator() - IL_00e1: stloc.s 8 - .try { // 1 - IL_00e3: br IL_0154 + // method line 1239 + .method assembly static hidebysig + default class NDesk.DBus.MethodCaller2 GetMCaller (class [mscorlib]System.Reflection.MethodInfo mi) cil managed + { + // Method begins at RVA 0x11db8 + // Code size 39 (0x27) + .maxstack 3 + .locals init ( + class NDesk.DBus.MethodCaller2 V_0) + IL_0000: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.ExportObject::mCallers + IL_0005: ldarg.0 + IL_0006: ldloca.s 0 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) + IL_000d: brtrue IL_0025 - IL_00e8: ldloca.s 8 - IL_00ea: call instance !0 valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator::get_Current() - IL_00ef: stloc.s 7 - IL_00f1: ldloca.s 7 - IL_00f3: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.ArgMatchTest::Signature - IL_00f8: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::StringSig - IL_00fd: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0102: brfalse IL_0125 + IL_0012: ldarg.0 + IL_0013: call class NDesk.DBus.MethodCaller2 class NDesk.DBus.TypeImplementer::GenCaller2(class [mscorlib]System.Reflection.MethodInfo) + IL_0018: stloc.0 + IL_0019: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.ExportObject::mCallers + IL_001e: ldarg.0 + IL_001f: ldloc.0 + IL_0020: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::set_Item(!0, !1) + IL_0025: ldloc.0 + IL_0026: ret + } // end of method ExportObject::GetMCaller - IL_0107: ldloc.0 - IL_0108: ldloca.s 7 - IL_010a: ldfld int32 NDesk.DBus.ArgMatchTest::ArgNum - IL_010f: ldloca.s 7 - IL_0111: ldfld object NDesk.DBus.ArgMatchTest::Value - IL_0116: castclass [mscorlib]System.String - IL_011b: call void class NDesk.DBus.MatchRule::AppendArg(class [mscorlib]System.Text.StringBuilder, int32, string) - IL_0120: br IL_0154 + // method line 1240 + .method public static hidebysig + default class NDesk.DBus.ExportObject CreateExportObject (class NDesk.DBus.Connection conn, class NDesk.DBus.ObjectPath object_path, object obj) cil managed + { + // Method begins at RVA 0x11deb + // Code size 9 (0x9) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: newobj instance void class NDesk.DBus.ExportObject::'.ctor'(class NDesk.DBus.Connection, class NDesk.DBus.ObjectPath, object) + IL_0008: ret + } // end of method ExportObject::CreateExportObject - IL_0125: ldloca.s 7 - IL_0127: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.ArgMatchTest::Signature - IL_012c: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::ObjectPathSig - IL_0131: call bool valuetype NDesk.DBus.Signature::op_Equality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0136: brfalse IL_0154 + // method line 1241 + .method public virtual hidebysig newslot + instance default void HandleMethodCall (class NDesk.DBus.MethodCall method_call) cil managed + { + // Method begins at RVA 0x11df8 + // Code size 470 (0x1d6) + .maxstack 5 + .locals init ( + class [mscorlib]System.Type V_0, + class [mscorlib]System.Reflection.MethodInfo V_1, + class NDesk.DBus.MethodCaller2 V_2, + valuetype NDesk.DBus.Signature V_3, + valuetype NDesk.DBus.Signature V_4, + class NDesk.DBus.Message V_5, + class NDesk.DBus.MessageReader V_6, + class NDesk.DBus.MessageWriter V_7, + class [mscorlib]System.Exception V_8, + class [mscorlib]System.Exception V_9, + class NDesk.DBus.Message V_10, + class NDesk.DBus.MethodReturn V_11, + class NDesk.DBus.Error V_12, + class NDesk.DBus.BusException V_13, + class [mscorlib]System.ArgumentException V_14, + class [mscorlib]System.IO.StringReader V_15) + IL_0000: ldarg.0 + IL_0001: ldfld object NDesk.DBus.ExportObject::obj + IL_0006: callvirt instance class [mscorlib]System.Type object::GetType() + IL_000b: stloc.0 + IL_000c: ldloc.0 + IL_000d: ldarg.1 + IL_000e: call class [mscorlib]System.Reflection.MethodInfo class NDesk.DBus.Mapper::GetMethod(class [mscorlib]System.Type, class NDesk.DBus.MethodCall) + IL_0013: stloc.1 + IL_0014: ldloc.1 + IL_0015: ldnull + IL_0016: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_001b: brfalse IL_002d - IL_013b: ldloc.0 - IL_013c: ldloca.s 7 - IL_013e: ldfld int32 NDesk.DBus.ArgMatchTest::ArgNum - IL_0143: ldloca.s 7 - IL_0145: ldfld object NDesk.DBus.ArgMatchTest::Value - IL_014a: castclass NDesk.DBus.ObjectPath - IL_014f: call void class NDesk.DBus.MatchRule::AppendPathArg(class [mscorlib]System.Text.StringBuilder, int32, class NDesk.DBus.ObjectPath) - IL_0154: ldloca.s 8 - IL_0156: call instance bool valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator::MoveNext() - IL_015b: brtrue IL_00e8 + IL_0020: ldarg.0 + IL_0021: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_0026: ldarg.1 + IL_0027: callvirt instance void class NDesk.DBus.Connection::MaybeSendUnknownMethodError(class NDesk.DBus.MethodCall) + IL_002c: ret + IL_002d: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.ExportObject::mCallers + IL_0032: ldloc.1 + IL_0033: ldloca.s 2 + IL_0035: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) + IL_003a: brtrue IL_0052 - IL_0160: leave IL_0173 + IL_003f: ldloc.1 + IL_0040: call class NDesk.DBus.MethodCaller2 class NDesk.DBus.TypeImplementer::GenCaller2(class [mscorlib]System.Reflection.MethodInfo) + IL_0045: stloc.2 + IL_0046: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.ExportObject::mCallers + IL_004b: ldloc.1 + IL_004c: ldloc.2 + IL_004d: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::set_Item(!0, !1) + IL_0052: ldloc.1 + IL_0053: ldloca.s 3 + IL_0055: ldloca.s 4 + IL_0057: call bool class NDesk.DBus.TypeImplementer::SigsForMethod(class [mscorlib]System.Reflection.MethodInfo, [out] valuetype NDesk.DBus.Signature&, [out] valuetype NDesk.DBus.Signature&) + IL_005c: pop + IL_005d: ldarg.1 + IL_005e: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message + IL_0063: stloc.s 5 + IL_0065: ldarg.1 + IL_0066: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message + IL_006b: newobj instance void class NDesk.DBus.MessageReader::'.ctor'(class NDesk.DBus.Message) + IL_0070: stloc.s 6 + IL_0072: newobj instance void class NDesk.DBus.MessageWriter::'.ctor'() + IL_0077: stloc.s 7 + IL_0079: ldnull + IL_007a: stloc.s 8 + .try { // 0 + IL_007c: ldloc.2 + IL_007d: ldarg.0 + IL_007e: ldfld object NDesk.DBus.ExportObject::obj + IL_0083: ldloc.s 6 + IL_0085: ldarg.1 + IL_0086: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message + IL_008b: ldloc.s 7 + IL_008d: callvirt instance void class NDesk.DBus.MethodCaller2::Invoke(object, class NDesk.DBus.MessageReader, class NDesk.DBus.Message, class NDesk.DBus.MessageWriter) + IL_0092: leave IL_00a2 + + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0097: stloc.s 9 + IL_0099: ldloc.s 9 + IL_009b: stloc.s 8 + IL_009d: leave IL_00a2 + + } // end handler 0 + IL_00a2: ldloc.s 5 + IL_00a4: callvirt instance bool class NDesk.DBus.Message::get_ReplyExpected() + IL_00a9: brtrue IL_00af + + IL_00ae: ret + IL_00af: ldloc.s 8 + IL_00b1: brtrue IL_00ee + + IL_00b6: ldloc.s 5 + IL_00b8: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_00bd: ldfld unsigned int32 NDesk.DBus.Header::Serial + IL_00c2: newobj instance void class NDesk.DBus.MethodReturn::'.ctor'(unsigned int32) + IL_00c7: stloc.s 11 + IL_00c9: ldloc.s 11 + IL_00cb: ldfld class NDesk.DBus.Message NDesk.DBus.MethodReturn::message + IL_00d0: stloc.s 10 + IL_00d2: ldloc.s 10 + IL_00d4: ldloc.s 7 + IL_00d6: callvirt instance unsigned int8[] class NDesk.DBus.MessageWriter::ToArray() + IL_00db: stfld unsigned int8[] NDesk.DBus.Message::Body + IL_00e0: ldloc.s 10 + IL_00e2: ldloc.s 4 + IL_00e4: callvirt instance void class NDesk.DBus.Message::set_Signature(valuetype NDesk.DBus.Signature) + IL_00e9: br IL_01a9 + + IL_00ee: ldloc.s 8 + IL_00f0: isinst NDesk.DBus.BusException + IL_00f5: stloc.s 13 + IL_00f7: ldloc.s 13 + IL_00f9: brfalse IL_0119 + + IL_00fe: ldarg.1 + IL_00ff: ldloc.s 13 + IL_0101: ldfld string NDesk.DBus.BusException::ErrorName + IL_0106: ldloc.s 13 + IL_0108: ldfld string NDesk.DBus.BusException::ErrorMessage + IL_010d: callvirt instance class NDesk.DBus.Error class NDesk.DBus.MethodCall::CreateError(string, string) + IL_0112: stloc.s 12 + IL_0114: br IL_01a0 + + IL_0119: ldloc.s 8 + IL_011b: isinst [mscorlib]System.ArgumentException + IL_0120: brfalse IL_0185 + + IL_0125: ldloc.s 8 + IL_0127: callvirt instance class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Exception::get_TargetSite() + IL_012c: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0131: ldloc.1 + IL_0132: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0137: call bool string::op_Equality(string, string) + IL_013c: brfalse IL_0185 + + IL_0141: ldloc.s 8 + IL_0143: castclass [mscorlib]System.ArgumentException + IL_0148: stloc.s 14 + IL_014a: ldloc.s 14 + IL_014c: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_0151: newobj instance void class [mscorlib]System.IO.StringReader::'.ctor'(string) + IL_0156: stloc.s 15 + .try { // 1 + IL_0158: ldarg.1 + IL_0159: ldstr "org.freedesktop.DBus.Error.InvalidArgs" + IL_015e: ldloc.s 15 + IL_0160: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_0165: callvirt instance class NDesk.DBus.Error class NDesk.DBus.MethodCall::CreateError(string, string) + IL_016a: stloc.s 12 + IL_016c: leave IL_0180 } // end .try 1 finally { // 1 - IL_0165: ldloca.s 8 - IL_0167: constrained. valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator - IL_016d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0172: endfinally + IL_0171: ldloc.s 15 + IL_0173: brfalse IL_017f + + IL_0178: ldloc.s 15 + IL_017a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_017f: endfinally } // end handler 1 - IL_0173: ldloc.0 - IL_0174: callvirt instance string object::ToString() - IL_0179: ret - } // end of method MatchRule::ToString + IL_0180: br IL_01a0 + + IL_0185: ldarg.1 + IL_0186: ldloc.s 8 + IL_0188: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Exception::GetType() + IL_018d: call string class NDesk.DBus.Mapper::GetInterfaceName(class [mscorlib]System.Type) + IL_0192: ldloc.s 8 + IL_0194: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_0199: callvirt instance class NDesk.DBus.Error class NDesk.DBus.MethodCall::CreateError(string, string) + IL_019e: stloc.s 12 + IL_01a0: ldloc.s 12 + IL_01a2: ldfld class NDesk.DBus.Message NDesk.DBus.Error::message + IL_01a7: stloc.s 10 + IL_01a9: ldarg.1 + IL_01aa: ldfld string NDesk.DBus.MethodCall::Sender + IL_01af: brfalse IL_01c7 + + IL_01b4: ldloc.s 10 + IL_01b6: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_01bb: ldc.i4.6 + IL_01bc: ldarg.1 + IL_01bd: ldfld string NDesk.DBus.MethodCall::Sender + IL_01c2: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) + IL_01c7: ldarg.0 + IL_01c8: ldfld class NDesk.DBus.Connection NDesk.DBus.BusObject::conn + IL_01cd: ldloc.s 10 + IL_01cf: callvirt instance unsigned int32 class NDesk.DBus.Connection::Send(class NDesk.DBus.Message) + IL_01d4: pop + IL_01d5: ret + } // end of method ExportObject::HandleMethodCall + + // method line 1242 + .method public final virtual hidebysig newslot + instance default void Dispose () cil managed + { + // Method begins at RVA 0x11ff8 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: callvirt instance void class NDesk.DBus.ExportObject::Dispose(bool) + IL_0007: ldarg.0 + IL_0008: call void class [mscorlib]System.GC::SuppressFinalize(object) + IL_000d: ret + } // end of method ExportObject::Dispose // method line 1243 + .method family virtual hidebysig + instance default void Finalize () cil managed + { + // Method begins at RVA 0x12008 + // Code size 20 (0x14) + .maxstack 2 + .try { // 0 + IL_0000: ldarg.0 + IL_0001: ldc.i4.0 + IL_0002: callvirt instance void class NDesk.DBus.ExportObject::Dispose(bool) + IL_0007: leave IL_0013 + + } // end .try 0 + finally { // 0 + IL_000c: ldarg.0 + IL_000d: call instance void object::Finalize() + IL_0012: endfinally + } // end handler 0 + IL_0013: ret + } // end of method ExportObject::Finalize + + // method line 1244 + .method family virtual hidebysig newslot + instance default void Dispose (bool disposing) cil managed + { + // Method begins at RVA 0x12038 + // Code size 32 (0x20) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: brfalse IL_001f + + IL_0006: ldarg.0 + IL_0007: ldfld object NDesk.DBus.ExportObject::obj + IL_000c: brfalse IL_001f + + IL_0011: ldarg.0 + IL_0012: ldc.i4.0 + IL_0013: callvirt instance void class NDesk.DBus.ExportObject::set_Registered(bool) + IL_0018: ldarg.0 + IL_0019: ldnull + IL_001a: stfld object NDesk.DBus.ExportObject::obj + IL_001f: ret + } // end of method ExportObject::Dispose + + // method line 1245 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x12059 + // Code size 11 (0xb) + .maxstack 8 + IL_0000: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() + IL_0005: stsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.ExportObject::mCallers + IL_000a: ret + } // end of method ExportObject::.cctor + + .property instance bool Registered () + { + .get instance default bool NDesk.DBus.ExportObject::get_Registered () + .set instance default void NDesk.DBus.ExportObject::set_Registered (bool 'value') + } + } // end of class NDesk.DBus.ExportObject +} + +.namespace NDesk.DBus +{ + .class private auto ansi abstract sealed beforefieldinit Mapper + extends [mscorlib]System.Object + { + .field private static class [mscorlib]System.Collections.Generic.List`1 genTypes + + // method line 1246 .method public static hidebysig - default void Test (class [System.Core]System.Collections.Generic.HashSet`1 a, class NDesk.DBus.Message msg) cil managed + default string GetArgumentName (class [mscorlib]System.Reflection.ParameterInfo pi) cil managed { - // Method begins at RVA 0x12294 - // Code size 367 (0x16f) + // Method begins at RVA 0x12068 + // Code size 43 (0x2b) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: ldarg.0 + IL_0001: callvirt instance string class [mscorlib]System.Reflection.ParameterInfo::get_Name() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: callvirt instance bool class [mscorlib]System.Reflection.ParameterInfo::get_IsRetval() + IL_000d: brfalse IL_0023 + + IL_0012: ldloc.0 + IL_0013: call bool string::IsNullOrEmpty(string) + IL_0018: brfalse IL_0023 + + IL_001d: ldstr "ret" + IL_0022: stloc.0 + IL_0023: ldarg.0 + IL_0024: ldloc.0 + IL_0025: call string class NDesk.DBus.Mapper::GetArgumentName(class [mscorlib]System.Reflection.ICustomAttributeProvider, string) + IL_002a: ret + } // end of method Mapper::GetArgumentName + + // method line 1247 + .method public static hidebysig + default string GetArgumentName (class [mscorlib]System.Reflection.ICustomAttributeProvider attrProvider, string defaultName) cil managed + { + // Method begins at RVA 0x120a0 + // Code size 58 (0x3a) .maxstack 3 .locals init ( - class NDesk.DBus.MatchRule/'c__AnonStorey0' V_0, - valuetype NDesk.DBus.Signature V_1, - class [mscorlib]System.Collections.Generic.List`1 V_2, - class NDesk.DBus.MessageReader V_3, - int32 V_4, - valuetype NDesk.DBus.ArgMatchTest V_5, - valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator V_6, - valuetype NDesk.DBus.Signature V_7, - int32 V_8) - IL_0000: newobj instance void class NDesk.DBus.MatchRule/'c__AnonStorey0'::'.ctor'() + string V_0, + class NDesk.DBus.ArgumentAttribute V_1, + object[] V_2, + int32 V_3) + IL_0000: ldarg.1 + IL_0001: stloc.0 + IL_0002: ldarg.0 + IL_0003: ldtoken NDesk.DBus.ArgumentAttribute + IL_0008: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000d: ldc.i4.1 + IL_000e: callvirt instance object[] class [mscorlib]System.Reflection.ICustomAttributeProvider::GetCustomAttributes(class [mscorlib]System.Type, bool) + IL_0013: stloc.2 + IL_0014: ldc.i4.0 + IL_0015: stloc.3 + IL_0016: br IL_002f + + IL_001b: ldloc.2 + IL_001c: ldloc.3 + IL_001d: ldelem.ref + IL_001e: castclass NDesk.DBus.ArgumentAttribute + IL_0023: stloc.1 + IL_0024: ldloc.1 + IL_0025: ldfld string NDesk.DBus.ArgumentAttribute::Name + IL_002a: stloc.0 + IL_002b: ldloc.3 + IL_002c: ldc.i4.1 + IL_002d: add + IL_002e: stloc.3 + IL_002f: ldloc.3 + IL_0030: ldloc.2 + IL_0031: ldlen + IL_0032: conv.i4 + IL_0033: blt IL_001b + + IL_0038: ldloc.0 + IL_0039: ret + } // end of method Mapper::GetArgumentName + + // method line 1248 + .method public static hidebysig + default class [mscorlib]System.Collections.Generic.IEnumerable`1 GetPublicMembers (class [mscorlib]System.Type 'type') cil managed + { + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x120e8 + // Code size 23 (0x17) + .maxstack 3 + .locals init ( + class NDesk.DBus.Mapper/'c__Iterator0' V_0) + IL_0000: newobj instance void class NDesk.DBus.Mapper/'c__Iterator0'::'.ctor'() IL_0005: stloc.0 IL_0006: ldloc.0 - IL_0007: newobj instance void class [mscorlib]System.Collections.Generic.List`1::'.ctor'() - IL_000c: stfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.MatchRule/'c__AnonStorey0'::sigs - IL_0011: ldloc.0 - IL_0012: ldfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.MatchRule/'c__AnonStorey0'::sigs - IL_0017: ldarg.1 - IL_0018: callvirt instance valuetype NDesk.DBus.Signature class NDesk.DBus.Message::get_Signature() - IL_001d: stloc.1 - IL_001e: ldloca.s 1 - IL_0020: call instance class [mscorlib]System.Collections.Generic.IEnumerable`1 valuetype NDesk.DBus.Signature::GetParts() - IL_0025: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::AddRange(class [mscorlib]System.Collections.Generic.IEnumerable`1) - IL_002a: ldloc.0 - IL_002b: ldfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.MatchRule/'c__AnonStorey0'::sigs - IL_0030: callvirt instance int32 class [mscorlib]System.Collections.Generic.List`1::get_Count() - IL_0035: brtrue IL_0041 + IL_0007: ldarg.0 + IL_0008: stfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator0'::'type' + IL_000d: ldloc.0 + IL_000e: dup + IL_000f: ldc.i4.s 0xfffffffe + IL_0011: stfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$PC + IL_0016: ret + } // end of method Mapper::GetPublicMembers - IL_003a: ldarg.0 - IL_003b: callvirt instance void class [System.Core]System.Collections.Generic.HashSet`1::Clear() - IL_0040: ret - IL_0041: ldarg.0 - IL_0042: ldloc.0 - IL_0043: ldftn instance bool class NDesk.DBus.MatchRule/'c__AnonStorey0'::'<>m__0'(valuetype NDesk.DBus.ArgMatchTest) - IL_0049: newobj instance void class [mscorlib]System.Predicate`1::'.ctor'(object, native int) - IL_004e: callvirt instance int32 class [System.Core]System.Collections.Generic.HashSet`1::RemoveWhere(class [mscorlib]System.Predicate`1) - IL_0053: pop - IL_0054: ldarg.0 - IL_0055: newobj instance void class [mscorlib]System.Collections.Generic.List`1::'.ctor'(class [mscorlib]System.Collections.Generic.IEnumerable`1) - IL_005a: stloc.2 - IL_005b: ldloc.2 - IL_005c: ldsfld class [mscorlib]System.Comparison`1 NDesk.DBus.MatchRule::'<>f__am$cache1' - IL_0061: brtrue.s IL_0074 + // method line 1249 + .method private static hidebysig + default class [mscorlib]System.Collections.Generic.IEnumerable`1 GetDeclaredPublicMembers (class [mscorlib]System.Type 'type') cil managed + { + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0063: ldnull - IL_0064: ldftn int32 class NDesk.DBus.MatchRule::'m__1'(valuetype NDesk.DBus.ArgMatchTest, valuetype NDesk.DBus.ArgMatchTest) - IL_006a: newobj instance void class [mscorlib]System.Comparison`1::'.ctor'(object, native int) - IL_006f: stsfld class [mscorlib]System.Comparison`1 NDesk.DBus.MatchRule::'<>f__am$cache1' - IL_0074: ldsfld class [mscorlib]System.Comparison`1 NDesk.DBus.MatchRule::'<>f__am$cache1' - IL_0079: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Sort(class [mscorlib]System.Comparison`1) - IL_007e: ldloc.2 - IL_007f: callvirt instance int32 class [mscorlib]System.Collections.Generic.List`1::get_Count() - IL_0084: brtrue IL_0090 + // Method begins at RVA 0x1210c + // Code size 23 (0x17) + .maxstack 3 + .locals init ( + class NDesk.DBus.Mapper/'c__Iterator1' V_0) + IL_0000: newobj instance void class NDesk.DBus.Mapper/'c__Iterator1'::'.ctor'() + IL_0005: stloc.0 + IL_0006: ldloc.0 + IL_0007: ldarg.0 + IL_0008: stfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator1'::'type' + IL_000d: ldloc.0 + IL_000e: dup + IL_000f: ldc.i4.s 0xfffffffe + IL_0011: stfld int32 NDesk.DBus.Mapper/'c__Iterator1'::$PC + IL_0016: ret + } // end of method Mapper::GetDeclaredPublicMembers - IL_0089: ldarg.0 - IL_008a: callvirt instance void class [System.Core]System.Collections.Generic.HashSet`1::Clear() - IL_008f: ret - IL_0090: ldarg.1 - IL_0091: newobj instance void class NDesk.DBus.MessageReader::'.ctor'(class NDesk.DBus.Message) - IL_0096: stloc.3 - IL_0097: ldc.i4.0 - IL_0098: stloc.s 4 - IL_009a: ldloc.2 - IL_009b: callvirt instance valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator class [mscorlib]System.Collections.Generic.List`1::GetEnumerator() - IL_00a0: stloc.s 6 + // method line 1250 + .method public static hidebysig + default class [mscorlib]System.Reflection.MethodInfo GetMethod (class [mscorlib]System.Type 'type', class NDesk.DBus.MethodCall method_call) cil managed + { + // Method begins at RVA 0x12130 + // Code size 396 (0x18c) + .maxstack 4 + .locals init ( + class [mscorlib]System.Reflection.MemberInfo V_0, + class [mscorlib]System.Collections.Generic.IEnumerator`1 V_1, + class [mscorlib]System.Reflection.MethodInfo V_2, + class [mscorlib]System.Type[] V_3, + class [mscorlib]System.Reflection.PropertyInfo V_4, + class [mscorlib]System.Reflection.MethodInfo V_5, + class [mscorlib]System.Reflection.MethodInfo V_6, + valuetype NDesk.DBus.Signature V_7, + class [mscorlib]System.Reflection.MethodInfo V_8) + IL_0000: ldarg.0 + IL_0001: call class [mscorlib]System.Collections.Generic.IEnumerable`1 class NDesk.DBus.Mapper::GetPublicMembers(class [mscorlib]System.Type) + IL_0006: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() + IL_000b: stloc.1 .try { // 0 - IL_00a2: br IL_014f + IL_000c: br IL_016a - IL_00a7: ldloca.s 6 - IL_00a9: call instance !0 valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator::get_Current() - IL_00ae: stloc.s 5 - IL_00b0: ldloc.s 4 - IL_00b2: ldloca.s 5 - IL_00b4: ldfld int32 NDesk.DBus.ArgMatchTest::ArgNum - IL_00b9: ble IL_00cc + IL_0011: ldloc.1 + IL_0012: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + IL_0017: stloc.0 + IL_0018: ldarg.1 + IL_0019: ldfld string NDesk.DBus.MethodCall::Interface + IL_001e: brfalse IL_003e - IL_00be: ldarg.0 - IL_00bf: ldloc.s 5 - IL_00c1: callvirt instance bool class [System.Core]System.Collections.Generic.HashSet`1::Remove(!0) - IL_00c6: pop - IL_00c7: leave IL_014f + IL_0023: ldloc.0 + IL_0024: call string class NDesk.DBus.Mapper::GetInterfaceName(class [mscorlib]System.Reflection.MemberInfo) + IL_0029: ldarg.1 + IL_002a: ldfld string NDesk.DBus.MethodCall::Interface + IL_002f: call bool string::op_Inequality(string, string) + IL_0034: brfalse IL_003e - IL_00cc: br IL_00f9 + IL_0039: leave IL_016a - IL_00d1: ldloc.0 - IL_00d2: ldfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.MatchRule/'c__AnonStorey0'::sigs - IL_00d7: ldloc.s 4 - IL_00d9: callvirt instance !0 class [mscorlib]System.Collections.Generic.List`1::get_Item(int32) - IL_00de: stloc.s 7 - IL_00e0: ldloc.3 - IL_00e1: ldloc.s 7 - IL_00e3: callvirt instance bool class NDesk.DBus.MessageReader::StepOver(valuetype NDesk.DBus.Signature) - IL_00e8: brtrue IL_00f3 + IL_003e: ldnull + IL_003f: stloc.2 + IL_0040: ldnull + IL_0041: stloc.3 + IL_0042: ldloc.0 + IL_0043: isinst [mscorlib]System.Reflection.PropertyInfo + IL_0048: brfalse IL_00ec - IL_00ed: newobj instance void class [mscorlib]System.Exception::'.ctor'() - IL_00f2: throw - IL_00f3: ldloc.s 4 - IL_00f5: ldc.i4.1 - IL_00f6: add - IL_00f7: stloc.s 4 - IL_00f9: ldloc.s 4 - IL_00fb: ldloca.s 5 - IL_00fd: ldfld int32 NDesk.DBus.ArgMatchTest::ArgNum - IL_0102: bne.un IL_00d1 + IL_004d: ldloc.0 + IL_004e: isinst [mscorlib]System.Reflection.PropertyInfo + IL_0053: stloc.s 4 + IL_0055: ldloc.s 4 + IL_0057: ldc.i4.0 + IL_0058: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Reflection.PropertyInfo::GetGetMethod(bool) + IL_005d: stloc.s 5 + IL_005f: ldloc.s 4 + IL_0061: ldc.i4.0 + IL_0062: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Reflection.PropertyInfo::GetSetMethod(bool) + IL_0067: stloc.s 6 + IL_0069: ldloc.s 5 + IL_006b: ldnull + IL_006c: call bool class [mscorlib]System.Reflection.MethodInfo::op_Inequality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_0071: brfalse IL_00a5 - IL_0107: ldloc.3 - IL_0108: ldfld int32 NDesk.DBus.MessageReader::pos - IL_010d: stloc.s 8 - IL_010f: ldloc.3 - IL_0110: ldloca.s 5 - IL_0112: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.ArgMatchTest::Signature - IL_0117: ldc.i4.0 - IL_0118: call instance valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::get_Item(int32) - IL_011d: callvirt instance object class NDesk.DBus.MessageReader::ReadValue(valuetype NDesk.DBus.DType) - IL_0122: ldloca.s 5 - IL_0124: ldfld object NDesk.DBus.ArgMatchTest::Value - IL_0129: callvirt instance bool object::Equals(object) - IL_012e: brtrue IL_0149 + IL_0076: ldstr "Get" + IL_007b: ldloc.s 4 + IL_007d: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0082: call string string::Concat(string, string) + IL_0087: ldarg.1 + IL_0088: ldfld string NDesk.DBus.MethodCall::Member + IL_008d: call bool string::op_Equality(string, string) + IL_0092: brfalse IL_00a5 - IL_0133: ldarg.0 - IL_0134: ldloc.s 5 - IL_0136: callvirt instance bool class [System.Core]System.Collections.Generic.HashSet`1::Remove(!0) - IL_013b: pop - IL_013c: ldloc.3 - IL_013d: ldloc.s 8 - IL_013f: stfld int32 NDesk.DBus.MessageReader::pos - IL_0144: leave IL_014f + IL_0097: ldloc.s 5 + IL_0099: stloc.2 + IL_009a: ldsfld class [mscorlib]System.Type[] [mscorlib]System.Type::EmptyTypes + IL_009f: stloc.3 + IL_00a0: br IL_00e7 - IL_0149: ldloc.s 4 - IL_014b: ldc.i4.1 - IL_014c: add - IL_014d: stloc.s 4 - IL_014f: ldloca.s 6 - IL_0151: call instance bool valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator::MoveNext() - IL_0156: brtrue IL_00a7 + IL_00a5: ldloc.s 6 + IL_00a7: ldnull + IL_00a8: call bool class [mscorlib]System.Reflection.MethodInfo::op_Inequality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_00ad: brfalse IL_00e7 - IL_015b: leave IL_016e + IL_00b2: ldstr "Set" + IL_00b7: ldloc.s 4 + IL_00b9: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_00be: call string string::Concat(string, string) + IL_00c3: ldarg.1 + IL_00c4: ldfld string NDesk.DBus.MethodCall::Member + IL_00c9: call bool string::op_Equality(string, string) + IL_00ce: brfalse IL_00e7 + + IL_00d3: ldloc.s 6 + IL_00d5: stloc.2 + IL_00d6: ldc.i4.1 + IL_00d7: newarr [mscorlib]System.Type + IL_00dc: dup + IL_00dd: ldc.i4.0 + IL_00de: ldloc.s 4 + IL_00e0: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_00e5: stelem.ref + IL_00e6: stloc.3 + IL_00e7: br IL_012c + + IL_00ec: ldloc.0 + IL_00ed: isinst [mscorlib]System.Reflection.MethodInfo + IL_00f2: stloc.2 + IL_00f3: ldloc.2 + IL_00f4: ldnull + IL_00f5: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_00fa: brfalse IL_0104 + + IL_00ff: leave IL_016a + + IL_0104: ldloc.2 + IL_0105: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_010a: ldarg.1 + IL_010b: ldfld string NDesk.DBus.MethodCall::Member + IL_0110: call bool string::op_Inequality(string, string) + IL_0115: brfalse IL_011f + + IL_011a: leave IL_016a + + IL_011f: ldc.i4.0 + IL_0120: ldloc.2 + IL_0121: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_0126: call class [mscorlib]System.Type[] class NDesk.DBus.Mapper::GetTypes(valuetype NDesk.DBus.ArgDirection, class [mscorlib]System.Reflection.ParameterInfo[]) + IL_012b: stloc.3 + IL_012c: ldloc.2 + IL_012d: ldnull + IL_012e: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_0133: brtrue IL_013e + + IL_0138: ldloc.3 + IL_0139: brtrue IL_0143 + + IL_013e: leave IL_016a + + IL_0143: ldloc.3 + IL_0144: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type[]) + IL_0149: stloc.s 7 + IL_014b: ldloc.s 7 + IL_014d: ldarg.1 + IL_014e: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.MethodCall::Signature + IL_0153: call bool valuetype NDesk.DBus.Signature::op_Inequality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0158: brfalse IL_0162 + + IL_015d: leave IL_016a + + IL_0162: ldloc.2 + IL_0163: stloc.s 8 + IL_0165: leave IL_0189 + + IL_016a: ldloc.1 + IL_016b: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0170: brtrue IL_0011 + + IL_0175: leave IL_0187 } // end .try 0 finally { // 0 - IL_0160: ldloca.s 6 - IL_0162: constrained. valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator - IL_0168: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_016d: endfinally + IL_017a: ldloc.1 + IL_017b: brfalse IL_0186 + + IL_0180: ldloc.1 + IL_0181: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0186: endfinally } // end handler 0 - IL_016e: ret - } // end of method MatchRule::Test + IL_0187: ldnull + IL_0188: ret + IL_0189: ldloc.s 8 + IL_018b: ret + } // end of method Mapper::GetMethod - // method line 1244 - .method public hidebysig - instance default bool MatchesHeader (class NDesk.DBus.Message msg) cil managed + // method line 1251 + .method public static hidebysig + default bool IsPublic (class [mscorlib]System.Reflection.MemberInfo mi) cil managed { - // Method begins at RVA 0x12420 - // Code size 194 (0xc2) + // Method begins at RVA 0x122e4 + // Code size 12 (0xc) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() + IL_0006: call bool class NDesk.DBus.Mapper::IsPublic(class [mscorlib]System.Type) + IL_000b: ret + } // end of method Mapper::IsPublic + + // method line 1252 + .method public static hidebysig + default bool IsPublic (class [mscorlib]System.Type 'type') cil managed + { + // Method begins at RVA 0x122f1 + // Code size 49 (0x31) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldtoken NDesk.DBus.InterfaceAttribute + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: ldc.i4.0 + IL_000c: callvirt instance bool class [mscorlib]System.Reflection.MemberInfo::IsDefined(class [mscorlib]System.Type, bool) + IL_0011: brfalse IL_0018 + + IL_0016: ldc.i4.1 + IL_0017: ret + IL_0018: ldarg.0 + IL_0019: ldtoken [mscorlib]System.MarshalByRefObject + IL_001e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0023: callvirt instance bool class [mscorlib]System.Type::IsSubclassOf(class [mscorlib]System.Type) + IL_0028: brfalse IL_002f + + IL_002d: ldc.i4.1 + IL_002e: ret + IL_002f: ldc.i4.0 + IL_0030: ret + } // end of method Mapper::IsPublic + + // method line 1253 + .method public static hidebysig + default string GetInterfaceName (class [mscorlib]System.Reflection.MemberInfo mi) cil managed + { + // Method begins at RVA 0x12323 + // Code size 12 (0xc) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() + IL_0006: call string class NDesk.DBus.Mapper::GetInterfaceName(class [mscorlib]System.Type) + IL_000b: ret + } // end of method Mapper::GetInterfaceName + + // method line 1254 + .method public static hidebysig + default string GetInterfaceName (class [mscorlib]System.Type 'type') cil managed + { + // Method begins at RVA 0x12330 + // Code size 63 (0x3f) .maxstack 3 .locals init ( - valuetype [mscorlib]System.Nullable`1 V_0, - valuetype [mscorlib]System.Nullable`1 V_1, - valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2 V_2, - class [mscorlib]System.Collections.Generic.IEnumerator`1> V_3, - object V_4, - bool V_5) + string V_0, + class NDesk.DBus.InterfaceAttribute V_1, + object[] V_2, + int32 V_3) IL_0000: ldarg.0 - IL_0001: ldfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.MatchRule::MessageType + IL_0001: callvirt instance string class [mscorlib]System.Type::get_FullName() IL_0006: stloc.0 - IL_0007: ldloca.s 0 - IL_0009: call instance bool valuetype [mscorlib]System.Nullable`1::get_HasValue() - IL_000e: brfalse IL_0042 + IL_0007: ldarg.0 + IL_0008: ldtoken NDesk.DBus.InterfaceAttribute + IL_000d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0012: ldc.i4.1 + IL_0013: callvirt instance object[] class [mscorlib]System.Reflection.MemberInfo::GetCustomAttributes(class [mscorlib]System.Type, bool) + IL_0018: stloc.2 + IL_0019: ldc.i4.0 + IL_001a: stloc.3 + IL_001b: br IL_0034 - IL_0013: ldarg.1 - IL_0014: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0019: ldfld valuetype NDesk.DBus.MessageType NDesk.DBus.Header::MessageType - IL_001e: ldarg.0 - IL_001f: ldfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.MatchRule::MessageType - IL_0024: stloc.1 - IL_0025: ldloca.s 1 - IL_0027: call instance !0 valuetype [mscorlib]System.Nullable`1::GetValueOrDefault() - IL_002c: bne.un.s IL_003a + IL_0020: ldloc.2 + IL_0021: ldloc.3 + IL_0022: ldelem.ref + IL_0023: castclass NDesk.DBus.InterfaceAttribute + IL_0028: stloc.1 + IL_0029: ldloc.1 + IL_002a: ldfld string NDesk.DBus.InterfaceAttribute::Name + IL_002f: stloc.0 + IL_0030: ldloc.3 + IL_0031: ldc.i4.1 + IL_0032: add + IL_0033: stloc.3 + IL_0034: ldloc.3 + IL_0035: ldloc.2 + IL_0036: ldlen + IL_0037: conv.i4 + IL_0038: blt IL_0020 - IL_002e: ldloca.s 1 - IL_0030: call instance bool valuetype [mscorlib]System.Nullable`1::get_HasValue() - IL_0035: ldc.i4.0 - IL_0036: ceq - IL_0038: br.s IL_003b + IL_003d: ldloc.0 + IL_003e: ret + } // end of method Mapper::GetInterfaceName - IL_003a: ldc.i4.1 - IL_003b: brfalse IL_0042 + // method line 1255 + .method public static hidebysig + default class [mscorlib]System.Type[] GetTypes (valuetype NDesk.DBus.ArgDirection dir, class [mscorlib]System.Reflection.ParameterInfo[] parms) cil managed + { + // Method begins at RVA 0x1237c + // Code size 120 (0x78) + .maxstack 3 + .locals init ( + class [mscorlib]System.Collections.Generic.List`1 V_0, + int32 V_1) + IL_0000: newobj instance void class [mscorlib]System.Collections.Generic.List`1::'.ctor'() + IL_0005: stloc.0 + IL_0006: ldc.i4.0 + IL_0007: stloc.1 + IL_0008: br IL_0068 - IL_0040: ldc.i4.0 - IL_0041: ret - IL_0042: ldarg.0 - IL_0043: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields - IL_0048: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1> class [System]System.Collections.Generic.SortedList`2::GetEnumerator() - IL_004d: stloc.3 - .try { // 0 - IL_004e: br IL_00a0 + IL_000d: ldarg.0 + IL_000e: brfalse IL_001f - IL_0053: ldloc.3 - IL_0054: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1>::get_Current() - IL_0059: stloc.2 - IL_005a: ldarg.1 - IL_005b: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header - IL_0060: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 NDesk.DBus.Header::Fields - IL_0065: ldloca.s 2 - IL_0067: call instance !0 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Key() - IL_006c: ldloca.s 4 - IL_006e: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) - IL_0073: brtrue IL_0080 + IL_0013: ldarg.0 + IL_0014: ldc.i4.1 + IL_0015: beq IL_003f - IL_0078: ldc.i4.0 - IL_0079: stloc.s 5 - IL_007b: leave IL_00bf + IL_001a: br IL_0064 - IL_0080: ldloca.s 2 - IL_0082: call instance !1 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Value() - IL_0087: ldfld object NDesk.DBus.MatchTest::Value - IL_008c: ldloc.s 4 - IL_008e: callvirt instance bool object::Equals(object) - IL_0093: brtrue IL_00a0 + IL_001f: ldarg.1 + IL_0020: ldloc.1 + IL_0021: ldelem.ref + IL_0022: callvirt instance bool class [mscorlib]System.Reflection.ParameterInfo::get_IsOut() + IL_0027: brtrue IL_003a - IL_0098: ldc.i4.0 - IL_0099: stloc.s 5 - IL_009b: leave IL_00bf + IL_002c: ldloc.0 + IL_002d: ldarg.1 + IL_002e: ldloc.1 + IL_002f: ldelem.ref + IL_0030: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_0035: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Add(!0) + IL_003a: br IL_0064 - IL_00a0: ldloc.3 - IL_00a1: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00a6: brtrue IL_0053 + IL_003f: ldarg.1 + IL_0040: ldloc.1 + IL_0041: ldelem.ref + IL_0042: callvirt instance bool class [mscorlib]System.Reflection.ParameterInfo::get_IsOut() + IL_0047: brfalse IL_005f - IL_00ab: leave IL_00bd + IL_004c: ldloc.0 + IL_004d: ldarg.1 + IL_004e: ldloc.1 + IL_004f: ldelem.ref + IL_0050: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_0055: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() + IL_005a: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Add(!0) + IL_005f: br IL_0064 - } // end .try 0 - finally { // 0 - IL_00b0: ldloc.3 - IL_00b1: brfalse IL_00bc + IL_0064: ldloc.1 + IL_0065: ldc.i4.1 + IL_0066: add + IL_0067: stloc.1 + IL_0068: ldloc.1 + IL_0069: ldarg.1 + IL_006a: ldlen + IL_006b: conv.i4 + IL_006c: bne.un IL_000d - IL_00b6: ldloc.3 - IL_00b7: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00bc: endfinally - } // end handler 0 - IL_00bd: ldc.i4.1 - IL_00be: ret - IL_00bf: ldloc.s 5 - IL_00c1: ret - } // end of method MatchRule::MatchesHeader + IL_0071: ldloc.0 + IL_0072: callvirt instance !0[] class [mscorlib]System.Collections.Generic.List`1::ToArray() + IL_0077: ret + } // end of method Mapper::GetTypes - // method line 1245 + // method line 1256 .method public static hidebysig - default class NDesk.DBus.MatchRule Parse (string text) cil managed + default bool IsDeprecated (class [mscorlib]System.Reflection.ICustomAttributeProvider attrProvider) cil managed { - // Method begins at RVA 0x12500 - // Code size 676 (0x2a4) + // Method begins at RVA 0x12400 + // Code size 18 (0x12) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldtoken [mscorlib]System.ObsoleteAttribute + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: ldc.i4.1 + IL_000c: callvirt instance bool class [mscorlib]System.Reflection.ICustomAttributeProvider::IsDefined(class [mscorlib]System.Type, bool) + IL_0011: ret + } // end of method Mapper::IsDeprecated + + // method line 1257 + .method private static hidebysig + default bool AreEqual (class [mscorlib]System.Type[] a, class [mscorlib]System.Type[] b) cil managed + { + // Method begins at RVA 0x12414 + // Code size 53 (0x35) .maxstack 3 .locals init ( - class NDesk.DBus.MatchRule V_0, - class [System]System.Text.RegularExpressions.Match V_1, - string V_2, - string V_3, - class [System]System.Text.RegularExpressions.Match V_4, - int32 V_5, - string V_6, - valuetype [mscorlib]System.Nullable`1 V_7) + int32 V_0) IL_0000: ldarg.0 - IL_0001: callvirt instance int32 string::get_Length() - IL_0006: conv.i8 - IL_0007: ldc.i4 1024 - IL_000c: conv.i8 - IL_000d: ble IL_0031 + IL_0001: ldlen + IL_0002: conv.i4 + IL_0003: ldarg.1 + IL_0004: ldlen + IL_0005: conv.i4 + IL_0006: beq IL_000d - IL_0012: ldstr "Match rule length exceeds maximum " - IL_0017: ldc.i4 1024 - IL_001c: box [mscorlib]System.UInt32 - IL_0021: ldstr " characters" - IL_0026: call string string::Concat(object, object, object) - IL_002b: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0030: throw - IL_0031: newobj instance void class NDesk.DBus.MatchRule::'.ctor'() - IL_0036: stloc.0 - IL_0037: ldsfld class [System]System.Text.RegularExpressions.Regex NDesk.DBus.MatchRule::matchRuleRegex - IL_003c: ldarg.0 - IL_003d: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) - IL_0042: stloc.1 - IL_0043: br IL_0297 + IL_000b: ldc.i4.0 + IL_000c: ret + IL_000d: ldc.i4.0 + IL_000e: stloc.0 + IL_000f: br IL_002a - IL_0048: ldloc.1 - IL_0049: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_004e: ldc.i4.1 - IL_004f: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(int32) - IL_0054: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_0059: stloc.2 - IL_005a: ldloc.1 - IL_005b: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_0060: ldc.i4.2 - IL_0061: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(int32) - IL_0066: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_006b: stloc.3 - IL_006c: ldloc.3 - IL_006d: ldstr "\\\\" - IL_0072: ldstr "\\" - IL_0077: callvirt instance string string::Replace(string, string) - IL_007c: stloc.3 - IL_007d: ldloc.3 - IL_007e: ldstr "\\'" - IL_0083: ldstr "'" - IL_0088: callvirt instance string string::Replace(string, string) - IL_008d: stloc.3 - IL_008e: ldloc.2 - IL_008f: ldstr "arg" - IL_0094: callvirt instance bool string::StartsWith(string) - IL_0099: brfalse IL_015d + IL_0014: ldarg.0 + IL_0015: ldloc.0 + IL_0016: ldelem.ref + IL_0017: ldarg.1 + IL_0018: ldloc.0 + IL_0019: ldelem.ref + IL_001a: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_001f: brfalse IL_0026 - IL_009e: ldsfld class [System]System.Text.RegularExpressions.Regex NDesk.DBus.MatchRule::argNRegex - IL_00a3: ldloc.2 - IL_00a4: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) - IL_00a9: stloc.s 4 - IL_00ab: ldloc.s 4 - IL_00ad: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() - IL_00b2: brtrue IL_00b9 + IL_0024: ldc.i4.0 + IL_0025: ret + IL_0026: ldloc.0 + IL_0027: ldc.i4.1 + IL_0028: add + IL_0029: stloc.0 + IL_002a: ldloc.0 + IL_002b: ldarg.0 + IL_002c: ldlen + IL_002d: conv.i4 + IL_002e: bne.un IL_0014 - IL_00b7: ldnull - IL_00b8: ret - IL_00b9: ldloc.s 4 - IL_00bb: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_00c0: ldc.i4.1 - IL_00c1: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(int32) - IL_00c6: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_00cb: call unsigned int32 unsigned int32::Parse(string) - IL_00d0: stloc.s 5 - IL_00d2: ldloc.s 5 - IL_00d4: ldc.i4.0 - IL_00d5: blt IL_00e5 + IL_0033: ldc.i4.1 + IL_0034: ret + } // end of method Mapper::AreEqual - IL_00da: ldloc.s 5 - IL_00dc: conv.i8 - IL_00dd: ldc.i4.s 0x40 - IL_00df: conv.i8 - IL_00e0: blt IL_0101 + // method line 1258 + .method assembly static hidebysig + default class [mscorlib]System.Type GetGenericType (class [mscorlib]System.Type defType, class [mscorlib]System.Type[] parms) cil managed + { + // Method begins at RVA 0x12458 + // Code size 170 (0xaa) + .maxstack 2 + .locals init ( + object V_0, + bool V_1, + class [mscorlib]System.Type V_2, + valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator V_3, + class [mscorlib]System.Type[] V_4, + class [mscorlib]System.Type V_5, + class [mscorlib]System.Type V_6) + IL_0000: ldsfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.Mapper::genTypes + IL_0005: stloc.0 + IL_0006: ldc.i4.0 + IL_0007: stloc.1 + .try { // 1 + IL_0008: ldloc.0 + IL_0009: ldloca.s 1 + IL_000b: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) + IL_0010: ldsfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.Mapper::genTypes + IL_0015: callvirt instance valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator class [mscorlib]System.Collections.Generic.List`1::GetEnumerator() + IL_001a: stloc.3 + .try { // 0 + IL_001b: br IL_0060 + + IL_0020: ldloca.s 3 + IL_0022: call instance !0 valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator::get_Current() + IL_0027: stloc.2 + IL_0028: ldloc.2 + IL_0029: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetGenericTypeDefinition() + IL_002e: ldarg.0 + IL_002f: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0034: brfalse IL_003e + + IL_0039: leave IL_0060 + + IL_003e: ldloc.2 + IL_003f: callvirt instance class [mscorlib]System.Type[] class [mscorlib]System.Type::GetGenericArguments() + IL_0044: stloc.s 4 + IL_0046: ldloc.s 4 + IL_0048: ldarg.1 + IL_0049: call bool class NDesk.DBus.Mapper::AreEqual(class [mscorlib]System.Type[], class [mscorlib]System.Type[]) + IL_004e: brtrue IL_0058 + + IL_0053: leave IL_0060 + + IL_0058: ldloc.2 + IL_0059: stloc.s 5 + IL_005b: leave IL_00a7 + + IL_0060: ldloca.s 3 + IL_0062: call instance bool valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator::MoveNext() + IL_0067: brtrue IL_0020 + + IL_006c: leave IL_007f + + } // end .try 0 + finally { // 0 + IL_0071: ldloca.s 3 + IL_0073: constrained. valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator + IL_0079: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_007e: endfinally + } // end handler 0 + IL_007f: ldarg.0 + IL_0080: ldarg.1 + IL_0081: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::MakeGenericType(class [mscorlib]System.Type[]) + IL_0086: stloc.s 6 + IL_0088: ldsfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.Mapper::genTypes + IL_008d: ldloc.s 6 + IL_008f: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Add(!0) + IL_0094: ldloc.s 6 + IL_0096: stloc.s 5 + IL_0098: leave IL_00a7 + + } // end .try 1 + finally { // 1 + IL_009d: ldloc.1 + IL_009e: brfalse.s IL_00a6 + + IL_00a0: ldloc.0 + IL_00a1: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_00a6: endfinally + } // end handler 1 + IL_00a7: ldloc.s 5 + IL_00a9: ret + } // end of method Mapper::GetGenericType + + // method line 1259 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x1252c + // Code size 11 (0xb) + .maxstack 8 + IL_0000: newobj instance void class [mscorlib]System.Collections.Generic.List`1::'.ctor'() + IL_0005: stsfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.Mapper::genTypes + IL_000a: ret + } // end of method Mapper::.cctor + + .class nested private auto ansi sealed beforefieldinit 'c__Iterator0' + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerable, class [mscorlib]System.Collections.Generic.IEnumerable`1, [mscorlib]System.Collections.IEnumerator, [mscorlib]System.IDisposable, class [mscorlib]System.Collections.Generic.IEnumerator`1 { + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .field assembly class [mscorlib]System.Type 'type' + .field assembly class [mscorlib]System.Type[] $locvar0 + .field assembly int32 $locvar1 + .field assembly class [mscorlib]System.Type '__1' + .field assembly class [mscorlib]System.Collections.Generic.IEnumerator`1 $locvar2 + .field assembly class [mscorlib]System.Reflection.MemberInfo '__2' + .field assembly class [mscorlib]System.Collections.Generic.IEnumerator`1 $locvar3 + .field assembly class [mscorlib]System.Reflection.MemberInfo '__3' + .field assembly class [mscorlib]System.Reflection.MemberInfo $current + .field assembly bool $disposing + .field assembly int32 $PC + + // method line 1370 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x12538 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method c__Iterator0::.ctor + + // method line 1371 + .method public final virtual hidebysig newslot + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0x12540 + // Code size 429 (0x1ad) + .maxstack 3 + .locals init ( + unsigned int32 V_0, + bool V_1) + IL_0000: ldarg.0 + IL_0001: ldfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$PC + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldc.i4.m1 + IL_0009: stfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$PC + IL_000e: ldc.i4.0 + IL_000f: stloc.1 + IL_0010: ldloc.0 + IL_0011: switch ( + IL_0027, + IL_0070, + IL_012e) + IL_0022: br IL_01a9 + + IL_0027: ldarg.0 + IL_0028: ldarg.0 + IL_0029: ldfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator0'::'type' + IL_002e: callvirt instance class [mscorlib]System.Type[] class [mscorlib]System.Type::GetInterfaces() + IL_0033: stfld class [mscorlib]System.Type[] NDesk.DBus.Mapper/'c__Iterator0'::$locvar0 + IL_0038: ldarg.0 + IL_0039: ldc.i4.0 + IL_003a: stfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$locvar1 + IL_003f: br IL_00f2 + + IL_0044: ldarg.0 + IL_0045: ldarg.0 + IL_0046: ldfld class [mscorlib]System.Type[] NDesk.DBus.Mapper/'c__Iterator0'::$locvar0 + IL_004b: ldarg.0 + IL_004c: ldfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$locvar1 + IL_0051: ldelem.ref + IL_0052: stfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator0'::'__1' + IL_0057: ldarg.0 + IL_0058: ldarg.0 + IL_0059: ldfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator0'::'__1' + IL_005e: call class [mscorlib]System.Collections.Generic.IEnumerable`1 class NDesk.DBus.Mapper::GetDeclaredPublicMembers(class [mscorlib]System.Type) + IL_0063: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() + IL_0068: stfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar2 + IL_006d: ldc.i4.s 0xfffffffd + IL_006f: stloc.0 + .try { // 0 + IL_0070: ldloc.0 + IL_0071: ldc.i4.1 + IL_0072: sub + IL_0073: switch ( + IL_00b4) + IL_007c: br IL_00b4 + + IL_0081: ldarg.0 + IL_0082: ldarg.0 + IL_0083: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar2 + IL_0088: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + IL_008d: stfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator0'::'__2' + IL_0092: ldarg.0 + IL_0093: ldarg.0 + IL_0094: ldfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator0'::'__2' + IL_0099: stfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator0'::$current + IL_009e: ldarg.0 + IL_009f: ldfld bool NDesk.DBus.Mapper/'c__Iterator0'::$disposing + IL_00a4: brtrue.s IL_00ad + + IL_00a6: ldarg.0 + IL_00a7: ldc.i4.1 + IL_00a8: stfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$PC + IL_00ad: ldc.i4.1 + IL_00ae: stloc.1 + IL_00af: leave IL_01ab + + IL_00b4: ldarg.0 + IL_00b5: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar2 + IL_00ba: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00bf: brtrue IL_0081 + + IL_00c4: leave IL_00e4 + + } // end .try 0 + finally { // 0 + IL_00c9: ldloc.1 + IL_00ca: brfalse.s IL_00cd + + IL_00cc: endfinally + IL_00cd: ldarg.0 + IL_00ce: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar2 + IL_00d3: brfalse IL_00e3 - IL_00e5: ldstr "arg match must be between 0 and " - IL_00ea: ldc.i4.s 0x3f - IL_00ec: box [mscorlib]System.UInt32 - IL_00f1: ldstr " inclusive" - IL_00f6: call string string::Concat(object, object, object) - IL_00fb: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0100: throw - IL_0101: ldloc.s 4 - IL_0103: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_0108: ldc.i4.2 - IL_0109: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(int32) - IL_010e: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_0113: stloc.s 6 - IL_0115: ldloc.s 6 - IL_0117: ldstr "path" - IL_011c: call bool string::op_Equality(string, string) - IL_0121: brfalse IL_0144 + IL_00d8: ldarg.0 + IL_00d9: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar2 + IL_00de: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00e3: endfinally + } // end handler 0 + IL_00e4: ldarg.0 + IL_00e5: ldarg.0 + IL_00e6: ldfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$locvar1 + IL_00eb: ldc.i4.1 + IL_00ec: add + IL_00ed: stfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$locvar1 + IL_00f2: ldarg.0 + IL_00f3: ldfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$locvar1 + IL_00f8: ldarg.0 + IL_00f9: ldfld class [mscorlib]System.Type[] NDesk.DBus.Mapper/'c__Iterator0'::$locvar0 + IL_00fe: ldlen + IL_00ff: conv.i4 + IL_0100: blt IL_0044 - IL_0126: ldloc.0 - IL_0127: ldfld class [System.Core]System.Collections.Generic.HashSet`1 NDesk.DBus.MatchRule::Args - IL_012c: ldloc.s 5 - IL_012e: ldloc.3 - IL_012f: newobj instance void class NDesk.DBus.ObjectPath::'.ctor'(string) - IL_0134: newobj instance void valuetype NDesk.DBus.ArgMatchTest::'.ctor'(int32, class NDesk.DBus.ObjectPath) - IL_0139: callvirt instance bool class [System.Core]System.Collections.Generic.HashSet`1::Add(!0) - IL_013e: pop - IL_013f: br IL_0158 + IL_0105: ldarg.0 + IL_0106: ldfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator0'::'type' + IL_010b: call bool class NDesk.DBus.Mapper::IsPublic(class [mscorlib]System.Type) + IL_0110: brfalse IL_01a2 - IL_0144: ldloc.0 - IL_0145: ldfld class [System.Core]System.Collections.Generic.HashSet`1 NDesk.DBus.MatchRule::Args - IL_014a: ldloc.s 5 - IL_014c: ldloc.3 - IL_014d: newobj instance void valuetype NDesk.DBus.ArgMatchTest::'.ctor'(int32, string) - IL_0152: callvirt instance bool class [System.Core]System.Collections.Generic.HashSet`1::Add(!0) - IL_0157: pop - IL_0158: br IL_0290 + IL_0115: ldarg.0 + IL_0116: ldarg.0 + IL_0117: ldfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator0'::'type' + IL_011c: call class [mscorlib]System.Collections.Generic.IEnumerable`1 class NDesk.DBus.Mapper::GetDeclaredPublicMembers(class [mscorlib]System.Type) + IL_0121: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() + IL_0126: stfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar3 + IL_012b: ldc.i4.s 0xfffffffd + IL_012d: stloc.0 + .try { // 1 + IL_012e: ldloc.0 + IL_012f: ldc.i4.2 + IL_0130: sub + IL_0131: switch ( + IL_0172) + IL_013a: br IL_0172 - IL_015d: ldloc.2 - IL_015e: brfalse IL_026c + IL_013f: ldarg.0 + IL_0140: ldarg.0 + IL_0141: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar3 + IL_0146: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + IL_014b: stfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator0'::'__3' + IL_0150: ldarg.0 + IL_0151: ldarg.0 + IL_0152: ldfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator0'::'__3' + IL_0157: stfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator0'::$current + IL_015c: ldarg.0 + IL_015d: ldfld bool NDesk.DBus.Mapper/'c__Iterator0'::$disposing + IL_0162: brtrue.s IL_016b - IL_0163: ldloc.2 - IL_0164: ldstr "type" - IL_0169: call bool string::op_Equality(string, string) - IL_016e: brtrue IL_01c8 + IL_0164: ldarg.0 + IL_0165: ldc.i4.2 + IL_0166: stfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$PC + IL_016b: ldc.i4.1 + IL_016c: stloc.1 + IL_016d: leave IL_01ab - IL_0173: ldloc.2 - IL_0174: ldstr "interface" - IL_0179: call bool string::op_Equality(string, string) - IL_017e: brtrue IL_01f4 + IL_0172: ldarg.0 + IL_0173: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar3 + IL_0178: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_017d: brtrue IL_013f - IL_0183: ldloc.2 - IL_0184: ldstr "member" - IL_0189: call bool string::op_Equality(string, string) - IL_018e: brtrue IL_020b + IL_0182: leave IL_01a2 - IL_0193: ldloc.2 - IL_0194: ldstr "path" - IL_0199: call bool string::op_Equality(string, string) - IL_019e: brtrue IL_0222 + } // end .try 1 + finally { // 1 + IL_0187: ldloc.1 + IL_0188: brfalse.s IL_018b - IL_01a3: ldloc.2 - IL_01a4: ldstr "sender" - IL_01a9: call bool string::op_Equality(string, string) - IL_01ae: brtrue IL_023e + IL_018a: endfinally + IL_018b: ldarg.0 + IL_018c: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar3 + IL_0191: brfalse IL_01a1 - IL_01b3: ldloc.2 - IL_01b4: ldstr "destination" - IL_01b9: call bool string::op_Equality(string, string) - IL_01be: brtrue IL_0255 + IL_0196: ldarg.0 + IL_0197: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar3 + IL_019c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01a1: endfinally + } // end handler 1 + IL_01a2: ldarg.0 + IL_01a3: ldc.i4.m1 + IL_01a4: stfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$PC + IL_01a9: ldc.i4.0 + IL_01aa: ret + IL_01ab: ldc.i4.1 + IL_01ac: ret + } // end of method c__Iterator0::MoveNext - IL_01c3: br IL_026c + // method line 1372 + .method private final virtual hidebysig newslot specialname + instance default class [mscorlib]System.Reflection.MemberInfo 'System.Collections.Generic.IEnumerator.get_Current' () cil managed + { + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_01c8: ldloc.0 - IL_01c9: ldfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.MatchRule::MessageType - IL_01ce: stloc.s 7 - IL_01d0: ldloca.s 7 - IL_01d2: call instance bool valuetype [mscorlib]System.Nullable`1::get_HasValue() - IL_01d7: brfalse IL_01de + // Method begins at RVA 0x12718 + .override method instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator0'::$current + IL_0006: ret + } // end of method c__Iterator0::System.Collections.Generic.IEnumerator.get_Current - IL_01dc: ldnull - IL_01dd: ret - IL_01de: ldloc.0 - IL_01df: ldloc.3 - IL_01e0: call valuetype NDesk.DBus.MessageType class NDesk.DBus.MessageFilter::StringToMessageType(string) - IL_01e5: newobj instance void valuetype [mscorlib]System.Nullable`1::'.ctor'(!0) - IL_01ea: stfld valuetype [mscorlib]System.Nullable`1 NDesk.DBus.MatchRule::MessageType - IL_01ef: br IL_0290 + // method line 1373 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed + { + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_01f4: ldloc.0 - IL_01f5: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields - IL_01fa: ldc.i4.2 - IL_01fb: ldloc.3 - IL_01fc: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(string) - IL_0201: callvirt instance void class [System]System.Collections.Generic.SortedList`2::set_Item(!0, !1) - IL_0206: br IL_0290 + // Method begins at RVA 0x12720 + .override class [mscorlib]System.Collections.IEnumerator::get_Current + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator0'::$current + IL_0006: ret + } // end of method c__Iterator0::System.Collections.IEnumerator.get_Current - IL_020b: ldloc.0 - IL_020c: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields - IL_0211: ldc.i4.3 - IL_0212: ldloc.3 - IL_0213: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(string) - IL_0218: callvirt instance void class [System]System.Collections.Generic.SortedList`2::set_Item(!0, !1) - IL_021d: br IL_0290 + // method line 1374 + .method public final virtual hidebysig newslot + instance default void Dispose () cil managed + { + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0222: ldloc.0 - IL_0223: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields - IL_0228: ldc.i4.1 - IL_0229: ldloc.3 - IL_022a: newobj instance void class NDesk.DBus.ObjectPath::'.ctor'(string) - IL_022f: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(class NDesk.DBus.ObjectPath) - IL_0234: callvirt instance void class [System]System.Collections.Generic.SortedList`2::set_Item(!0, !1) - IL_0239: br IL_0290 + // Method begins at RVA 0x12728 + // Code size 106 (0x6a) + .maxstack 2 + .locals init ( + unsigned int32 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$PC + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldc.i4.1 + IL_0009: stfld bool NDesk.DBus.Mapper/'c__Iterator0'::$disposing + IL_000e: ldarg.0 + IL_000f: ldc.i4.m1 + IL_0010: stfld int32 NDesk.DBus.Mapper/'c__Iterator0'::$PC + IL_0015: ldloc.0 + IL_0016: switch ( + IL_0069, + IL_002c, + IL_004d) + IL_0027: br IL_0069 - IL_023e: ldloc.0 - IL_023f: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields - IL_0244: ldc.i4.7 - IL_0245: ldloc.3 - IL_0246: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(string) - IL_024b: callvirt instance void class [System]System.Collections.Generic.SortedList`2::set_Item(!0, !1) - IL_0250: br IL_0290 + .try { // 0 + IL_002c: leave IL_0048 - IL_0255: ldloc.0 - IL_0256: ldfld class [System]System.Collections.Generic.SortedList`2 NDesk.DBus.MatchRule::Fields - IL_025b: ldc.i4.6 - IL_025c: ldloc.3 - IL_025d: newobj instance void class NDesk.DBus.MatchTest::'.ctor'(string) - IL_0262: callvirt instance void class [System]System.Collections.Generic.SortedList`2::set_Item(!0, !1) - IL_0267: br IL_0290 + } // end .try 0 + finally { // 0 + IL_0031: ldarg.0 + IL_0032: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar2 + IL_0037: brfalse IL_0047 - IL_026c: ldsfld bool NDesk.DBus.Protocol::Verbose - IL_0271: brfalse IL_028b + IL_003c: ldarg.0 + IL_003d: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar2 + IL_0042: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0047: endfinally + } // end handler 0 + IL_0048: br IL_0069 - IL_0276: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_027b: ldstr "Warning: Unrecognized match rule key: " - IL_0280: ldloc.2 - IL_0281: call string string::Concat(string, string) - IL_0286: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_028b: br IL_0290 + .try { // 1 + IL_004d: leave IL_0069 - IL_0290: ldloc.1 - IL_0291: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Match::NextMatch() - IL_0296: stloc.1 - IL_0297: ldloc.1 - IL_0298: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() - IL_029d: brtrue IL_0048 + } // end .try 1 + finally { // 1 + IL_0052: ldarg.0 + IL_0053: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar3 + IL_0058: brfalse IL_0068 - IL_02a2: ldloc.0 - IL_02a3: ret - } // end of method MatchRule::Parse + IL_005d: ldarg.0 + IL_005e: ldfld class [mscorlib]System.Collections.Generic.IEnumerator`1 NDesk.DBus.Mapper/'c__Iterator0'::$locvar3 + IL_0063: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0068: endfinally + } // end handler 1 + IL_0069: ret + } // end of method c__Iterator0::Dispose - // method line 1246 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + // method line 1375 + .method public final virtual hidebysig newslot + instance default void Reset () cil managed { - // Method begins at RVA 0x127b0 - // Code size 32 (0x20) + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x127bc + // Code size 6 (0x6) .maxstack 8 - IL_0000: ldstr "^arg(\\d+)(path)?$" - IL_0005: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) - IL_000a: stsfld class [System]System.Text.RegularExpressions.Regex NDesk.DBus.MatchRule::argNRegex - IL_000f: ldstr "(\\w+)\\s*=\\s*'((\\\\\\\\|\\\\'|[^'\\\\])*)'" - IL_0014: ldc.i4.8 - IL_0015: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) - IL_001a: stsfld class [System]System.Text.RegularExpressions.Regex NDesk.DBus.MatchRule::matchRuleRegex - IL_001f: ret - } // end of method MatchRule::.cctor + IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() + IL_0005: throw + } // end of method c__Iterator0::Reset - // method line 1247 - .method private static hidebysig - default int32 'm__0' (valuetype NDesk.DBus.ArgMatchTest aa, valuetype NDesk.DBus.ArgMatchTest bb) cil managed + // method line 1376 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed { - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - // Method begins at RVA 0x127d1 - // Code size 16 (0x10) + // Method begins at RVA 0x127c3 + .override class [mscorlib]System.Collections.IEnumerable::GetEnumerator + // Code size 7 (0x7) .maxstack 8 - IL_0000: ldarga.s 0 - IL_0002: ldfld int32 NDesk.DBus.ArgMatchTest::ArgNum - IL_0007: ldarga.s 1 - IL_0009: ldfld int32 NDesk.DBus.ArgMatchTest::ArgNum - IL_000e: sub - IL_000f: ret - } // end of method MatchRule::m__0 + IL_0000: ldarg.0 + IL_0001: call instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class NDesk.DBus.Mapper/'c__Iterator0'::'System.Collections.Generic.IEnumerable.GetEnumerator'() + IL_0006: ret + } // end of method c__Iterator0::System.Collections.IEnumerable.GetEnumerator - // method line 1248 - .method private static hidebysig - default int32 'm__1' (valuetype NDesk.DBus.ArgMatchTest aa, valuetype NDesk.DBus.ArgMatchTest bb) cil managed + // method line 1377 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.Generic.IEnumerator`1 'System.Collections.Generic.IEnumerable.GetEnumerator' () cil managed { - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - // Method begins at RVA 0x127e2 - // Code size 16 (0x10) - .maxstack 8 - IL_0000: ldarga.s 0 - IL_0002: ldfld int32 NDesk.DBus.ArgMatchTest::ArgNum - IL_0007: ldarga.s 1 - IL_0009: ldfld int32 NDesk.DBus.ArgMatchTest::ArgNum - IL_000e: sub - IL_000f: ret - } // end of method MatchRule::m__1 + // Method begins at RVA 0x127cc + .override method instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() + // Code size 40 (0x28) + .maxstack 3 + .locals init ( + class NDesk.DBus.Mapper/'c__Iterator0' V_0) + IL_0000: ldarg.0 + IL_0001: ldflda int32 NDesk.DBus.Mapper/'c__Iterator0'::$PC + IL_0006: ldc.i4.0 + IL_0007: ldc.i4.s 0xfffffffe + IL_0009: call int32 class [mscorlib]System.Threading.Interlocked::CompareExchange([out] int32&, int32, int32) + IL_000e: ldc.i4.s 0xfffffffe + IL_0010: bne.un.s IL_0014 - .class nested private auto ansi sealed beforefieldinit 'c__AnonStorey0' + IL_0012: ldarg.0 + IL_0013: ret + IL_0014: newobj instance void class NDesk.DBus.Mapper/'c__Iterator0'::'.ctor'() + IL_0019: stloc.0 + IL_001a: ldloc.0 + IL_001b: ldarg.0 + IL_001c: ldfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator0'::'type' + IL_0021: stfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator0'::'type' + IL_0026: ldloc.0 + IL_0027: ret + } // end of method c__Iterator0::System.Collections.Generic.IEnumerable.GetEnumerator + + .property instance class [mscorlib]System.Reflection.MemberInfo 'System.Collections.Generic.IEnumerator.Current' () + { + .get instance default class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator0'::'System.Collections.Generic.IEnumerator.get_Current' () + } + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NDesk.DBus.Mapper/'c__Iterator0'::System.Collections.IEnumerator.get_Current () + } + } // end of class c__Iterator0 + + .class nested private auto ansi sealed beforefieldinit 'c__Iterator1' extends [mscorlib]System.Object - { + implements [mscorlib]System.Collections.IEnumerable, class [mscorlib]System.Collections.Generic.IEnumerable`1, [mscorlib]System.Collections.IEnumerator, [mscorlib]System.IDisposable, class [mscorlib]System.Collections.Generic.IEnumerator`1 { .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... - .field assembly class [mscorlib]System.Collections.Generic.List`1 sigs + .field assembly class [mscorlib]System.Type 'type' + .field assembly class [mscorlib]System.Reflection.MemberInfo[] $locvar0 + .field assembly int32 $locvar1 + .field assembly class [mscorlib]System.Reflection.MemberInfo '__1' + .field assembly class [mscorlib]System.Reflection.MemberInfo $current + .field assembly bool $disposing + .field assembly int32 $PC - // method line 1384 + // method line 1378 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x127f3 + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x12800 // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 IL_0001: call instance void object::'.ctor'() IL_0006: ret - } // end of method c__AnonStorey0::.ctor + } // end of method c__Iterator1::.ctor - // method line 1385 - .method assembly hidebysig - instance default bool '<>m__0' (valuetype NDesk.DBus.ArgMatchTest t) cil managed + // method line 1379 + .method public final virtual hidebysig newslot + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x127fb - // Code size 57 (0x39) - .maxstack 8 - IL_0000: ldarga.s 1 - IL_0002: ldfld int32 NDesk.DBus.ArgMatchTest::ArgNum + // Method begins at RVA 0x12808 + // Code size 175 (0xaf) + .maxstack 3 + .locals init ( + unsigned int32 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld int32 NDesk.DBus.Mapper/'c__Iterator1'::$PC + IL_0006: stloc.0 IL_0007: ldarg.0 - IL_0008: ldfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.MatchRule/'c__AnonStorey0'::sigs - IL_000d: callvirt instance int32 class [mscorlib]System.Collections.Generic.List`1::get_Count() - IL_0012: bge IL_0037 + IL_0008: ldc.i4.m1 + IL_0009: stfld int32 NDesk.DBus.Mapper/'c__Iterator1'::$PC + IL_000e: ldloc.0 + IL_000f: switch ( + IL_0021, + IL_0083) + IL_001c: br IL_00ab - IL_0017: ldarga.s 1 - IL_0019: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.ArgMatchTest::Signature - IL_001e: ldarg.0 - IL_001f: ldfld class [mscorlib]System.Collections.Generic.List`1 NDesk.DBus.MatchRule/'c__AnonStorey0'::sigs - IL_0024: ldarga.s 1 - IL_0026: ldfld int32 NDesk.DBus.ArgMatchTest::ArgNum - IL_002b: callvirt instance !0 class [mscorlib]System.Collections.Generic.List`1::get_Item(int32) - IL_0030: call bool valuetype NDesk.DBus.Signature::op_Inequality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) - IL_0035: br.s IL_0038 + IL_0021: ldarg.0 + IL_0022: ldfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator1'::'type' + IL_0027: call bool class NDesk.DBus.Mapper::IsPublic(class [mscorlib]System.Type) + IL_002c: brfalse IL_00a4 - IL_0037: ldc.i4.1 - IL_0038: ret - } // end of method c__AnonStorey0::<>m__0 + IL_0031: ldarg.0 + IL_0032: ldarg.0 + IL_0033: ldfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator1'::'type' + IL_0038: ldc.i4.s 0x16 + IL_003a: callvirt instance class [mscorlib]System.Reflection.MemberInfo[] class [mscorlib]System.Type::GetMembers(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_003f: stfld class [mscorlib]System.Reflection.MemberInfo[] NDesk.DBus.Mapper/'c__Iterator1'::$locvar0 + IL_0044: ldarg.0 + IL_0045: ldc.i4.0 + IL_0046: stfld int32 NDesk.DBus.Mapper/'c__Iterator1'::$locvar1 + IL_004b: br IL_0091 - } // end of class c__AnonStorey0 + IL_0050: ldarg.0 + IL_0051: ldarg.0 + IL_0052: ldfld class [mscorlib]System.Reflection.MemberInfo[] NDesk.DBus.Mapper/'c__Iterator1'::$locvar0 + IL_0057: ldarg.0 + IL_0058: ldfld int32 NDesk.DBus.Mapper/'c__Iterator1'::$locvar1 + IL_005d: ldelem.ref + IL_005e: stfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator1'::'__1' + IL_0063: ldarg.0 + IL_0064: ldarg.0 + IL_0065: ldfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator1'::'__1' + IL_006a: stfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator1'::$current + IL_006f: ldarg.0 + IL_0070: ldfld bool NDesk.DBus.Mapper/'c__Iterator1'::$disposing + IL_0075: brtrue.s IL_007e - } // end of class NDesk.DBus.MatchRule -} + IL_0077: ldarg.0 + IL_0078: ldc.i4.1 + IL_0079: stfld int32 NDesk.DBus.Mapper/'c__Iterator1'::$PC + IL_007e: br IL_00ad -.namespace NDesk.DBus -{ - .class private auto ansi beforefieldinit HeaderTest - extends NDesk.DBus.MatchTest - { - .field public valuetype NDesk.DBus.FieldCode Field + IL_0083: ldarg.0 + IL_0084: ldarg.0 + IL_0085: ldfld int32 NDesk.DBus.Mapper/'c__Iterator1'::$locvar1 + IL_008a: ldc.i4.1 + IL_008b: add + IL_008c: stfld int32 NDesk.DBus.Mapper/'c__Iterator1'::$locvar1 + IL_0091: ldarg.0 + IL_0092: ldfld int32 NDesk.DBus.Mapper/'c__Iterator1'::$locvar1 + IL_0097: ldarg.0 + IL_0098: ldfld class [mscorlib]System.Reflection.MemberInfo[] NDesk.DBus.Mapper/'c__Iterator1'::$locvar0 + IL_009d: ldlen + IL_009e: conv.i4 + IL_009f: blt IL_0050 - // method line 1249 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (valuetype NDesk.DBus.FieldCode 'field', object 'value') cil managed + IL_00a4: ldarg.0 + IL_00a5: ldc.i4.m1 + IL_00a6: stfld int32 NDesk.DBus.Mapper/'c__Iterator1'::$PC + IL_00ab: ldc.i4.0 + IL_00ac: ret + IL_00ad: ldc.i4.1 + IL_00ae: ret + } // end of method c__Iterator1::MoveNext + + // method line 1380 + .method private final virtual hidebysig newslot specialname + instance default class [mscorlib]System.Reflection.MemberInfo 'System.Collections.Generic.IEnumerator.get_Current' () cil managed { - // Method begins at RVA 0x12890 - // Code size 38 (0x26) + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x128c3 + .override method instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NDesk.DBus.MatchTest::'.ctor'() - IL_0006: ldarg.0 - IL_0007: ldarg.1 - IL_0008: stfld valuetype NDesk.DBus.FieldCode NDesk.DBus.HeaderTest::Field - IL_000d: ldarg.0 - IL_000e: ldarg.2 - IL_000f: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0014: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) - IL_0019: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MatchTest::Signature - IL_001e: ldarg.0 - IL_001f: ldarg.2 - IL_0020: stfld object NDesk.DBus.MatchTest::Value - IL_0025: ret - } // end of method HeaderTest::.ctor - - } // end of class NDesk.DBus.HeaderTest -} - -.namespace NDesk.DBus -{ - .class private sequential ansi sealed beforefieldinit ArgMatchTest - extends [mscorlib]System.ValueType - { - .field public int32 ArgNum - .field public valuetype NDesk.DBus.Signature Signature - .field public object Value + IL_0001: ldfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator1'::$current + IL_0006: ret + } // end of method c__Iterator1::System.Collections.Generic.IEnumerator.get_Current - // method line 1250 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (int32 argNum, string 'value') cil managed + // method line 1381 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x128b7 - // Code size 26 (0x1a) + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x128cb + .override class [mscorlib]System.Collections.IEnumerator::get_Current + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: stfld int32 NDesk.DBus.ArgMatchTest::ArgNum - IL_0007: ldarg.0 - IL_0008: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::StringSig - IL_000d: stfld valuetype NDesk.DBus.Signature NDesk.DBus.ArgMatchTest::Signature - IL_0012: ldarg.0 - IL_0013: ldarg.2 - IL_0014: stfld object NDesk.DBus.ArgMatchTest::Value - IL_0019: ret - } // end of method ArgMatchTest::.ctor + IL_0001: ldfld class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator1'::$current + IL_0006: ret + } // end of method c__Iterator1::System.Collections.IEnumerator.get_Current - // method line 1251 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (int32 argNum, class NDesk.DBus.ObjectPath 'value') cil managed + // method line 1382 + .method public final virtual hidebysig newslot + instance default void Dispose () cil managed { - // Method begins at RVA 0x128d2 - // Code size 26 (0x1a) + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x128d3 + // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: stfld int32 NDesk.DBus.ArgMatchTest::ArgNum + IL_0001: ldc.i4.1 + IL_0002: stfld bool NDesk.DBus.Mapper/'c__Iterator1'::$disposing IL_0007: ldarg.0 - IL_0008: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::ObjectPathSig - IL_000d: stfld valuetype NDesk.DBus.Signature NDesk.DBus.ArgMatchTest::Signature - IL_0012: ldarg.0 - IL_0013: ldarg.2 - IL_0014: stfld object NDesk.DBus.ArgMatchTest::Value - IL_0019: ret - } // end of method ArgMatchTest::.ctor + IL_0008: ldc.i4.m1 + IL_0009: stfld int32 NDesk.DBus.Mapper/'c__Iterator1'::$PC + IL_000e: ret + } // end of method c__Iterator1::Dispose - // method line 1252 - .method public virtual hidebysig - instance default int32 GetHashCode () cil managed + // method line 1383 + .method public final virtual hidebysig newslot + instance default void Reset () cil managed { - // Method begins at RVA 0x128ed - // Code size 37 (0x25) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.ArgMatchTest::Signature - IL_0006: constrained. NDesk.DBus.Signature - IL_000c: callvirt instance int32 object::GetHashCode() - IL_0011: ldarg.0 - IL_0012: ldfld object NDesk.DBus.ArgMatchTest::Value - IL_0017: callvirt instance int32 object::GetHashCode() - IL_001c: xor - IL_001d: ldarg.0 - IL_001e: ldfld int32 NDesk.DBus.ArgMatchTest::ArgNum - IL_0023: xor - IL_0024: ret - } // end of method ArgMatchTest::GetHashCode - - } // end of class NDesk.DBus.ArgMatchTest -} + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... -.namespace NDesk.DBus -{ - .class private auto ansi beforefieldinit MatchTest - extends [mscorlib]System.Object - { - .field public valuetype NDesk.DBus.Signature Signature - .field public object Value + // Method begins at RVA 0x128e3 + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'() + IL_0005: throw + } // end of method c__Iterator1::Reset - // method line 1253 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1384 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed { - // Method begins at RVA 0x12835 + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x128ea + .override class [mscorlib]System.Collections.IEnumerable::GetEnumerator // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() + IL_0001: call instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class NDesk.DBus.Mapper/'c__Iterator1'::'System.Collections.Generic.IEnumerable.GetEnumerator'() IL_0006: ret - } // end of method MatchTest::.ctor + } // end of method c__Iterator1::System.Collections.IEnumerable.GetEnumerator - // method line 1254 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string 'value') cil managed + // method line 1385 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.Generic.IEnumerator`1 'System.Collections.Generic.IEnumerable.GetEnumerator' () cil managed { - // Method begins at RVA 0x1283d - // Code size 25 (0x19) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ldarg.0 - IL_0007: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::StringSig - IL_000c: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MatchTest::Signature - IL_0011: ldarg.0 - IL_0012: ldarg.1 - IL_0013: stfld object NDesk.DBus.MatchTest::Value - IL_0018: ret - } // end of method MatchTest::.ctor + .custom instance void class [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 1255 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NDesk.DBus.ObjectPath 'value') cil managed - { - // Method begins at RVA 0x12857 - // Code size 25 (0x19) - .maxstack 8 + // Method begins at RVA 0x128f4 + .override method instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() + // Code size 40 (0x28) + .maxstack 3 + .locals init ( + class NDesk.DBus.Mapper/'c__Iterator1' V_0) IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ldarg.0 - IL_0007: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::ObjectPathSig - IL_000c: stfld valuetype NDesk.DBus.Signature NDesk.DBus.MatchTest::Signature - IL_0011: ldarg.0 - IL_0012: ldarg.1 - IL_0013: stfld object NDesk.DBus.MatchTest::Value - IL_0018: ret - } // end of method MatchTest::.ctor + IL_0001: ldflda int32 NDesk.DBus.Mapper/'c__Iterator1'::$PC + IL_0006: ldc.i4.0 + IL_0007: ldc.i4.s 0xfffffffe + IL_0009: call int32 class [mscorlib]System.Threading.Interlocked::CompareExchange([out] int32&, int32, int32) + IL_000e: ldc.i4.s 0xfffffffe + IL_0010: bne.un.s IL_0014 - // method line 1256 - .method public virtual hidebysig - instance default int32 GetHashCode () cil managed - { - // Method begins at RVA 0x12871 - // Code size 30 (0x1e) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MatchTest::Signature - IL_0006: constrained. NDesk.DBus.Signature - IL_000c: callvirt instance int32 object::GetHashCode() - IL_0011: ldarg.0 - IL_0012: ldfld object NDesk.DBus.MatchTest::Value - IL_0017: callvirt instance int32 object::GetHashCode() - IL_001c: xor - IL_001d: ret - } // end of method MatchTest::GetHashCode + IL_0012: ldarg.0 + IL_0013: ret + IL_0014: newobj instance void class NDesk.DBus.Mapper/'c__Iterator1'::'.ctor'() + IL_0019: stloc.0 + IL_001a: ldloc.0 + IL_001b: ldarg.0 + IL_001c: ldfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator1'::'type' + IL_0021: stfld class [mscorlib]System.Type NDesk.DBus.Mapper/'c__Iterator1'::'type' + IL_0026: ldloc.0 + IL_0027: ret + } // end of method c__Iterator1::System.Collections.Generic.IEnumerable.GetEnumerator - } // end of class NDesk.DBus.MatchTest + .property instance class [mscorlib]System.Reflection.MemberInfo 'System.Collections.Generic.IEnumerator.Current' () + { + .get instance default class [mscorlib]System.Reflection.MemberInfo NDesk.DBus.Mapper/'c__Iterator1'::'System.Collections.Generic.IEnumerator.get_Current' () + } + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NDesk.DBus.Mapper/'c__Iterator1'::System.Collections.IEnumerator.get_Current () + } + } // end of class c__Iterator1 + + } // end of class NDesk.DBus.Mapper } -.namespace NDesk.DBus.Transports +.namespace NDesk.DBus { - .class private auto ansi beforefieldinit UnixMonoTransport - extends NDesk.DBus.Transports.UnixTransport + .class private auto ansi abstract sealed beforefieldinit MessageHelper + extends [mscorlib]System.Object { - .field family class [System]System.Net.Sockets.Socket socket - // method line 1257 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1260 + .method public static hidebysig + default class NDesk.DBus.Message CreateUnknownMethodError (class NDesk.DBus.MethodCall method_call) cil managed { - // Method begins at RVA 0x12913 - // Code size 7 (0x7) - .maxstack 8 + // Method begins at RVA 0x12928 + // Code size 173 (0xad) + .maxstack 4 + .locals init ( + string V_0, + class NDesk.DBus.Error V_1, + class NDesk.DBus.MessageWriter V_2) IL_0000: ldarg.0 - IL_0001: call instance void class NDesk.DBus.Transports.UnixTransport::'.ctor'() - IL_0006: ret - } // end of method UnixMonoTransport::.ctor + IL_0001: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message + IL_0006: callvirt instance bool class NDesk.DBus.Message::get_ReplyExpected() + IL_000b: brtrue IL_0012 - // method line 1258 - .method public virtual hidebysig - instance default void Open (string path, bool 'abstract') cil managed + IL_0010: ldnull + IL_0011: ret + IL_0012: ldstr "Method \"{0}\" with signature \"{1}\" on interface \"{2}\" doesn't exist" + IL_0017: ldarg.0 + IL_0018: ldfld string NDesk.DBus.MethodCall::Member + IL_001d: ldarg.0 + IL_001e: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.MethodCall::Signature + IL_0023: call instance string valuetype NDesk.DBus.Signature::get_Value() + IL_0028: ldarg.0 + IL_0029: ldfld string NDesk.DBus.MethodCall::Interface + IL_002e: call string string::Format(string, object, object, object) + IL_0033: stloc.0 + IL_0034: ldstr "org.freedesktop.DBus.Error.UnknownMethod" + IL_0039: ldarg.0 + IL_003a: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message + IL_003f: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0044: ldfld unsigned int32 NDesk.DBus.Header::Serial + IL_0049: newobj instance void class NDesk.DBus.Error::'.ctor'(string, unsigned int32) + IL_004e: stloc.1 + IL_004f: ldloc.1 + IL_0050: ldfld class NDesk.DBus.Message NDesk.DBus.Error::message + IL_0055: ldc.i4.s 0x73 + IL_0057: newobj instance void valuetype NDesk.DBus.Signature::'.ctor'(valuetype NDesk.DBus.DType) + IL_005c: callvirt instance void class NDesk.DBus.Message::set_Signature(valuetype NDesk.DBus.Signature) + IL_0061: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness + IL_0066: newobj instance void class NDesk.DBus.MessageWriter::'.ctor'(valuetype NDesk.DBus.EndianFlag) + IL_006b: stloc.2 + IL_006c: ldloc.2 + IL_006d: ldloc.0 + IL_006e: callvirt instance void class NDesk.DBus.MessageWriter::Write(string) + IL_0073: ldloc.1 + IL_0074: ldfld class NDesk.DBus.Message NDesk.DBus.Error::message + IL_0079: ldloc.2 + IL_007a: callvirt instance unsigned int8[] class NDesk.DBus.MessageWriter::ToArray() + IL_007f: stfld unsigned int8[] NDesk.DBus.Message::Body + IL_0084: ldarg.0 + IL_0085: ldfld string NDesk.DBus.MethodCall::Sender + IL_008a: brfalse IL_00a6 + + IL_008f: ldloc.1 + IL_0090: ldfld class NDesk.DBus.Message NDesk.DBus.Error::message + IL_0095: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_009a: ldc.i4.6 + IL_009b: ldarg.0 + IL_009c: ldfld string NDesk.DBus.MethodCall::Sender + IL_00a1: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) + IL_00a6: ldloc.1 + IL_00a7: ldfld class NDesk.DBus.Message NDesk.DBus.Error::message + IL_00ac: ret + } // end of method MessageHelper::CreateUnknownMethodError + + // method line 1261 + .method public static hidebysig + default void WriteDynamicValues (class NDesk.DBus.MessageWriter mw, class [mscorlib]System.Reflection.ParameterInfo[] parms, object[] vals) cil managed { - // Method begins at RVA 0x1291c - // Code size 89 (0x59) - .maxstack 3 - IL_0000: ldarg.2 - IL_0001: brfalse IL_0018 + // Method begins at RVA 0x129e4 + // Code size 70 (0x46) + .maxstack 4 + .locals init ( + class [mscorlib]System.Reflection.ParameterInfo V_0, + class [mscorlib]System.Reflection.ParameterInfo[] V_1, + int32 V_2, + class [mscorlib]System.Type V_3) + IL_0000: ldarg.1 + IL_0001: stloc.1 + IL_0002: ldc.i4.0 + IL_0003: stloc.2 + IL_0004: br IL_003c - IL_0006: ldarg.0 - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance class [System]System.Net.Sockets.Socket class NDesk.DBus.Transports.UnixMonoTransport::OpenAbstractUnix(string) - IL_000e: stfld class [System]System.Net.Sockets.Socket NDesk.DBus.Transports.UnixMonoTransport::socket - IL_0013: br IL_0025 + IL_0009: ldloc.1 + IL_000a: ldloc.2 + IL_000b: ldelem.ref + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: callvirt instance bool class [mscorlib]System.Reflection.ParameterInfo::get_IsOut() + IL_0013: brtrue IL_001d - IL_0018: ldarg.0 - IL_0019: ldarg.0 - IL_001a: ldarg.1 - IL_001b: call instance class [System]System.Net.Sockets.Socket class NDesk.DBus.Transports.UnixMonoTransport::OpenUnix(string) - IL_0020: stfld class [System]System.Net.Sockets.Socket NDesk.DBus.Transports.UnixMonoTransport::socket - IL_0025: ldarg.0 - IL_0026: ldfld class [System]System.Net.Sockets.Socket NDesk.DBus.Transports.UnixMonoTransport::socket - IL_002b: ldc.i4.1 - IL_002c: callvirt instance void class [System]System.Net.Sockets.Socket::set_Blocking(bool) - IL_0031: ldarg.0 - IL_0032: ldarg.0 - IL_0033: ldfld class [System]System.Net.Sockets.Socket NDesk.DBus.Transports.UnixMonoTransport::socket - IL_0038: callvirt instance native int class [System]System.Net.Sockets.Socket::get_Handle() - IL_003d: call int64 native int::op_Explicit(native int) - IL_0042: stfld int64 NDesk.DBus.Transports.Transport::SocketHandle - IL_0047: ldarg.0 - IL_0048: ldarg.0 - IL_0049: ldfld class [System]System.Net.Sockets.Socket NDesk.DBus.Transports.UnixMonoTransport::socket - IL_004e: newobj instance void class [System]System.Net.Sockets.NetworkStream::'.ctor'(class [System]System.Net.Sockets.Socket) - IL_0053: stfld class [mscorlib]System.IO.Stream NDesk.DBus.Transports.Transport::Stream - IL_0058: ret - } // end of method UnixMonoTransport::Open + IL_0018: br IL_0038 - // method line 1259 - .method public virtual hidebysig - instance default void WriteCred () cil managed + IL_001d: ldloc.0 + IL_001e: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_0023: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() + IL_0028: stloc.3 + IL_0029: ldarg.0 + IL_002a: ldloc.3 + IL_002b: ldarg.2 + IL_002c: ldloc.0 + IL_002d: callvirt instance int32 class [mscorlib]System.Reflection.ParameterInfo::get_Position() + IL_0032: ldelem.ref + IL_0033: callvirt instance void class NDesk.DBus.MessageWriter::Write(class [mscorlib]System.Type, object) + IL_0038: ldloc.2 + IL_0039: ldc.i4.1 + IL_003a: add + IL_003b: stloc.2 + IL_003c: ldloc.2 + IL_003d: ldloc.1 + IL_003e: ldlen + IL_003f: conv.i4 + IL_0040: blt IL_0009 + + IL_0045: ret + } // end of method MessageHelper::WriteDynamicValues + + // method line 1262 + .method public static hidebysig + default object[] GetDynamicValues (class NDesk.DBus.Message msg, class [mscorlib]System.Reflection.ParameterInfo[] parms) cil managed { - // Method begins at RVA 0x12981 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class [mscorlib]System.IO.Stream NDesk.DBus.Transports.Transport::Stream - IL_0006: ldc.i4.0 - IL_0007: callvirt instance void class [mscorlib]System.IO.Stream::WriteByte(unsigned int8) - IL_000c: ret - } // end of method UnixMonoTransport::WriteCred + // Method begins at RVA 0x12a38 + // Code size 96 (0x60) + .maxstack 4 + .locals init ( + object[] V_0, + class NDesk.DBus.MessageReader V_1, + class [mscorlib]System.Reflection.ParameterInfo V_2, + class [mscorlib]System.Reflection.ParameterInfo[] V_3, + int32 V_4) + IL_0000: ldarg.1 + IL_0001: ldlen + IL_0002: conv.i4 + IL_0003: newarr [mscorlib]System.Object + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldfld unsigned int8[] NDesk.DBus.Message::Body + IL_000f: brfalse IL_005e - // method line 1260 - .method public virtual hidebysig - instance default string AuthString () cil managed + IL_0014: ldarg.0 + IL_0015: newobj instance void class NDesk.DBus.MessageReader::'.ctor'(class NDesk.DBus.Message) + IL_001a: stloc.1 + IL_001b: ldarg.1 + IL_001c: stloc.3 + IL_001d: ldc.i4.0 + IL_001e: stloc.s 4 + IL_0020: br IL_0054 + + IL_0025: ldloc.3 + IL_0026: ldloc.s 4 + IL_0028: ldelem.ref + IL_0029: stloc.2 + IL_002a: ldloc.2 + IL_002b: callvirt instance bool class [mscorlib]System.Reflection.ParameterInfo::get_IsOut() + IL_0030: brfalse IL_003a + + IL_0035: br IL_004e + + IL_003a: ldloc.0 + IL_003b: ldloc.2 + IL_003c: callvirt instance int32 class [mscorlib]System.Reflection.ParameterInfo::get_Position() + IL_0041: ldloc.1 + IL_0042: ldloc.2 + IL_0043: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_0048: callvirt instance object class NDesk.DBus.MessageReader::ReadValue(class [mscorlib]System.Type) + IL_004d: stelem.ref + IL_004e: ldloc.s 4 + IL_0050: ldc.i4.1 + IL_0051: add + IL_0052: stloc.s 4 + IL_0054: ldloc.s 4 + IL_0056: ldloc.3 + IL_0057: ldlen + IL_0058: conv.i4 + IL_0059: blt IL_0025 + + IL_005e: ldloc.0 + IL_005f: ret + } // end of method MessageHelper::GetDynamicValues + + // method line 1263 + .method public static hidebysig + default object[] GetDynamicValues (class NDesk.DBus.Message msg, class [mscorlib]System.Type[] types) cil managed { - // Method begins at RVA 0x12990 - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x12aa4 + // Code size 166 (0xa6) + .maxstack 5 .locals init ( - int64 V_0) - IL_0000: call int64 class [Mono.Posix]Mono.Unix.UnixUserInfo::GetRealUserId() - IL_0005: stloc.0 - IL_0006: ldloca.s 0 - IL_0008: constrained. [mscorlib]System.Int64 - IL_000e: callvirt instance string object::ToString() - IL_0013: ret - } // end of method UnixMonoTransport::AuthString + valuetype NDesk.DBus.Signature V_0, + valuetype NDesk.DBus.Signature V_1, + object[] V_2, + class NDesk.DBus.MessageReader V_3, + int32 V_4) + IL_0000: ldsfld bool NDesk.DBus.Protocol::Verbose + IL_0005: brfalse IL_0063 - // method line 1261 - .method family hidebysig - instance default class [System]System.Net.Sockets.Socket OpenAbstractUnix (string path) cil managed + IL_000a: ldarg.1 + IL_000b: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type[]) + IL_0010: stloc.0 + IL_0011: ldarg.0 + IL_0012: callvirt instance valuetype NDesk.DBus.Signature class NDesk.DBus.Message::get_Signature() + IL_0017: stloc.1 + IL_0018: ldloc.1 + IL_0019: ldloc.0 + IL_001a: call bool valuetype NDesk.DBus.Signature::op_Inequality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_001f: brfalse IL_0063 + + IL_0024: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_0029: ldc.i4.5 + IL_002a: newarr [mscorlib]System.Object + IL_002f: dup + IL_0030: ldc.i4.0 + IL_0031: ldstr "Warning: The signature of the message does not match that of the handler: Expected '" + IL_0036: stelem.ref + IL_0037: dup + IL_0038: ldc.i4.1 + IL_0039: ldloc.0 + IL_003a: box NDesk.DBus.Signature + IL_003f: stelem.ref + IL_0040: dup + IL_0041: ldc.i4.2 + IL_0042: ldstr "', got '" + IL_0047: stelem.ref + IL_0048: dup + IL_0049: ldc.i4.3 + IL_004a: ldloc.1 + IL_004b: box NDesk.DBus.Signature + IL_0050: stelem.ref + IL_0051: dup + IL_0052: ldc.i4.4 + IL_0053: ldstr "'" + IL_0058: stelem.ref + IL_0059: call string string::Concat(object[]) + IL_005e: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0063: ldarg.1 + IL_0064: ldlen + IL_0065: conv.i4 + IL_0066: newarr [mscorlib]System.Object + IL_006b: stloc.2 + IL_006c: ldarg.0 + IL_006d: ldfld unsigned int8[] NDesk.DBus.Message::Body + IL_0072: brfalse IL_00a4 + + IL_0077: ldarg.0 + IL_0078: newobj instance void class NDesk.DBus.MessageReader::'.ctor'(class NDesk.DBus.Message) + IL_007d: stloc.3 + IL_007e: ldc.i4.0 + IL_007f: stloc.s 4 + IL_0081: br IL_009a + + IL_0086: ldloc.2 + IL_0087: ldloc.s 4 + IL_0089: ldloc.3 + IL_008a: ldarg.1 + IL_008b: ldloc.s 4 + IL_008d: ldelem.ref + IL_008e: callvirt instance object class NDesk.DBus.MessageReader::ReadValue(class [mscorlib]System.Type) + IL_0093: stelem.ref + IL_0094: ldloc.s 4 + IL_0096: ldc.i4.1 + IL_0097: add + IL_0098: stloc.s 4 + IL_009a: ldloc.s 4 + IL_009c: ldarg.1 + IL_009d: ldlen + IL_009e: conv.i4 + IL_009f: bne.un IL_0086 + + IL_00a4: ldloc.2 + IL_00a5: ret + } // end of method MessageHelper::GetDynamicValues + + // method line 1264 + .method public static hidebysig + default object[] GetDynamicValues (class NDesk.DBus.Message msg) cil managed { - // Method begins at RVA 0x129b0 - // Code size 25 (0x19) + // Method begins at RVA 0x12b58 + // Code size 23 (0x17) + .maxstack 2 + .locals init ( + class [mscorlib]System.Type[] V_0, + valuetype NDesk.DBus.Signature V_1) + IL_0000: ldarg.0 + IL_0001: callvirt instance valuetype NDesk.DBus.Signature class NDesk.DBus.Message::get_Signature() + IL_0006: stloc.1 + IL_0007: ldloca.s 1 + IL_0009: call instance class [mscorlib]System.Type[] valuetype NDesk.DBus.Signature::ToTypes() + IL_000e: stloc.0 + IL_000f: ldarg.0 + IL_0010: ldloc.0 + IL_0011: call object[] class NDesk.DBus.MessageHelper::GetDynamicValues(class NDesk.DBus.Message, class [mscorlib]System.Type[]) + IL_0016: ret + } // end of method MessageHelper::GetDynamicValues + + // method line 1265 + .method public static hidebysig + default class NDesk.DBus.Message ConstructReply (class NDesk.DBus.MethodCall method_call, object[] vals) cil managed + { + .param [2] + .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x12b7c + // Code size 161 (0xa1) .maxstack 3 .locals init ( - class [Mono.Posix]Mono.Unix.AbstractUnixEndPoint V_0, - class [System]System.Net.Sockets.Socket V_1) - IL_0000: ldarg.1 - IL_0001: newobj instance void class [Mono.Posix]Mono.Unix.AbstractUnixEndPoint::'.ctor'(string) - IL_0006: stloc.0 - IL_0007: ldc.i4.1 - IL_0008: ldc.i4.1 - IL_0009: ldc.i4.0 - IL_000a: newobj instance void class [System]System.Net.Sockets.Socket::'.ctor'(valuetype [System]System.Net.Sockets.AddressFamily, valuetype [System]System.Net.Sockets.SocketType, valuetype [System]System.Net.Sockets.ProtocolType) - IL_000f: stloc.1 - IL_0010: ldloc.1 - IL_0011: ldloc.0 - IL_0012: callvirt instance void class [System]System.Net.Sockets.Socket::Connect(class [System]System.Net.EndPoint) - IL_0017: ldloc.1 - IL_0018: ret - } // end of method UnixMonoTransport::OpenAbstractUnix + class NDesk.DBus.MethodReturn V_0, + class NDesk.DBus.Message V_1, + valuetype NDesk.DBus.Signature V_2, + class NDesk.DBus.MessageWriter V_3, + object V_4, + object[] V_5, + int32 V_6) + IL_0000: ldarg.0 + IL_0001: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message + IL_0006: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_000b: ldfld unsigned int32 NDesk.DBus.Header::Serial + IL_0010: newobj instance void class NDesk.DBus.MethodReturn::'.ctor'(unsigned int32) + IL_0015: stloc.0 + IL_0016: ldloc.0 + IL_0017: ldfld class NDesk.DBus.Message NDesk.DBus.MethodReturn::message + IL_001c: stloc.1 + IL_001d: ldarg.1 + IL_001e: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(object[]) + IL_0023: stloc.2 + IL_0024: ldarg.1 + IL_0025: brfalse IL_007b - // method line 1262 - .method public hidebysig - instance default class [System]System.Net.Sockets.Socket OpenUnix (string path) cil managed + IL_002a: ldarg.1 + IL_002b: ldlen + IL_002c: conv.i4 + IL_002d: brfalse IL_007b + + IL_0032: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness + IL_0037: newobj instance void class NDesk.DBus.MessageWriter::'.ctor'(valuetype NDesk.DBus.EndianFlag) + IL_003c: stloc.3 + IL_003d: ldarg.1 + IL_003e: stloc.s 5 + IL_0040: ldc.i4.0 + IL_0041: stloc.s 6 + IL_0043: br IL_0064 + + IL_0048: ldloc.s 5 + IL_004a: ldloc.s 6 + IL_004c: ldelem.ref + IL_004d: stloc.s 4 + IL_004f: ldloc.3 + IL_0050: ldloc.s 4 + IL_0052: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0057: ldloc.s 4 + IL_0059: callvirt instance void class NDesk.DBus.MessageWriter::Write(class [mscorlib]System.Type, object) + IL_005e: ldloc.s 6 + IL_0060: ldc.i4.1 + IL_0061: add + IL_0062: stloc.s 6 + IL_0064: ldloc.s 6 + IL_0066: ldloc.s 5 + IL_0068: ldlen + IL_0069: conv.i4 + IL_006a: blt IL_0048 + + IL_006f: ldloc.1 + IL_0070: ldloc.3 + IL_0071: callvirt instance unsigned int8[] class NDesk.DBus.MessageWriter::ToArray() + IL_0076: stfld unsigned int8[] NDesk.DBus.Message::Body + IL_007b: ldarg.0 + IL_007c: ldfld string NDesk.DBus.MethodCall::Sender + IL_0081: brfalse IL_0098 + + IL_0086: ldloc.1 + IL_0087: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_008c: ldc.i4.6 + IL_008d: ldarg.0 + IL_008e: ldfld string NDesk.DBus.MethodCall::Sender + IL_0093: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) + IL_0098: ldloc.1 + IL_0099: ldloc.2 + IL_009a: callvirt instance void class NDesk.DBus.Message::set_Signature(valuetype NDesk.DBus.Signature) + IL_009f: ldloc.1 + IL_00a0: ret + } // end of method MessageHelper::ConstructReply + + // method line 1266 + .method public static hidebysig + default class NDesk.DBus.Message ConstructDynamicReply (class NDesk.DBus.MethodCall method_call, class [mscorlib]System.Reflection.MethodInfo mi, object retVal, object[] vals) cil managed { - // Method begins at RVA 0x129d8 - // Code size 25 (0x19) + // Method begins at RVA 0x12c2c + // Code size 202 (0xca) .maxstack 3 .locals init ( - class [Mono.Posix]Mono.Unix.UnixEndPoint V_0, - class [System]System.Net.Sockets.Socket V_1) + class [mscorlib]System.Type V_0, + class NDesk.DBus.MethodReturn V_1, + class NDesk.DBus.Message V_2, + valuetype NDesk.DBus.Signature V_3, + class NDesk.DBus.MessageWriter V_4) IL_0000: ldarg.1 - IL_0001: newobj instance void class [Mono.Posix]Mono.Unix.UnixEndPoint::'.ctor'(string) + IL_0001: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MethodInfo::get_ReturnType() IL_0006: stloc.0 - IL_0007: ldc.i4.1 - IL_0008: ldc.i4.1 - IL_0009: ldc.i4.0 - IL_000a: newobj instance void class [System]System.Net.Sockets.Socket::'.ctor'(valuetype [System]System.Net.Sockets.AddressFamily, valuetype [System]System.Net.Sockets.SocketType, valuetype [System]System.Net.Sockets.ProtocolType) - IL_000f: stloc.1 - IL_0010: ldloc.1 - IL_0011: ldloc.0 - IL_0012: callvirt instance void class [System]System.Net.Sockets.Socket::Connect(class [System]System.Net.EndPoint) - IL_0017: ldloc.1 - IL_0018: ret - } // end of method UnixMonoTransport::OpenUnix + IL_0007: ldarg.0 + IL_0008: ldfld class NDesk.DBus.Message NDesk.DBus.MethodCall::message + IL_000d: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_0012: ldfld unsigned int32 NDesk.DBus.Header::Serial + IL_0017: newobj instance void class NDesk.DBus.MethodReturn::'.ctor'(unsigned int32) + IL_001c: stloc.1 + IL_001d: ldloc.1 + IL_001e: ldfld class NDesk.DBus.Message NDesk.DBus.MethodReturn::message + IL_0023: stloc.2 + IL_0024: ldloc.0 + IL_0025: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) + IL_002a: stloc.3 + IL_002b: ldloc.3 + IL_002c: ldc.i4.1 + IL_002d: ldarg.1 + IL_002e: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_0033: call class [mscorlib]System.Type[] class NDesk.DBus.Mapper::GetTypes(valuetype NDesk.DBus.ArgDirection, class [mscorlib]System.Reflection.ParameterInfo[]) + IL_0038: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type[]) + IL_003d: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::op_Addition(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_0042: stloc.3 + IL_0043: ldloc.3 + IL_0044: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::Empty + IL_0049: call bool valuetype NDesk.DBus.Signature::op_Inequality(valuetype NDesk.DBus.Signature, valuetype NDesk.DBus.Signature) + IL_004e: brfalse IL_00a4 - } // end of class NDesk.DBus.Transports.UnixMonoTransport + IL_0053: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness + IL_0058: newobj instance void class NDesk.DBus.MessageWriter::'.ctor'(valuetype NDesk.DBus.EndianFlag) + IL_005d: stloc.s 4 + IL_005f: ldloc.0 + IL_0060: ldnull + IL_0061: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0066: brfalse IL_0089 + + IL_006b: ldloc.0 + IL_006c: ldtoken [mscorlib]System.Void + IL_0071: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0076: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_007b: brfalse IL_0089 + + IL_0080: ldloc.s 4 + IL_0082: ldloc.0 + IL_0083: ldarg.2 + IL_0084: callvirt instance void class NDesk.DBus.MessageWriter::Write(class [mscorlib]System.Type, object) + IL_0089: ldloc.s 4 + IL_008b: ldarg.1 + IL_008c: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_0091: ldarg.3 + IL_0092: call void class NDesk.DBus.MessageHelper::WriteDynamicValues(class NDesk.DBus.MessageWriter, class [mscorlib]System.Reflection.ParameterInfo[], object[]) + IL_0097: ldloc.2 + IL_0098: ldloc.s 4 + IL_009a: callvirt instance unsigned int8[] class NDesk.DBus.MessageWriter::ToArray() + IL_009f: stfld unsigned int8[] NDesk.DBus.Message::Body + IL_00a4: ldarg.0 + IL_00a5: ldfld string NDesk.DBus.MethodCall::Sender + IL_00aa: brfalse IL_00c1 + + IL_00af: ldloc.2 + IL_00b0: ldfld class NDesk.DBus.Header NDesk.DBus.Message::Header + IL_00b5: ldc.i4.6 + IL_00b6: ldarg.0 + IL_00b7: ldfld string NDesk.DBus.MethodCall::Sender + IL_00bc: callvirt instance void class NDesk.DBus.Header::set_Item(valuetype NDesk.DBus.FieldCode, object) + IL_00c1: ldloc.2 + IL_00c2: ldloc.3 + IL_00c3: callvirt instance void class NDesk.DBus.Message::set_Signature(valuetype NDesk.DBus.Signature) + IL_00c8: ldloc.2 + IL_00c9: ret + } // end of method MessageHelper::ConstructDynamicReply + + } // end of class NDesk.DBus.MessageHelper } .namespace NDesk.DBus { - .class private auto ansi sealed beforefieldinit MessageWriter - extends [mscorlib]System.Object + .class private auto ansi beforefieldinit InterfaceAttribute + extends [mscorlib]System.Attribute { - .field private valuetype NDesk.DBus.EndianFlag endianness - .field assembly class [mscorlib]System.IO.MemoryStream 'stream' - .field public class NDesk.DBus.Connection connection - .field private unsigned int8[] dst - .field private static initonly unsigned int8[] nullBytes + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 04 04 00 00 02 00 54 02 0D 41 6C 6C 6F 77 // ........T..Allow + 4D 75 6C 74 69 70 6C 65 00 54 02 09 49 6E 68 65 // Multiple.T..Inhe + 72 69 74 65 64 01 ) // rited. - // method line 1263 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x129fd - // Code size 12 (0xc) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness - IL_0006: call instance void class NDesk.DBus.MessageWriter::'.ctor'(valuetype NDesk.DBus.EndianFlag) - IL_000b: ret - } // end of method MessageWriter::.ctor + .field public string Name - // method line 1264 + // method line 1267 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (valuetype NDesk.DBus.EndianFlag endianness) cil managed + instance default void '.ctor' (string name) cil managed { - // Method begins at RVA 0x12a0a - // Code size 37 (0x25) + // Method begins at RVA 0x12d02 + // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.8 - IL_0002: newarr [mscorlib]System.Byte - IL_0007: stfld unsigned int8[] NDesk.DBus.MessageWriter::dst - IL_000c: ldarg.0 - IL_000d: call instance void object::'.ctor'() - IL_0012: ldarg.0 - IL_0013: ldarg.1 - IL_0014: stfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.MessageWriter::endianness - IL_0019: ldarg.0 - IL_001a: newobj instance void class [mscorlib]System.IO.MemoryStream::'.ctor'() - IL_001f: stfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0024: ret - } // end of method MessageWriter::.ctor + IL_0001: call instance void class [mscorlib]System.Attribute::'.ctor'() + IL_0006: ldarg.0 + IL_0007: ldarg.1 + IL_0008: stfld string NDesk.DBus.InterfaceAttribute::Name + IL_000d: ret + } // end of method InterfaceAttribute::.ctor - // method line 1265 - .method public hidebysig - instance default unsigned int8[] ToArray () cil managed - { - // Method begins at RVA 0x12a30 - // Code size 12 (0xc) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0006: callvirt instance unsigned int8[] class [mscorlib]System.IO.MemoryStream::ToArray() - IL_000b: ret - } // end of method MessageWriter::ToArray + } // end of class NDesk.DBus.InterfaceAttribute +} - // method line 1266 - .method public hidebysig - instance default void ToStream (class [mscorlib]System.IO.Stream dest) cil managed - { - // Method begins at RVA 0x12a3d - // Code size 13 (0xd) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0006: ldarg.1 - IL_0007: callvirt instance void class [mscorlib]System.IO.MemoryStream::WriteTo(class [mscorlib]System.IO.Stream) - IL_000c: ret - } // end of method MessageWriter::ToStream +.namespace NDesk.DBus +{ + .class private auto ansi beforefieldinit ArgumentAttribute + extends [mscorlib]System.Attribute + { + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 00 28 00 00 02 00 54 02 0D 41 6C 6C 6F 77 // ...(....T..Allow + 4D 75 6C 74 69 70 6C 65 00 54 02 09 49 6E 68 65 // Multiple.T..Inhe + 72 69 74 65 64 01 ) // rited. - // method line 1267 - .method public hidebysig - instance default void CloseWrite () cil managed - { - // Method begins at RVA 0x12a4b - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.8 - IL_0002: call instance void class NDesk.DBus.MessageWriter::WritePad(int32) - IL_0007: ret - } // end of method MessageWriter::CloseWrite + .field public string Name // method line 1268 - .method public hidebysig - instance default void Write (unsigned int8 val) cil managed + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string name) cil managed { - // Method begins at RVA 0x12a54 - // Code size 13 (0xd) + // Method begins at RVA 0x12d11 + // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0006: ldarg.1 - IL_0007: callvirt instance void class [mscorlib]System.IO.Stream::WriteByte(unsigned int8) - IL_000c: ret - } // end of method MessageWriter::Write + IL_0001: call instance void class [mscorlib]System.Attribute::'.ctor'() + IL_0006: ldarg.0 + IL_0007: ldarg.1 + IL_0008: stfld string NDesk.DBus.ArgumentAttribute::Name + IL_000d: ret + } // end of method ArgumentAttribute::.ctor // method line 1269 - .method public hidebysig - instance default void Write (bool val) cil managed + .method public static hidebysig + default string GetSignatureString (class [mscorlib]System.Type 'type') cil managed { - // Method begins at RVA 0x12a62 - // Code size 20 (0x14) - .maxstack 8 + // Method begins at RVA 0x12d20 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype NDesk.DBus.Signature V_0) IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: brfalse IL_000d + IL_0001: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) + IL_0006: stloc.0 + IL_0007: ldloca.s 0 + IL_0009: call instance string valuetype NDesk.DBus.Signature::get_Value() + IL_000e: ret + } // end of method ArgumentAttribute::GetSignatureString - IL_0007: ldc.i4.1 - IL_0008: br IL_000e + } // end of class NDesk.DBus.ArgumentAttribute +} - IL_000d: ldc.i4.0 - IL_000e: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) - IL_0013: ret - } // end of method MessageWriter::Write +.namespace NDesk.DBus +{ + .class private auto ansi beforefieldinit Introspector + extends [mscorlib]System.Object + { + .field private static literal string NAMESPACE = "http://www.freedesktop.org/standards/dbus" + .field private static literal string PUBLIC_IDENTIFIER = "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" + .field private static literal string SYSTEM_IDENTIFIER = "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd" + .field public class [mscorlib]System.Text.StringBuilder sb + .field public string xml + .field public class NDesk.DBus.ObjectPath root_path + .field public bool ExtendedAnnotations + .field family class [System.Xml]System.Xml.XmlWriter writer + .field private static literal valuetype [mscorlib]System.Reflection.BindingFlags relevantBindingFlags = int32(0x00000016) // method line 1270 - .method private hidebysig - instance default void MarshalUShort (void* dataPtr) cil managed + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x12a78 - // Code size 92 (0x5c) - .maxstack 4 + // Method begins at RVA 0x12d3c + // Code size 78 (0x4e) + .maxstack 3 .locals init ( - unsigned int8& pinned V_0, - unsigned int8* V_1) + class [System.Xml]System.Xml.XmlWriterSettings V_0) IL_0000: ldarg.0 - IL_0001: ldc.i4.2 - IL_0002: call instance void class NDesk.DBus.MessageWriter::WritePad(int32) - IL_0007: ldarg.0 - IL_0008: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.MessageWriter::endianness - IL_000d: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness - IL_0012: bne.un IL_0030 - - IL_0017: ldarg.0 - IL_0018: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst - IL_001d: ldc.i4.0 - IL_001e: ldelema [mscorlib]System.Byte - IL_0023: stloc.0 - IL_0024: ldloc.0 - IL_0025: ldarg.1 - IL_0026: ldind.u2 - IL_0027: stind.i2 - IL_0028: ldc.i4.0 - IL_0029: conv.u - IL_002a: stloc.0 - IL_002b: br IL_0048 - - IL_0030: ldarg.1 - IL_0031: stloc.1 - IL_0032: ldarg.0 - IL_0033: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst - IL_0038: ldc.i4.0 - IL_0039: ldloc.1 - IL_003a: ldc.i4.1 - IL_003b: add - IL_003c: ldind.u1 - IL_003d: stelem.i1 - IL_003e: ldarg.0 - IL_003f: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst - IL_0044: ldc.i4.1 - IL_0045: ldloc.1 - IL_0046: ldind.u1 - IL_0047: stelem.i1 - IL_0048: ldarg.0 - IL_0049: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_004e: ldarg.0 - IL_004f: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst - IL_0054: ldc.i4.0 - IL_0055: ldc.i4.2 - IL_0056: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) - IL_005b: ret - } // end of method MessageWriter::MarshalUShort + IL_0001: ldsfld class NDesk.DBus.ObjectPath NDesk.DBus.ObjectPath::Root + IL_0006: stfld class NDesk.DBus.ObjectPath NDesk.DBus.Introspector::root_path + IL_000b: ldarg.0 + IL_000c: call instance void object::'.ctor'() + IL_0011: newobj instance void class [System.Xml]System.Xml.XmlWriterSettings::'.ctor'() + IL_0016: stloc.0 + IL_0017: ldloc.0 + IL_0018: ldc.i4.1 + IL_0019: callvirt instance void class [System.Xml]System.Xml.XmlWriterSettings::set_Indent(bool) + IL_001e: ldloc.0 + IL_001f: ldstr " " + IL_0024: callvirt instance void class [System.Xml]System.Xml.XmlWriterSettings::set_IndentChars(string) + IL_0029: ldloc.0 + IL_002a: ldc.i4.1 + IL_002b: callvirt instance void class [System.Xml]System.Xml.XmlWriterSettings::set_OmitXmlDeclaration(bool) + IL_0030: ldarg.0 + IL_0031: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0036: stfld class [mscorlib]System.Text.StringBuilder NDesk.DBus.Introspector::sb + IL_003b: ldarg.0 + IL_003c: ldarg.0 + IL_003d: ldfld class [mscorlib]System.Text.StringBuilder NDesk.DBus.Introspector::sb + IL_0042: ldloc.0 + IL_0043: call class [System.Xml]System.Xml.XmlWriter class [System.Xml]System.Xml.XmlWriter::Create(class [mscorlib]System.Text.StringBuilder, class [System.Xml]System.Xml.XmlWriterSettings) + IL_0048: stfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_004d: ret + } // end of method Introspector::.ctor // method line 1271 - .method public hidebysig - instance default void Write (int16 val) cil managed + .method private static hidebysig + default string GetProductDescription () cil managed { - // Method begins at RVA 0x12ae0 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarga.s 1 - IL_0003: call instance void class NDesk.DBus.MessageWriter::MarshalUShort(void*) - IL_0008: ret - } // end of method MessageWriter::Write + // Method begins at RVA 0x12d98 + // Code size 83 (0x53) + .maxstack 3 + .locals init ( + string V_0, + class [mscorlib]System.Reflection.Assembly V_1, + class [mscorlib]System.Reflection.AssemblyName V_2, + class [mscorlib]System.Reflection.AssemblyInformationalVersionAttribute V_3) + IL_0000: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetExecutingAssembly() + IL_0005: stloc.1 + IL_0006: ldloc.1 + IL_0007: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() + IL_000c: stloc.2 + IL_000d: ldloc.1 + IL_000e: ldtoken [mscorlib]System.Reflection.AssemblyInformationalVersionAttribute + IL_0013: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0018: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.Assembly, class [mscorlib]System.Type) + IL_001d: isinst [mscorlib]System.Reflection.AssemblyInformationalVersionAttribute + IL_0022: stloc.3 + IL_0023: ldloc.3 + IL_0024: brfalse IL_0035 + + IL_0029: ldloc.3 + IL_002a: callvirt instance string class [mscorlib]System.Reflection.AssemblyInformationalVersionAttribute::get_InformationalVersion() + IL_002f: stloc.0 + IL_0030: br IL_0041 + + IL_0035: ldloc.2 + IL_0036: callvirt instance class [mscorlib]System.Version class [mscorlib]System.Reflection.AssemblyName::get_Version() + IL_003b: callvirt instance string object::ToString() + IL_0040: stloc.0 + IL_0041: ldloc.2 + IL_0042: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_0047: ldstr " " + IL_004c: ldloc.0 + IL_004d: call string string::Concat(string, string, string) + IL_0052: ret + } // end of method Introspector::GetProductDescription // method line 1272 .method public hidebysig - instance default void Write (unsigned int16 val) cil managed + instance default void WriteStart () cil managed { - // Method begins at RVA 0x12aea - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x12df8 + // Code size 75 (0x4b) + .maxstack 5 IL_0000: ldarg.0 - IL_0001: ldarga.s 1 - IL_0003: call instance void class NDesk.DBus.MessageWriter::MarshalUShort(void*) - IL_0008: ret - } // end of method MessageWriter::Write + IL_0001: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0006: ldstr "node" + IL_000b: ldstr "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" + IL_0010: ldstr "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd" + IL_0015: ldnull + IL_0016: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteDocType(string, string, string, string) + IL_001b: ldarg.0 + IL_001c: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0021: ldstr " " + IL_0026: call string class NDesk.DBus.Introspector::GetProductDescription() + IL_002b: ldstr " " + IL_0030: call string string::Concat(string, string, string) + IL_0035: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteComment(string) + IL_003a: ldarg.0 + IL_003b: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0040: ldstr "node" + IL_0045: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) + IL_004a: ret + } // end of method Introspector::WriteStart // method line 1273 - .method private hidebysig - instance default void MarshalUInt (void* dataPtr) cil managed + .method public hidebysig + instance default void WriteNode (string name) cil managed { - // Method begins at RVA 0x12af4 - // Code size 116 (0x74) - .maxstack 4 - .locals init ( - unsigned int8& pinned V_0, - unsigned int8* V_1) + // Method begins at RVA 0x12e4f + // Code size 45 (0x2d) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.4 - IL_0002: call instance void class NDesk.DBus.MessageWriter::WritePad(int32) - IL_0007: ldarg.0 - IL_0008: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.MessageWriter::endianness - IL_000d: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness - IL_0012: bne.un IL_0030 - - IL_0017: ldarg.0 - IL_0018: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst - IL_001d: ldc.i4.0 - IL_001e: ldelema [mscorlib]System.Byte - IL_0023: stloc.0 - IL_0024: ldloc.0 - IL_0025: ldarg.1 - IL_0026: ldind.u4 - IL_0027: stind.i4 - IL_0028: ldc.i4.0 - IL_0029: conv.u - IL_002a: stloc.0 - IL_002b: br IL_0060 - - IL_0030: ldarg.1 - IL_0031: stloc.1 - IL_0032: ldarg.0 - IL_0033: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst - IL_0038: ldc.i4.0 - IL_0039: ldloc.1 - IL_003a: ldc.i4.3 - IL_003b: add - IL_003c: ldind.u1 - IL_003d: stelem.i1 - IL_003e: ldarg.0 - IL_003f: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst - IL_0044: ldc.i4.1 - IL_0045: ldloc.1 - IL_0046: ldc.i4.2 - IL_0047: add - IL_0048: ldind.u1 - IL_0049: stelem.i1 - IL_004a: ldarg.0 - IL_004b: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst - IL_0050: ldc.i4.2 - IL_0051: ldloc.1 - IL_0052: ldc.i4.1 - IL_0053: add - IL_0054: ldind.u1 - IL_0055: stelem.i1 - IL_0056: ldarg.0 - IL_0057: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst - IL_005c: ldc.i4.3 - IL_005d: ldloc.1 - IL_005e: ldind.u1 - IL_005f: stelem.i1 - IL_0060: ldarg.0 - IL_0061: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0066: ldarg.0 - IL_0067: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst - IL_006c: ldc.i4.0 - IL_006d: ldc.i4.4 - IL_006e: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) - IL_0073: ret - } // end of method MessageWriter::MarshalUInt + IL_0001: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0006: ldstr "node" + IL_000b: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) + IL_0010: ldarg.0 + IL_0011: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0016: ldstr "name" + IL_001b: ldarg.1 + IL_001c: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) + IL_0021: ldarg.0 + IL_0022: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0027: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() + IL_002c: ret + } // end of method Introspector::WriteNode // method line 1274 .method public hidebysig - instance default void Write (int32 val) cil managed + instance default void WriteEnd () cil managed { - // Method begins at RVA 0x12b74 - // Code size 9 (0x9) + // Method begins at RVA 0x12e7d + // Code size 40 (0x28) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldarga.s 1 - IL_0003: call instance void class NDesk.DBus.MessageWriter::MarshalUInt(void*) - IL_0008: ret - } // end of method MessageWriter::Write + IL_0001: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0006: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() + IL_000b: ldarg.0 + IL_000c: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0011: callvirt instance void class [System.Xml]System.Xml.XmlWriter::Flush() + IL_0016: ldarg.0 + IL_0017: ldarg.0 + IL_0018: ldfld class [mscorlib]System.Text.StringBuilder NDesk.DBus.Introspector::sb + IL_001d: callvirt instance string object::ToString() + IL_0022: stfld string NDesk.DBus.Introspector::xml + IL_0027: ret + } // end of method Introspector::WriteEnd // method line 1275 .method public hidebysig - instance default void Write (unsigned int32 val) cil managed - { - // Method begins at RVA 0x12b7e - // Code size 9 (0x9) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarga.s 1 - IL_0003: call instance void class NDesk.DBus.MessageWriter::MarshalUInt(void*) - IL_0008: ret - } // end of method MessageWriter::Write - - // method line 1276 - .method private hidebysig - instance default void MarshalULong (void* dataPtr) cil managed + instance default void WriteType (class [mscorlib]System.Type target_type) cil managed { - // Method begins at RVA 0x12b88 - // Code size 103 (0x67) - .maxstack 5 + // Method begins at RVA 0x12ea8 + // Code size 74 (0x4a) + .maxstack 2 .locals init ( - unsigned int8& pinned V_0, - unsigned int8* V_1, + class [mscorlib]System.Type V_0, + class [mscorlib]System.Type[] V_1, int32 V_2) IL_0000: ldarg.0 - IL_0001: ldc.i4.8 - IL_0002: call instance void class NDesk.DBus.MessageWriter::WritePad(int32) - IL_0007: ldarg.0 - IL_0008: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.MessageWriter::endianness - IL_000d: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness - IL_0012: bne.un IL_0030 + IL_0001: ldtoken org.freedesktop.DBus.Introspectable + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: call instance void class NDesk.DBus.Introspector::WriteInterface(class [mscorlib]System.Type) + IL_0010: ldarg.1 + IL_0011: ldnull + IL_0012: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0017: brfalse IL_0049 - IL_0017: ldarg.0 - IL_0018: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst - IL_001d: ldc.i4.0 - IL_001e: ldelema [mscorlib]System.Byte - IL_0023: stloc.0 - IL_0024: ldloc.0 - IL_0025: ldarg.1 - IL_0026: ldind.i8 - IL_0027: stind.i8 - IL_0028: ldc.i4.0 - IL_0029: conv.u - IL_002a: stloc.0 - IL_002b: br IL_0053 + IL_001c: ldarg.0 + IL_001d: ldarg.1 + IL_001e: call instance void class NDesk.DBus.Introspector::WriteInterface(class [mscorlib]System.Type) + IL_0023: ldarg.1 + IL_0024: callvirt instance class [mscorlib]System.Type[] class [mscorlib]System.Type::GetInterfaces() + IL_0029: stloc.1 + IL_002a: ldc.i4.0 + IL_002b: stloc.2 + IL_002c: br IL_0040 - IL_0030: ldarg.1 - IL_0031: stloc.1 - IL_0032: ldc.i4.0 - IL_0033: stloc.2 - IL_0034: br IL_004c + IL_0031: ldloc.1 + IL_0032: ldloc.2 + IL_0033: ldelem.ref + IL_0034: stloc.0 + IL_0035: ldarg.0 + IL_0036: ldloc.0 + IL_0037: call instance void class NDesk.DBus.Introspector::WriteInterface(class [mscorlib]System.Type) + IL_003c: ldloc.2 + IL_003d: ldc.i4.1 + IL_003e: add + IL_003f: stloc.2 + IL_0040: ldloc.2 + IL_0041: ldloc.1 + IL_0042: ldlen + IL_0043: conv.i4 + IL_0044: blt IL_0031 - IL_0039: ldarg.0 - IL_003a: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst - IL_003f: ldloc.2 - IL_0040: ldloc.1 - IL_0041: ldc.i4.7 - IL_0042: ldloc.2 - IL_0043: sub - IL_0044: conv.i - IL_0045: add - IL_0046: ldind.u1 - IL_0047: stelem.i1 - IL_0048: ldloc.2 - IL_0049: ldc.i4.1 - IL_004a: add - IL_004b: stloc.2 - IL_004c: ldloc.2 - IL_004d: ldc.i4.8 - IL_004e: blt IL_0039 + IL_0049: ret + } // end of method Introspector::WriteType - IL_0053: ldarg.0 - IL_0054: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0059: ldarg.0 - IL_005a: ldfld unsigned int8[] NDesk.DBus.MessageWriter::dst - IL_005f: ldc.i4.0 - IL_0060: ldc.i4.8 - IL_0061: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) - IL_0066: ret - } // end of method MessageWriter::MarshalULong + // method line 1276 + .method public hidebysig + instance default void WriteArg (class [mscorlib]System.Reflection.ParameterInfo pi) cil managed + { + // Method begins at RVA 0x12efe + // Code size 26 (0x1a) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_0007: ldarg.1 + IL_0008: call string class NDesk.DBus.Mapper::GetArgumentName(class [mscorlib]System.Reflection.ParameterInfo) + IL_000d: ldarg.1 + IL_000e: callvirt instance bool class [mscorlib]System.Reflection.ParameterInfo::get_IsOut() + IL_0013: ldc.i4.0 + IL_0014: call instance void class NDesk.DBus.Introspector::WriteArg(class [mscorlib]System.Type, string, bool, bool) + IL_0019: ret + } // end of method Introspector::WriteArg // method line 1277 .method public hidebysig - instance default void Write (int64 val) cil managed + instance default void WriteArgReverse (class [mscorlib]System.Reflection.ParameterInfo pi) cil managed { - // Method begins at RVA 0x12bfb - // Code size 9 (0x9) + // Method begins at RVA 0x12f19 + // Code size 26 (0x1a) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldarga.s 1 - IL_0003: call instance void class NDesk.DBus.MessageWriter::MarshalULong(void*) - IL_0008: ret - } // end of method MessageWriter::Write + IL_0001: ldarg.1 + IL_0002: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_0007: ldarg.1 + IL_0008: call string class NDesk.DBus.Mapper::GetArgumentName(class [mscorlib]System.Reflection.ParameterInfo) + IL_000d: ldarg.1 + IL_000e: callvirt instance bool class [mscorlib]System.Reflection.ParameterInfo::get_IsOut() + IL_0013: ldc.i4.1 + IL_0014: call instance void class NDesk.DBus.Introspector::WriteArg(class [mscorlib]System.Type, string, bool, bool) + IL_0019: ret + } // end of method Introspector::WriteArgReverse // method line 1278 .method public hidebysig - instance default void Write (unsigned int64 val) cil managed + instance default void WriteArg (class [mscorlib]System.Type argType, string argName, bool argIsOut, bool reverse) cil managed { - // Method begins at RVA 0x12c05 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarga.s 1 - IL_0003: call instance void class NDesk.DBus.MessageWriter::MarshalULong(void*) - IL_0008: ret - } // end of method MessageWriter::Write + // Method begins at RVA 0x12f34 + // Code size 215 (0xd7) + .maxstack 3 + .locals init ( + valuetype NDesk.DBus.Signature V_0) + IL_0000: ldarg.3 + IL_0001: brfalse IL_0011 + + IL_0006: ldarg.1 + IL_0007: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() + IL_000c: br IL_0012 + + IL_0011: ldarg.1 + IL_0012: starg.s 1 + IL_0014: ldarg.1 + IL_0015: ldtoken [mscorlib]System.Void + IL_001a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_001f: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0024: brfalse IL_002a + + IL_0029: ret + IL_002a: ldarg.0 + IL_002b: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0030: ldstr "arg" + IL_0035: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) + IL_003a: ldarg.2 + IL_003b: call bool string::IsNullOrEmpty(string) + IL_0040: brtrue IL_0056 + + IL_0045: ldarg.0 + IL_0046: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_004b: ldstr "name" + IL_0050: ldarg.2 + IL_0051: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) + IL_0056: ldarg.3 + IL_0057: brfalse IL_0087 + + IL_005c: ldarg.0 + IL_005d: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0062: ldstr "direction" + IL_0067: ldarg.s 4 + IL_0069: brtrue IL_0078 + + IL_006e: ldstr "out" + IL_0073: br IL_007d + + IL_0078: ldstr "in" + IL_007d: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) + IL_0082: br IL_00ad + + IL_0087: ldarg.0 + IL_0088: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_008d: ldstr "direction" + IL_0092: ldarg.s 4 + IL_0094: brtrue IL_00a3 + + IL_0099: ldstr "in" + IL_009e: br IL_00a8 + + IL_00a3: ldstr "out" + IL_00a8: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) + IL_00ad: ldarg.1 + IL_00ae: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) + IL_00b3: stloc.0 + IL_00b4: ldarg.0 + IL_00b5: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_00ba: ldstr "type" + IL_00bf: ldloca.s 0 + IL_00c1: call instance string valuetype NDesk.DBus.Signature::get_Value() + IL_00c6: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) + IL_00cb: ldarg.0 + IL_00cc: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_00d1: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() + IL_00d6: ret + } // end of method Introspector::WriteArg // method line 1279 .method public hidebysig - instance default void Write (float32 val) cil managed + instance default void WriteMethod (class [mscorlib]System.Reflection.MethodInfo mi) cil managed { - // Method begins at RVA 0x12c0f - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x13018 + // Code size 125 (0x7d) + .maxstack 5 + .locals init ( + class [mscorlib]System.Reflection.ParameterInfo V_0, + class [mscorlib]System.Reflection.ParameterInfo[] V_1, + int32 V_2) IL_0000: ldarg.0 - IL_0001: ldarga.s 1 - IL_0003: call instance void class NDesk.DBus.MessageWriter::MarshalUInt(void*) - IL_0008: ret - } // end of method MessageWriter::Write + IL_0001: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0006: ldstr "method" + IL_000b: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) + IL_0010: ldarg.0 + IL_0011: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0016: ldstr "name" + IL_001b: ldarg.1 + IL_001c: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0021: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) + IL_0026: ldarg.1 + IL_0027: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_002c: stloc.1 + IL_002d: ldc.i4.0 + IL_002e: stloc.2 + IL_002f: br IL_0043 + + IL_0034: ldloc.1 + IL_0035: ldloc.2 + IL_0036: ldelem.ref + IL_0037: stloc.0 + IL_0038: ldarg.0 + IL_0039: ldloc.0 + IL_003a: call instance void class NDesk.DBus.Introspector::WriteArg(class [mscorlib]System.Reflection.ParameterInfo) + IL_003f: ldloc.2 + IL_0040: ldc.i4.1 + IL_0041: add + IL_0042: stloc.2 + IL_0043: ldloc.2 + IL_0044: ldloc.1 + IL_0045: ldlen + IL_0046: conv.i4 + IL_0047: blt IL_0034 + + IL_004c: ldarg.0 + IL_004d: ldarg.1 + IL_004e: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MethodInfo::get_ReturnType() + IL_0053: ldarg.1 + IL_0054: callvirt instance class [mscorlib]System.Reflection.ICustomAttributeProvider class [mscorlib]System.Reflection.MethodInfo::get_ReturnTypeCustomAttributes() + IL_0059: ldstr "ret" + IL_005e: call string class NDesk.DBus.Mapper::GetArgumentName(class [mscorlib]System.Reflection.ICustomAttributeProvider, string) + IL_0063: ldc.i4.0 + IL_0064: ldc.i4.1 + IL_0065: call instance void class NDesk.DBus.Introspector::WriteArg(class [mscorlib]System.Type, string, bool, bool) + IL_006a: ldarg.0 + IL_006b: ldarg.1 + IL_006c: call instance void class NDesk.DBus.Introspector::WriteAnnotations(class [mscorlib]System.Reflection.ICustomAttributeProvider) + IL_0071: ldarg.0 + IL_0072: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0077: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() + IL_007c: ret + } // end of method Introspector::WriteMethod // method line 1280 .method public hidebysig - instance default void Write (float64 val) cil managed + instance default void WriteProperty (class [mscorlib]System.Reflection.PropertyInfo pri) cil managed { - // Method begins at RVA 0x12c19 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x130a4 + // Code size 167 (0xa7) + .maxstack 3 + .locals init ( + valuetype NDesk.DBus.Signature V_0, + string V_1) IL_0000: ldarg.0 - IL_0001: ldarga.s 1 - IL_0003: call instance void class NDesk.DBus.MessageWriter::MarshalULong(void*) - IL_0008: ret - } // end of method MessageWriter::Write + IL_0001: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0006: ldstr "property" + IL_000b: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) + IL_0010: ldarg.0 + IL_0011: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0016: ldstr "name" + IL_001b: ldarg.1 + IL_001c: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0021: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) + IL_0026: ldarg.0 + IL_0027: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_002c: ldstr "type" + IL_0031: ldarg.1 + IL_0032: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_0037: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) + IL_003c: stloc.0 + IL_003d: ldloca.s 0 + IL_003f: call instance string valuetype NDesk.DBus.Signature::get_Value() + IL_0044: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) + IL_0049: ldarg.1 + IL_004a: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanRead() + IL_004f: brfalse IL_005e + + IL_0054: ldstr "read" + IL_0059: br IL_0063 + + IL_005e: ldsfld string [mscorlib]System.String::Empty + IL_0063: ldarg.1 + IL_0064: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() + IL_0069: brfalse IL_0078 + + IL_006e: ldstr "write" + IL_0073: br IL_007d + + IL_0078: ldsfld string [mscorlib]System.String::Empty + IL_007d: call string string::Concat(string, string) + IL_0082: stloc.1 + IL_0083: ldarg.0 + IL_0084: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0089: ldstr "access" + IL_008e: ldloc.1 + IL_008f: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) + IL_0094: ldarg.0 + IL_0095: ldarg.1 + IL_0096: call instance void class NDesk.DBus.Introspector::WriteAnnotations(class [mscorlib]System.Reflection.ICustomAttributeProvider) + IL_009b: ldarg.0 + IL_009c: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_00a1: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() + IL_00a6: ret + } // end of method Introspector::WriteProperty // method line 1281 .method public hidebysig - instance default void Write (string val) cil managed + instance default void WriteSignal (class [mscorlib]System.Reflection.EventInfo ei) cil managed { - // Method begins at RVA 0x12c24 - // Code size 44 (0x2c) - .maxstack 4 + // Method begins at RVA 0x13158 + // Code size 145 (0x91) + .maxstack 3 .locals init ( - unsigned int8[] V_0) - IL_0000: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_UTF8() - IL_0005: ldarg.1 - IL_0006: callvirt instance unsigned int8[] class [mscorlib]System.Text.Encoding::GetBytes(string) - IL_000b: stloc.0 - IL_000c: ldarg.0 - IL_000d: ldloc.0 - IL_000e: ldlen - IL_000f: conv.i4 - IL_0010: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) - IL_0015: ldarg.0 - IL_0016: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_001b: ldloc.0 - IL_001c: ldc.i4.0 - IL_001d: ldloc.0 - IL_001e: ldlen - IL_001f: conv.i4 - IL_0020: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) - IL_0025: ldarg.0 - IL_0026: call instance void class NDesk.DBus.MessageWriter::WriteNull() - IL_002b: ret - } // end of method MessageWriter::Write - - // method line 1282 - .method public hidebysig - instance default void Write (class NDesk.DBus.ObjectPath val) cil managed - { - // Method begins at RVA 0x12c5c - // Code size 13 (0xd) - .maxstack 8 + class [mscorlib]System.Reflection.ParameterInfo V_0, + class [mscorlib]System.Reflection.ParameterInfo[] V_1, + int32 V_2, + string V_3) IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldfld string NDesk.DBus.ObjectPath::Value - IL_0007: call instance void class NDesk.DBus.MessageWriter::Write(string) - IL_000c: ret - } // end of method MessageWriter::Write + IL_0001: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0006: ldstr "signal" + IL_000b: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) + IL_0010: ldarg.0 + IL_0011: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0016: ldstr "name" + IL_001b: ldarg.1 + IL_001c: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0021: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) + IL_0026: ldarg.1 + IL_0027: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.EventInfo::get_EventHandlerType() + IL_002c: ldstr "Invoke" + IL_0031: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) + IL_0036: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_003b: stloc.1 + IL_003c: ldc.i4.0 + IL_003d: stloc.2 + IL_003e: br IL_0052 - // method line 1283 - .method public hidebysig - instance default void Write (valuetype NDesk.DBus.Signature val) cil managed - { - // Method begins at RVA 0x12c6c - // Code size 121 (0x79) - .maxstack 4 - .locals init ( - unsigned int8[] V_0) - IL_0000: ldarga.s 1 - IL_0002: call instance unsigned int8[] valuetype NDesk.DBus.Signature::GetBuffer() - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: ldlen - IL_000a: conv.i4 - IL_000b: conv.i8 - IL_000c: ldc.i4 255 - IL_0011: conv.i8 - IL_0012: ble IL_0058 + IL_0043: ldloc.1 + IL_0044: ldloc.2 + IL_0045: ldelem.ref + IL_0046: stloc.0 + IL_0047: ldarg.0 + IL_0048: ldloc.0 + IL_0049: call instance void class NDesk.DBus.Introspector::WriteArgReverse(class [mscorlib]System.Reflection.ParameterInfo) + IL_004e: ldloc.2 + IL_004f: ldc.i4.1 + IL_0050: add + IL_0051: stloc.2 + IL_0052: ldloc.2 + IL_0053: ldloc.1 + IL_0054: ldlen + IL_0055: conv.i4 + IL_0056: blt IL_0043 - IL_0017: ldc.i4.5 - IL_0018: newarr [mscorlib]System.Object - IL_001d: dup - IL_001e: ldc.i4.0 - IL_001f: ldstr "Signature length " - IL_0024: stelem.ref - IL_0025: dup - IL_0026: ldc.i4.1 - IL_0027: ldloc.0 - IL_0028: ldlen - IL_0029: conv.i4 - IL_002a: box [mscorlib]System.Int32 - IL_002f: stelem.ref - IL_0030: dup - IL_0031: ldc.i4.2 - IL_0032: ldstr " exceeds maximum allowed " - IL_0037: stelem.ref - IL_0038: dup - IL_0039: ldc.i4.3 - IL_003a: ldc.i4 255 - IL_003f: box [mscorlib]System.UInt32 - IL_0044: stelem.ref - IL_0045: dup - IL_0046: ldc.i4.4 - IL_0047: ldstr " bytes" - IL_004c: stelem.ref - IL_004d: call string string::Concat(object[]) - IL_0052: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0057: throw - IL_0058: ldarg.0 - IL_0059: ldloc.0 - IL_005a: ldlen - IL_005b: conv.i4 - IL_005c: conv.u1 - IL_005d: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int8) - IL_0062: ldarg.0 - IL_0063: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0068: ldloc.0 - IL_0069: ldc.i4.0 - IL_006a: ldloc.0 - IL_006b: ldlen - IL_006c: conv.i4 - IL_006d: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) + IL_005b: ldarg.0 + IL_005c: ldfld bool NDesk.DBus.Introspector::ExtendedAnnotations + IL_0061: brfalse IL_007e + + IL_0066: ldarg.1 + IL_0067: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.EventInfo::get_EventHandlerType() + IL_006c: call string class NDesk.DBus.Mapper::GetInterfaceName(class [mscorlib]System.Type) + IL_0071: stloc.3 IL_0072: ldarg.0 - IL_0073: call instance void class NDesk.DBus.MessageWriter::WriteNull() - IL_0078: ret - } // end of method MessageWriter::Write + IL_0073: ldstr "org.ndesk.DBus.SignalHandler" + IL_0078: ldloc.3 + IL_0079: call instance void class NDesk.DBus.Introspector::WriteAnnotation(string, string) + IL_007e: ldarg.0 + IL_007f: ldarg.1 + IL_0080: call instance void class NDesk.DBus.Introspector::WriteAnnotations(class [mscorlib]System.Reflection.ICustomAttributeProvider) + IL_0085: ldarg.0 + IL_0086: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_008b: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() + IL_0090: ret + } // end of method Introspector::WriteSignal - // method line 1284 + // method line 1282 .method public hidebysig - instance default void WriteComplex (object val, class [mscorlib]System.Type 'type') cil managed + instance default void WriteInterface (class [mscorlib]System.Type 'type') cil managed { - // Method begins at RVA 0x12cf4 - // Code size 294 (0x126) - .maxstack 6 + // Method begins at RVA 0x131f8 + // Code size 236 (0xec) + .maxstack 3 .locals init ( class [mscorlib]System.Reflection.MethodInfo V_0, - class [mscorlib]System.Reflection.MethodInfo V_1, - class [mscorlib]System.Type[] V_2, - class [mscorlib]System.Reflection.MethodInfo V_3, - class [mscorlib]System.Reflection.MethodInfo V_4) - IL_0000: ldarg.2 - IL_0001: ldtoken [mscorlib]System.Void - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0010: brfalse IL_0016 + class [mscorlib]System.Reflection.MethodInfo[] V_1, + int32 V_2, + class [mscorlib]System.Reflection.EventInfo V_3, + class [mscorlib]System.Reflection.EventInfo[] V_4, + int32 V_5, + class [mscorlib]System.Reflection.PropertyInfo V_6, + class [mscorlib]System.Reflection.PropertyInfo[] V_7, + int32 V_8) + IL_0000: ldarg.1 + IL_0001: ldnull + IL_0002: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0007: brfalse IL_000d - IL_0015: ret - IL_0016: ldarg.2 - IL_0017: callvirt instance bool class [mscorlib]System.Type::get_IsArray() - IL_001c: brfalse IL_0063 + IL_000c: ret + IL_000d: ldarg.1 + IL_000e: call bool class NDesk.DBus.Mapper::IsPublic(class [mscorlib]System.Type) + IL_0013: brtrue IL_0019 - IL_0021: ldtoken NDesk.DBus.MessageWriter - IL_0026: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_002b: ldstr "WriteArray" - IL_0030: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) - IL_0035: stloc.0 - IL_0036: ldloc.0 - IL_0037: ldc.i4.1 - IL_0038: newarr [mscorlib]System.Type - IL_003d: dup - IL_003e: ldc.i4.0 - IL_003f: ldarg.2 - IL_0040: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() - IL_0045: stelem.ref - IL_0046: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Reflection.MethodInfo::MakeGenericMethod(class [mscorlib]System.Type[]) - IL_004b: stloc.1 - IL_004c: ldloc.1 - IL_004d: ldarg.0 - IL_004e: ldc.i4.1 - IL_004f: newarr [mscorlib]System.Object - IL_0054: dup - IL_0055: ldc.i4.0 - IL_0056: ldarg.1 - IL_0057: stelem.ref - IL_0058: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) - IL_005d: pop - IL_005e: br IL_0125 + IL_0018: ret + IL_0019: ldarg.0 + IL_001a: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_001f: ldstr "interface" + IL_0024: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) + IL_0029: ldarg.0 + IL_002a: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_002f: ldstr "name" + IL_0034: ldarg.1 + IL_0035: call string class NDesk.DBus.Mapper::GetInterfaceName(class [mscorlib]System.Type) + IL_003a: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) + IL_003f: ldarg.1 + IL_0040: ldc.i4.s 0x16 + IL_0042: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_0047: stloc.1 + IL_0048: ldc.i4.0 + IL_0049: stloc.2 + IL_004a: br IL_0069 - IL_0063: ldarg.2 - IL_0064: callvirt instance bool class [mscorlib]System.Type::get_IsGenericType() - IL_0069: brfalse IL_00df + IL_004f: ldloc.1 + IL_0050: ldloc.2 + IL_0051: ldelem.ref + IL_0052: stloc.0 + IL_0053: ldloc.0 + IL_0054: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsSpecialName() + IL_0059: brtrue IL_0065 - IL_006e: ldarg.2 - IL_006f: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetGenericTypeDefinition() - IL_0074: ldtoken [mscorlib]System.Collections.Generic.IDictionary`2 - IL_0079: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_007e: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0083: brtrue IL_00a2 + IL_005e: ldarg.0 + IL_005f: ldloc.0 + IL_0060: call instance void class NDesk.DBus.Introspector::WriteMethod(class [mscorlib]System.Reflection.MethodInfo) + IL_0065: ldloc.2 + IL_0066: ldc.i4.1 + IL_0067: add + IL_0068: stloc.2 + IL_0069: ldloc.2 + IL_006a: ldloc.1 + IL_006b: ldlen + IL_006c: conv.i4 + IL_006d: blt IL_004f - IL_0088: ldarg.2 - IL_0089: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetGenericTypeDefinition() - IL_008e: ldtoken [mscorlib]System.Collections.Generic.Dictionary`2 - IL_0093: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0098: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_009d: brfalse IL_00df + IL_0072: ldarg.1 + IL_0073: ldc.i4.s 0x16 + IL_0075: callvirt instance class [mscorlib]System.Reflection.EventInfo[] class [mscorlib]System.Type::GetEvents(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_007a: stloc.s 4 + IL_007c: ldc.i4.0 + IL_007d: stloc.s 5 + IL_007f: br IL_0097 - IL_00a2: ldarg.2 - IL_00a3: callvirt instance class [mscorlib]System.Type[] class [mscorlib]System.Type::GetGenericArguments() - IL_00a8: stloc.2 - IL_00a9: ldtoken NDesk.DBus.MessageWriter - IL_00ae: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00b3: ldstr "WriteFromDict" - IL_00b8: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) - IL_00bd: stloc.3 - IL_00be: ldloc.3 - IL_00bf: ldloc.2 - IL_00c0: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Reflection.MethodInfo::MakeGenericMethod(class [mscorlib]System.Type[]) - IL_00c5: stloc.s 4 - IL_00c7: ldloc.s 4 - IL_00c9: ldarg.0 - IL_00ca: ldc.i4.1 - IL_00cb: newarr [mscorlib]System.Object - IL_00d0: dup - IL_00d1: ldc.i4.0 - IL_00d2: ldarg.1 - IL_00d3: stelem.ref - IL_00d4: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) - IL_00d9: pop - IL_00da: br IL_0125 + IL_0084: ldloc.s 4 + IL_0086: ldloc.s 5 + IL_0088: ldelem.ref + IL_0089: stloc.3 + IL_008a: ldarg.0 + IL_008b: ldloc.3 + IL_008c: call instance void class NDesk.DBus.Introspector::WriteSignal(class [mscorlib]System.Reflection.EventInfo) + IL_0091: ldloc.s 5 + IL_0093: ldc.i4.1 + IL_0094: add + IL_0095: stloc.s 5 + IL_0097: ldloc.s 5 + IL_0099: ldloc.s 4 + IL_009b: ldlen + IL_009c: conv.i4 + IL_009d: blt IL_0084 - IL_00df: ldarg.2 - IL_00e0: call bool class NDesk.DBus.Mapper::IsPublic(class [mscorlib]System.Type) - IL_00e5: brfalse IL_00f7 + IL_00a2: ldarg.1 + IL_00a3: ldc.i4.s 0x16 + IL_00a5: callvirt instance class [mscorlib]System.Reflection.PropertyInfo[] class [mscorlib]System.Type::GetProperties(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_00aa: stloc.s 7 + IL_00ac: ldc.i4.0 + IL_00ad: stloc.s 8 + IL_00af: br IL_00c9 - IL_00ea: ldarg.0 - IL_00eb: ldarg.2 - IL_00ec: ldarg.1 - IL_00ed: call instance void class NDesk.DBus.MessageWriter::WriteObject(class [mscorlib]System.Type, object) - IL_00f2: br IL_0125 + IL_00b4: ldloc.s 7 + IL_00b6: ldloc.s 8 + IL_00b8: ldelem.ref + IL_00b9: stloc.s 6 + IL_00bb: ldarg.0 + IL_00bc: ldloc.s 6 + IL_00be: call instance void class NDesk.DBus.Introspector::WriteProperty(class [mscorlib]System.Reflection.PropertyInfo) + IL_00c3: ldloc.s 8 + IL_00c5: ldc.i4.1 + IL_00c6: add + IL_00c7: stloc.s 8 + IL_00c9: ldloc.s 8 + IL_00cb: ldloc.s 7 + IL_00cd: ldlen + IL_00ce: conv.i4 + IL_00cf: blt IL_00b4 - IL_00f7: ldarg.2 - IL_00f8: callvirt instance bool class [mscorlib]System.Type::get_IsPrimitive() - IL_00fd: brtrue IL_011a + IL_00d4: ldarg.0 + IL_00d5: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_00da: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() + IL_00df: ldarg.0 + IL_00e0: ldarg.1 + IL_00e1: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::get_BaseType() + IL_00e6: call instance void class NDesk.DBus.Introspector::WriteInterface(class [mscorlib]System.Type) + IL_00eb: ret + } // end of method Introspector::WriteInterface - IL_0102: ldarg.2 - IL_0103: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() - IL_0108: brtrue IL_011a + // method line 1283 + .method public hidebysig + instance default void WriteAnnotations (class [mscorlib]System.Reflection.ICustomAttributeProvider attrProvider) cil managed + { + // Method begins at RVA 0x132f0 + // Code size 28 (0x1c) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: call bool class NDesk.DBus.Mapper::IsDeprecated(class [mscorlib]System.Reflection.ICustomAttributeProvider) + IL_0006: brfalse IL_001b - IL_010d: ldarg.0 - IL_010e: ldarg.1 - IL_010f: ldarg.2 - IL_0110: call instance void class NDesk.DBus.MessageWriter::WriteValueType(object, class [mscorlib]System.Type) - IL_0115: br IL_0125 + IL_000b: ldarg.0 + IL_000c: ldstr "org.freedesktop.DBus.Deprecated" + IL_0011: ldstr "true" + IL_0016: call instance void class NDesk.DBus.Introspector::WriteAnnotation(string, string) + IL_001b: ret + } // end of method Introspector::WriteAnnotations - IL_011a: ldstr "Can't write" - IL_011f: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0124: throw - IL_0125: ret - } // end of method MessageWriter::WriteComplex + // method line 1284 + .method public hidebysig + instance default void WriteAnnotation (string name, string 'value') cil managed + { + // Method begins at RVA 0x1330d + // Code size 62 (0x3e) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0006: ldstr "annotation" + IL_000b: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) + IL_0010: ldarg.0 + IL_0011: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0016: ldstr "name" + IL_001b: ldarg.1 + IL_001c: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) + IL_0021: ldarg.0 + IL_0022: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0027: ldstr "value" + IL_002c: ldarg.2 + IL_002d: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) + IL_0032: ldarg.0 + IL_0033: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0038: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() + IL_003d: ret + } // end of method Introspector::WriteAnnotation // method line 1285 .method public hidebysig - instance default void Write (class [mscorlib]System.Type 'type', object val) cil managed + instance default void WriteEnum (class [mscorlib]System.Type 'type') cil managed { - // Method begins at RVA 0x12e28 - // Code size 443 (0x1bb) + // Method begins at RVA 0x1334c + // Code size 295 (0x127) .maxstack 6 .locals init ( - class [mscorlib]System.Reflection.MethodInfo V_0, - class [mscorlib]System.Reflection.MethodInfo V_1, - class [mscorlib]System.Type[] V_2, - class [mscorlib]System.Reflection.MethodInfo V_3, - class [mscorlib]System.Reflection.MethodInfo V_4) - IL_0000: ldarg.1 - IL_0001: ldtoken [mscorlib]System.Void - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0010: brfalse IL_0016 - - IL_0015: ret - IL_0016: ldarg.1 - IL_0017: callvirt instance bool class [mscorlib]System.Type::get_IsArray() - IL_001c: brfalse IL_0063 - - IL_0021: ldtoken NDesk.DBus.MessageWriter - IL_0026: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_002b: ldstr "WriteArray" - IL_0030: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) - IL_0035: stloc.0 - IL_0036: ldloc.0 - IL_0037: ldc.i4.1 - IL_0038: newarr [mscorlib]System.Type - IL_003d: dup - IL_003e: ldc.i4.0 - IL_003f: ldarg.1 - IL_0040: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() - IL_0045: stelem.ref - IL_0046: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Reflection.MethodInfo::MakeGenericMethod(class [mscorlib]System.Type[]) - IL_004b: stloc.1 - IL_004c: ldloc.1 - IL_004d: ldarg.0 - IL_004e: ldc.i4.1 - IL_004f: newarr [mscorlib]System.Object - IL_0054: dup - IL_0055: ldc.i4.0 - IL_0056: ldarg.2 - IL_0057: stelem.ref - IL_0058: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) - IL_005d: pop - IL_005e: br IL_01ba - - IL_0063: ldarg.1 - IL_0064: ldtoken NDesk.DBus.ObjectPath - IL_0069: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_006e: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0073: brfalse IL_0089 - - IL_0078: ldarg.0 - IL_0079: ldarg.2 - IL_007a: castclass NDesk.DBus.ObjectPath - IL_007f: call instance void class NDesk.DBus.MessageWriter::Write(class NDesk.DBus.ObjectPath) - IL_0084: br IL_01ba - - IL_0089: ldarg.1 - IL_008a: ldtoken NDesk.DBus.Signature - IL_008f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0094: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0099: brfalse IL_00af + valuetype NDesk.DBus.Signature V_0, + string[] V_1, + int32 V_2, + class [mscorlib]System.Enum V_3, + class [mscorlib]System.Collections.IEnumerator V_4, + class [mscorlib]System.IDisposable V_5) + IL_0000: ldarg.0 + IL_0001: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0006: ldstr "enum" + IL_000b: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) + IL_0010: ldarg.0 + IL_0011: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0016: ldstr "name" + IL_001b: ldarg.1 + IL_001c: call string class NDesk.DBus.Mapper::GetInterfaceName(class [mscorlib]System.Type) + IL_0021: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) + IL_0026: ldarg.0 + IL_0027: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_002c: ldstr "type" + IL_0031: ldarg.1 + IL_0032: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() + IL_0037: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) + IL_003c: stloc.0 + IL_003d: ldloca.s 0 + IL_003f: call instance string valuetype NDesk.DBus.Signature::get_Value() + IL_0044: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) + IL_0049: ldarg.0 + IL_004a: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_004f: ldstr "flags" + IL_0054: ldarg.1 + IL_0055: ldtoken [mscorlib]System.FlagsAttribute + IL_005a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_005f: ldc.i4.0 + IL_0060: callvirt instance bool class [mscorlib]System.Reflection.MemberInfo::IsDefined(class [mscorlib]System.Type, bool) + IL_0065: brfalse IL_0074 - IL_009e: ldarg.0 - IL_009f: ldarg.2 - IL_00a0: unbox.any NDesk.DBus.Signature - IL_00a5: call instance void class NDesk.DBus.MessageWriter::Write(valuetype NDesk.DBus.Signature) - IL_00aa: br IL_01ba + IL_006a: ldstr "true" + IL_006f: br IL_0079 - IL_00af: ldarg.1 - IL_00b0: ldtoken [mscorlib]System.Object - IL_00b5: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00ba: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_00bf: brfalse IL_00d0 + IL_0074: ldstr "false" + IL_0079: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) + IL_007e: ldarg.1 + IL_007f: call string[] class [mscorlib]System.Enum::GetNames(class [mscorlib]System.Type) + IL_0084: stloc.1 + IL_0085: ldc.i4.0 + IL_0086: stloc.2 + IL_0087: ldarg.1 + IL_0088: call class [mscorlib]System.Array class [mscorlib]System.Enum::GetValues(class [mscorlib]System.Type) + IL_008d: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Array::GetEnumerator() + IL_0092: stloc.s 4 + .try { // 0 + IL_0094: br IL_00f3 - IL_00c4: ldarg.0 - IL_00c5: ldarg.2 - IL_00c6: call instance void class NDesk.DBus.MessageWriter::Write(object) - IL_00cb: br IL_01ba + IL_0099: ldloc.s 4 + IL_009b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_00a0: castclass [mscorlib]System.Enum + IL_00a5: stloc.3 + IL_00a6: ldarg.0 + IL_00a7: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_00ac: ldstr "element" + IL_00b1: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) + IL_00b6: ldarg.0 + IL_00b7: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_00bc: ldstr "name" + IL_00c1: ldloc.1 + IL_00c2: ldloc.2 + IL_00c3: dup + IL_00c4: ldc.i4.1 + IL_00c5: add + IL_00c6: stloc.2 + IL_00c7: ldelem.ref + IL_00c8: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) + IL_00cd: ldarg.0 + IL_00ce: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_00d3: ldstr "value" + IL_00d8: ldloc.3 + IL_00d9: ldstr "d" + IL_00de: callvirt instance string class [mscorlib]System.Enum::ToString(string) + IL_00e3: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) + IL_00e8: ldarg.0 + IL_00e9: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_00ee: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() + IL_00f3: ldloc.s 4 + IL_00f5: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00fa: brtrue IL_0099 - IL_00d0: ldarg.1 - IL_00d1: ldtoken [mscorlib]System.String - IL_00d6: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00db: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_00e0: brfalse IL_00f6 + IL_00ff: leave IL_011b - IL_00e5: ldarg.0 - IL_00e6: ldarg.2 - IL_00e7: castclass [mscorlib]System.String - IL_00ec: call instance void class NDesk.DBus.MessageWriter::Write(string) - IL_00f1: br IL_01ba + } // end .try 0 + finally { // 0 + IL_0104: ldloc.s 4 + IL_0106: isinst [mscorlib]System.IDisposable + IL_010b: dup + IL_010c: stloc.s 5 + IL_010e: brfalse IL_011a - IL_00f6: ldarg.1 - IL_00f7: callvirt instance bool class [mscorlib]System.Type::get_IsGenericType() - IL_00fc: brfalse IL_0172 + IL_0113: ldloc.s 5 + IL_0115: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_011a: endfinally + } // end handler 0 + IL_011b: ldarg.0 + IL_011c: ldfld class [System.Xml]System.Xml.XmlWriter NDesk.DBus.Introspector::writer + IL_0121: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() + IL_0126: ret + } // end of method Introspector::WriteEnum - IL_0101: ldarg.1 - IL_0102: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetGenericTypeDefinition() - IL_0107: ldtoken [mscorlib]System.Collections.Generic.IDictionary`2 - IL_010c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0111: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0116: brtrue IL_0135 + } // end of class NDesk.DBus.Introspector +} - IL_011b: ldarg.1 - IL_011c: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetGenericTypeDefinition() - IL_0121: ldtoken [mscorlib]System.Collections.Generic.Dictionary`2 - IL_0126: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_012b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0130: brfalse IL_0172 +.namespace NDesk.DBus +{ + .class private auto ansi beforefieldinit InvalidAddressException + extends NDesk.DBus.BadAddressException + { - IL_0135: ldarg.1 - IL_0136: callvirt instance class [mscorlib]System.Type[] class [mscorlib]System.Type::GetGenericArguments() - IL_013b: stloc.2 - IL_013c: ldtoken NDesk.DBus.MessageWriter - IL_0141: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0146: ldstr "WriteFromDict" - IL_014b: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) - IL_0150: stloc.3 - IL_0151: ldloc.3 - IL_0152: ldloc.2 - IL_0153: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Reflection.MethodInfo::MakeGenericMethod(class [mscorlib]System.Type[]) - IL_0158: stloc.s 4 - IL_015a: ldloc.s 4 - IL_015c: ldarg.0 - IL_015d: ldc.i4.1 - IL_015e: newarr [mscorlib]System.Object - IL_0163: dup - IL_0164: ldc.i4.0 - IL_0165: ldarg.2 - IL_0166: stelem.ref - IL_0167: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) - IL_016c: pop - IL_016d: br IL_01ba + // method line 1286 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string reason) cil managed + { + // Method begins at RVA 0x13499 + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call instance void class NDesk.DBus.BadAddressException::'.ctor'(string) + IL_0007: ret + } // end of method InvalidAddressException::.ctor - IL_0172: ldarg.1 - IL_0173: call bool class NDesk.DBus.Mapper::IsPublic(class [mscorlib]System.Type) - IL_0178: brfalse IL_018a + } // end of class NDesk.DBus.InvalidAddressException +} - IL_017d: ldarg.0 - IL_017e: ldarg.1 - IL_017f: ldarg.2 - IL_0180: call instance void class NDesk.DBus.MessageWriter::WriteObject(class [mscorlib]System.Type, object) - IL_0185: br IL_01ba +.namespace NDesk.DBus +{ + .class private auto ansi beforefieldinit BadAddressException + extends [mscorlib]System.Exception + { - IL_018a: ldarg.1 - IL_018b: callvirt instance bool class [mscorlib]System.Type::get_IsPrimitive() - IL_0190: brtrue IL_01ad + // method line 1287 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string reason) cil managed + { + // Method begins at RVA 0x13490 + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0007: ret + } // end of method BadAddressException::.ctor - IL_0195: ldarg.1 - IL_0196: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() - IL_019b: brtrue IL_01ad + } // end of class NDesk.DBus.BadAddressException +} - IL_01a0: ldarg.0 - IL_01a1: ldarg.2 - IL_01a2: ldarg.1 - IL_01a3: call instance void class NDesk.DBus.MessageWriter::WriteValueType(object, class [mscorlib]System.Type) - IL_01a8: br IL_01ba +.namespace NDesk.DBus +{ + .class private auto ansi beforefieldinit AddressEntry + extends [mscorlib]System.Object + { + .field public string Method + .field public initonly class [mscorlib]System.Collections.Generic.IDictionary`2 Properties + .field public valuetype NDesk.DBus.UUID GUID - IL_01ad: ldarg.0 - IL_01ae: ldarg.1 - IL_01af: call valuetype NDesk.DBus.DType valuetype NDesk.DBus.Signature::TypeToDType(class [mscorlib]System.Type) - IL_01b4: ldarg.2 - IL_01b5: call instance void class NDesk.DBus.MessageWriter::Write(valuetype NDesk.DBus.DType, object) - IL_01ba: ret - } // end of method MessageWriter::Write + // method line 1288 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x134a2 + // Code size 29 (0x1d) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'() + IL_0006: stfld class [mscorlib]System.Collections.Generic.IDictionary`2 NDesk.DBus.AddressEntry::Properties + IL_000b: ldarg.0 + IL_000c: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero + IL_0011: stfld valuetype NDesk.DBus.UUID NDesk.DBus.AddressEntry::GUID + IL_0016: ldarg.0 + IL_0017: call instance void object::'.ctor'() + IL_001c: ret + } // end of method AddressEntry::.ctor - // method line 1286 - .method public hidebysig - instance default void Write (valuetype NDesk.DBus.DType dtype, object val) cil managed + // method line 1289 + .method public virtual hidebysig + instance default string ToString () cil managed { - // Method begins at RVA 0x12ff0 - // Code size 359 (0x167) + // Method begins at RVA 0x134c0 + // Code size 245 (0xf5) .maxstack 2 - IL_0000: ldarg.1 - IL_0001: ldc.i4.s 0x6e - IL_0003: sub - IL_0004: switch ( - IL_0089, - IL_0122, - IL_0039, - IL_009a, - IL_0039, - IL_0111, - IL_00de, - IL_00bc, - IL_0144, - IL_0039, - IL_00cd, - IL_0067) - IL_0039: ldarg.1 - IL_003a: ldc.i4.s 0x62 - IL_003c: sub - IL_003d: switch ( - IL_0078, - IL_0150, - IL_0100, - IL_0150, - IL_00ef, - IL_0133, - IL_0150, - IL_00ab) - IL_0062: br IL_0150 + .locals init ( + class [mscorlib]System.Text.StringBuilder V_0, + bool V_1, + valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2 V_2, + class [mscorlib]System.Collections.Generic.IEnumerator`1> V_3) + IL_0000: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0005: stloc.0 + IL_0006: ldloc.0 + IL_0007: ldarg.0 + IL_0008: ldfld string NDesk.DBus.AddressEntry::Method + IL_000d: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0012: pop + IL_0013: ldloc.0 + IL_0014: ldc.i4.s 0x3a + IL_0016: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_001b: pop + IL_001c: ldc.i4.1 + IL_001d: stloc.1 + IL_001e: ldarg.0 + IL_001f: ldfld class [mscorlib]System.Collections.Generic.IDictionary`2 NDesk.DBus.AddressEntry::Properties + IL_0024: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1>::GetEnumerator() + IL_0029: stloc.3 + .try { // 0 + IL_002a: br IL_0076 - IL_0067: ldarg.0 - IL_0068: ldarg.2 - IL_0069: unbox.any [mscorlib]System.Byte - IL_006e: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int8) - IL_0073: br IL_0166 + IL_002f: ldloc.3 + IL_0030: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1>::get_Current() + IL_0035: stloc.2 + IL_0036: ldloc.1 + IL_0037: brfalse IL_0043 - IL_0078: ldarg.0 - IL_0079: ldarg.2 - IL_007a: unbox.any [mscorlib]System.Boolean - IL_007f: call instance void class NDesk.DBus.MessageWriter::Write(bool) - IL_0084: br IL_0166 + IL_003c: ldc.i4.0 + IL_003d: stloc.1 + IL_003e: br IL_004c - IL_0089: ldarg.0 - IL_008a: ldarg.2 - IL_008b: unbox.any [mscorlib]System.Int16 - IL_0090: call instance void class NDesk.DBus.MessageWriter::Write(int16) - IL_0095: br IL_0166 + IL_0043: ldloc.0 + IL_0044: ldc.i4.s 0x2c + IL_0046: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_004b: pop + IL_004c: ldloc.0 + IL_004d: ldloca.s 2 + IL_004f: call instance !0 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Key() + IL_0054: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0059: pop + IL_005a: ldloc.0 + IL_005b: ldc.i4.s 0x3d + IL_005d: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_0062: pop + IL_0063: ldloc.0 + IL_0064: ldloca.s 2 + IL_0066: call instance !1 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Value() + IL_006b: call string class NDesk.DBus.AddressEntry::Escape(string) + IL_0070: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0075: pop + IL_0076: ldloc.3 + IL_0077: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_007c: brtrue IL_002f - IL_009a: ldarg.0 - IL_009b: ldarg.2 - IL_009c: unbox.any [mscorlib]System.UInt16 - IL_00a1: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int16) - IL_00a6: br IL_0166 + IL_0081: leave IL_0093 - IL_00ab: ldarg.0 - IL_00ac: ldarg.2 - IL_00ad: unbox.any [mscorlib]System.Int32 - IL_00b2: call instance void class NDesk.DBus.MessageWriter::Write(int32) - IL_00b7: br IL_0166 + } // end .try 0 + finally { // 0 + IL_0086: ldloc.3 + IL_0087: brfalse IL_0092 - IL_00bc: ldarg.0 - IL_00bd: ldarg.2 - IL_00be: unbox.any [mscorlib]System.UInt32 - IL_00c3: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) - IL_00c8: br IL_0166 + IL_008c: ldloc.3 + IL_008d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0092: endfinally + } // end handler 0 + IL_0093: ldarg.0 + IL_0094: ldfld valuetype NDesk.DBus.UUID NDesk.DBus.AddressEntry::GUID + IL_0099: ldsfld valuetype NDesk.DBus.UUID NDesk.DBus.UUID::Zero + IL_009e: call bool valuetype NDesk.DBus.UUID::op_Inequality(valuetype NDesk.DBus.UUID, valuetype NDesk.DBus.UUID) + IL_00a3: brfalse IL_00ee - IL_00cd: ldarg.0 - IL_00ce: ldarg.2 - IL_00cf: unbox.any [mscorlib]System.Int64 - IL_00d4: call instance void class NDesk.DBus.MessageWriter::Write(int64) - IL_00d9: br IL_0166 + IL_00a8: ldarg.0 + IL_00a9: ldfld class [mscorlib]System.Collections.Generic.IDictionary`2 NDesk.DBus.AddressEntry::Properties + IL_00ae: callvirt instance int32 class [mscorlib]System.Collections.Generic.ICollection`1>::get_Count() + IL_00b3: brfalse IL_00c1 - IL_00de: ldarg.0 - IL_00df: ldarg.2 - IL_00e0: unbox.any [mscorlib]System.UInt64 - IL_00e5: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int64) - IL_00ea: br IL_0166 + IL_00b8: ldloc.0 + IL_00b9: ldc.i4.s 0x2c + IL_00bb: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_00c0: pop + IL_00c1: ldloc.0 + IL_00c2: ldstr "guid" + IL_00c7: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00cc: pop + IL_00cd: ldloc.0 + IL_00ce: ldc.i4.s 0x3d + IL_00d0: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_00d5: pop + IL_00d6: ldloc.0 + IL_00d7: ldarg.0 + IL_00d8: ldflda valuetype NDesk.DBus.UUID NDesk.DBus.AddressEntry::GUID + IL_00dd: constrained. NDesk.DBus.UUID + IL_00e3: callvirt instance string object::ToString() + IL_00e8: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00ed: pop + IL_00ee: ldloc.0 + IL_00ef: callvirt instance string object::ToString() + IL_00f4: ret + } // end of method AddressEntry::ToString - IL_00ef: ldarg.0 - IL_00f0: ldarg.2 - IL_00f1: unbox.any [mscorlib]System.Single - IL_00f6: call instance void class NDesk.DBus.MessageWriter::Write(float32) - IL_00fb: br IL_0166 + // method line 1290 + .method private static hidebysig + default string Escape (string str) cil managed + { + // Method begins at RVA 0x135d4 + // Code size 135 (0x87) + .maxstack 2 + .locals init ( + class [mscorlib]System.Text.StringBuilder V_0, + int32 V_1, + int32 V_2, + char V_3) + IL_0000: ldarg.0 + IL_0001: brtrue IL_000c - IL_0100: ldarg.0 - IL_0101: ldarg.2 - IL_0102: unbox.any [mscorlib]System.Double - IL_0107: call instance void class NDesk.DBus.MessageWriter::Write(float64) - IL_010c: br IL_0166 + IL_0006: ldsfld string [mscorlib]System.String::Empty + IL_000b: ret + IL_000c: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0011: stloc.0 + IL_0012: ldarg.0 + IL_0013: callvirt instance int32 string::get_Length() + IL_0018: stloc.1 + IL_0019: ldc.i4.0 + IL_001a: stloc.2 + IL_001b: br IL_0079 - IL_0111: ldarg.0 - IL_0112: ldarg.2 - IL_0113: castclass [mscorlib]System.String - IL_0118: call instance void class NDesk.DBus.MessageWriter::Write(string) - IL_011d: br IL_0166 + IL_0020: ldarg.0 + IL_0021: ldloc.2 + IL_0022: callvirt instance char string::get_Chars(int32) + IL_0027: stloc.3 + IL_0028: ldloc.3 + IL_0029: call bool char::IsLetterOrDigit(char) + IL_002e: brtrue IL_005b - IL_0122: ldarg.0 - IL_0123: ldarg.2 - IL_0124: castclass NDesk.DBus.ObjectPath - IL_0129: call instance void class NDesk.DBus.MessageWriter::Write(class NDesk.DBus.ObjectPath) - IL_012e: br IL_0166 + IL_0033: ldloc.3 + IL_0034: ldc.i4.s 0x2d + IL_0036: beq IL_005b - IL_0133: ldarg.0 - IL_0134: ldarg.2 - IL_0135: unbox.any NDesk.DBus.Signature - IL_013a: call instance void class NDesk.DBus.MessageWriter::Write(valuetype NDesk.DBus.Signature) - IL_013f: br IL_0166 + IL_003b: ldloc.3 + IL_003c: ldc.i4.s 0x5f + IL_003e: beq IL_005b - IL_0144: ldarg.0 - IL_0145: ldarg.2 - IL_0146: call instance void class NDesk.DBus.MessageWriter::Write(object) - IL_014b: br IL_0166 + IL_0043: ldloc.3 + IL_0044: ldc.i4.s 0x2f + IL_0046: beq IL_005b - IL_0150: ldstr "Unhandled D-Bus type: " - IL_0155: ldarg.1 - IL_0156: box NDesk.DBus.DType - IL_015b: call string string::Concat(object, object) - IL_0160: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0165: throw - IL_0166: ret - } // end of method MessageWriter::Write + IL_004b: ldloc.3 + IL_004c: ldc.i4.s 0x5c + IL_004e: beq IL_005b - // method line 1287 - .method public hidebysig - instance default void WriteObject (class [mscorlib]System.Type 'type', object val) cil managed - { - // Method begins at RVA 0x13164 - // Code size 73 (0x49) - .maxstack 2 - .locals init ( - class NDesk.DBus.ObjectPath V_0, - class NDesk.DBus.BusObject V_1) - IL_0000: ldarg.2 - IL_0001: isinst NDesk.DBus.BusObject - IL_0006: stloc.1 - IL_0007: ldloc.1 - IL_0008: brtrue IL_0029 + IL_0053: ldloc.3 + IL_0054: ldc.i4.s 0x2e + IL_0056: bne.un IL_0068 - IL_000d: ldarg.2 - IL_000e: isinst [mscorlib]System.MarshalByRefObject - IL_0013: brfalse IL_0029 + IL_005b: ldloc.0 + IL_005c: ldloc.3 + IL_005d: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_0062: pop + IL_0063: br IL_0075 - IL_0018: ldarg.2 - IL_0019: castclass [mscorlib]System.MarshalByRefObject - IL_001e: callvirt instance object class [mscorlib]System.MarshalByRefObject::GetLifetimeService() - IL_0023: isinst NDesk.DBus.BusObject - IL_0028: stloc.1 - IL_0029: ldloc.1 - IL_002a: brtrue IL_003a + IL_0068: ldloc.0 + IL_0069: ldloc.3 + IL_006a: call string class [System]System.Uri::HexEscape(char) + IL_006f: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0074: pop + IL_0075: ldloc.2 + IL_0076: ldc.i4.1 + IL_0077: add + IL_0078: stloc.2 + IL_0079: ldloc.2 + IL_007a: ldloc.1 + IL_007b: bne.un IL_0020 - IL_002f: ldstr "No object reference to write" - IL_0034: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0039: throw - IL_003a: ldloc.1 - IL_003b: callvirt instance class NDesk.DBus.ObjectPath class NDesk.DBus.BusObject::get_Path() - IL_0040: stloc.0 - IL_0041: ldarg.0 - IL_0042: ldloc.0 - IL_0043: call instance void class NDesk.DBus.MessageWriter::Write(class NDesk.DBus.ObjectPath) - IL_0048: ret - } // end of method MessageWriter::WriteObject + IL_0080: ldloc.0 + IL_0081: callvirt instance string object::ToString() + IL_0086: ret + } // end of method AddressEntry::Escape - // method line 1288 - .method public hidebysig - instance default void Write (object val) cil managed + // method line 1291 + .method private static hidebysig + default string Unescape (string str) cil managed { - // Method begins at RVA 0x131bc - // Code size 135 (0x87) - .maxstack 4 + // Method begins at RVA 0x13668 + // Code size 96 (0x60) + .maxstack 5 .locals init ( - class NDesk.DBus.DValue V_0, - class [mscorlib]System.Type V_1) - IL_0000: ldarg.1 - IL_0001: brtrue IL_0011 + class [mscorlib]System.Text.StringBuilder V_0, + int32 V_1, + int32 V_2) + IL_0000: ldarg.0 + IL_0001: brtrue IL_000c - IL_0006: ldstr "Cannot send null variant" - IL_000b: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) - IL_0010: throw - IL_0011: ldarg.1 - IL_0012: isinst NDesk.DBus.DValue - IL_0017: brfalse IL_0077 + IL_0006: ldsfld string [mscorlib]System.String::Empty + IL_000b: ret + IL_000c: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0011: stloc.0 + IL_0012: ldarg.0 + IL_0013: callvirt instance int32 string::get_Length() + IL_0018: stloc.1 + IL_0019: ldc.i4.0 + IL_001a: stloc.2 + IL_001b: br IL_0052 - IL_001c: ldarg.1 - IL_001d: castclass NDesk.DBus.DValue - IL_0022: stloc.0 - IL_0023: ldloc.0 - IL_0024: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.DValue::endianness - IL_0029: ldarg.0 - IL_002a: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.MessageWriter::endianness - IL_002f: beq IL_003f + IL_0020: ldarg.0 + IL_0021: ldloc.2 + IL_0022: call bool class [System]System.Uri::IsHexEncoding(string, int32) + IL_0027: brfalse IL_0040 + + IL_002c: ldloc.0 + IL_002d: ldarg.0 + IL_002e: ldloca.s 2 + IL_0030: call char class [System]System.Uri::HexUnescape(string, [out] int32&) + IL_0035: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_003a: pop + IL_003b: br IL_0052 - IL_0034: ldstr "Writing opposite endian DValues not yet implemented." - IL_0039: newobj instance void class [mscorlib]System.NotImplementedException::'.ctor'(string) - IL_003e: throw - IL_003f: ldarg.0 IL_0040: ldloc.0 - IL_0041: ldfld valuetype NDesk.DBus.Signature NDesk.DBus.DValue::signature - IL_0046: call instance void class NDesk.DBus.MessageWriter::Write(valuetype NDesk.DBus.Signature) - IL_004b: ldarg.0 - IL_004c: ldloc.0 - IL_004d: ldflda valuetype NDesk.DBus.Signature NDesk.DBus.DValue::signature - IL_0052: call instance int32 valuetype NDesk.DBus.Signature::get_Alignment() - IL_0057: call instance void class NDesk.DBus.MessageWriter::WritePad(int32) - IL_005c: ldarg.0 - IL_005d: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0062: ldloc.0 - IL_0063: ldfld unsigned int8[] NDesk.DBus.DValue::data - IL_0068: ldc.i4.0 - IL_0069: ldloc.0 - IL_006a: ldfld unsigned int8[] NDesk.DBus.DValue::data - IL_006f: ldlen - IL_0070: conv.i4 - IL_0071: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) - IL_0076: ret - IL_0077: ldarg.1 - IL_0078: callvirt instance class [mscorlib]System.Type object::GetType() - IL_007d: stloc.1 - IL_007e: ldarg.0 - IL_007f: ldloc.1 - IL_0080: ldarg.1 - IL_0081: call instance void class NDesk.DBus.MessageWriter::WriteVariant(class [mscorlib]System.Type, object) - IL_0086: ret - } // end of method MessageWriter::Write + IL_0041: ldarg.0 + IL_0042: ldloc.2 + IL_0043: dup + IL_0044: ldc.i4.1 + IL_0045: add + IL_0046: stloc.2 + IL_0047: callvirt instance char string::get_Chars(int32) + IL_004c: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_0051: pop + IL_0052: ldloc.2 + IL_0053: ldloc.1 + IL_0054: bne.un IL_0020 - // method line 1289 - .method public hidebysig - instance default void WriteVariant (class [mscorlib]System.Type 'type', object val) cil managed - { - // Method begins at RVA 0x13250 - // Code size 23 (0x17) - .maxstack 3 - .locals init ( - valuetype NDesk.DBus.Signature V_0) - IL_0000: ldarg.1 - IL_0001: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldloc.0 - IL_0009: call instance void class NDesk.DBus.MessageWriter::Write(valuetype NDesk.DBus.Signature) - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: ldarg.2 - IL_0011: call instance void class NDesk.DBus.MessageWriter::Write(class [mscorlib]System.Type, object) - IL_0016: ret - } // end of method MessageWriter::WriteVariant + IL_0059: ldloc.0 + IL_005a: callvirt instance string object::ToString() + IL_005f: ret + } // end of method AddressEntry::Unescape - // method line 1290 - .method public hidebysig - instance default void WriteArray (!!T[] val) cil managed + // method line 1292 + .method public static hidebysig + default class NDesk.DBus.AddressEntry Parse (string s) cil managed { - // Method begins at RVA 0x13274 - // Code size 654 (0x28e) - .maxstack 4 + // Method begins at RVA 0x136d4 + // Code size 258 (0x102) + .maxstack 5 .locals init ( - class [mscorlib]System.Type V_0, - valuetype NDesk.DBus.Signature V_1, - int32 V_2, - int32 V_3, - valuetype [mscorlib]System.Runtime.InteropServices.GCHandle V_4, - native int V_5, - unsigned int8[] V_6, - unsigned int8* V_7, - int32 V_8, - int64 V_9, - int64 V_10, - class NDesk.DBus.TypeWriter`1 V_11, - !!T V_12, - !!T[] V_13, - int32 V_14, - int64 V_15, - unsigned int32 V_16) - IL_0000: ldtoken !!T - IL_0005: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000a: stloc.0 - IL_000b: ldloc.0 - IL_000c: ldtoken [mscorlib]System.Byte - IL_0011: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0016: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_001b: brfalse IL_008f - - IL_0020: ldarg.1 - IL_0021: ldlen - IL_0022: conv.i4 - IL_0023: conv.i8 - IL_0024: ldc.i4 67108864 - IL_0029: conv.i8 - IL_002a: ble IL_0070 - - IL_002f: ldc.i4.5 - IL_0030: newarr [mscorlib]System.Object - IL_0035: dup - IL_0036: ldc.i4.0 - IL_0037: ldstr "Array length " - IL_003c: stelem.ref - IL_003d: dup - IL_003e: ldc.i4.1 - IL_003f: ldarg.1 - IL_0040: ldlen - IL_0041: conv.i4 - IL_0042: box [mscorlib]System.Int32 - IL_0047: stelem.ref - IL_0048: dup - IL_0049: ldc.i4.2 - IL_004a: ldstr " exceeds maximum allowed " - IL_004f: stelem.ref - IL_0050: dup - IL_0051: ldc.i4.3 - IL_0052: ldc.i4 67108864 - IL_0057: box [mscorlib]System.UInt32 - IL_005c: stelem.ref - IL_005d: dup - IL_005e: ldc.i4.4 - IL_005f: ldstr " bytes" - IL_0064: stelem.ref - IL_0065: call string string::Concat(object[]) - IL_006a: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_006f: throw - IL_0070: ldarg.0 - IL_0071: ldarg.1 - IL_0072: ldlen - IL_0073: conv.i4 - IL_0074: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) - IL_0079: ldarg.0 - IL_007a: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_007f: ldarg.1 - IL_0080: castclass unsigned int8[] - IL_0085: ldc.i4.0 - IL_0086: ldarg.1 - IL_0087: ldlen - IL_0088: conv.i4 - IL_0089: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) - IL_008e: ret - IL_008f: ldloc.0 - IL_0090: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() - IL_0095: brfalse IL_00a1 - - IL_009a: ldloc.0 - IL_009b: call class [mscorlib]System.Type class [mscorlib]System.Enum::GetUnderlyingType(class [mscorlib]System.Type) - IL_00a0: stloc.0 - IL_00a1: ldloc.0 - IL_00a2: call valuetype NDesk.DBus.Signature valuetype NDesk.DBus.Signature::GetSig(class [mscorlib]System.Type) - IL_00a7: stloc.1 - IL_00a8: ldc.i4.0 - IL_00a9: stloc.2 - IL_00aa: ldarg.0 - IL_00ab: ldfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.MessageWriter::endianness - IL_00b0: ldsfld valuetype NDesk.DBus.EndianFlag NDesk.DBus.Connection::NativeEndianness - IL_00b5: bne.un IL_01a4 - - IL_00ba: ldloc.0 - IL_00bb: callvirt instance bool class [mscorlib]System.Type::get_IsValueType() - IL_00c0: brfalse IL_01a4 + class NDesk.DBus.AddressEntry V_0, + string[] V_1, + string V_2, + string[] V_3, + int32 V_4) + IL_0000: newobj instance void class NDesk.DBus.AddressEntry::'.ctor'() + IL_0005: stloc.0 + IL_0006: ldarg.0 + IL_0007: ldc.i4.1 + IL_0008: newarr [mscorlib]System.Char + IL_000d: dup + IL_000e: ldc.i4.0 + IL_000f: ldc.i4.s 0x3a + IL_0011: stelem.i2 + IL_0012: callvirt instance string[] string::Split(char[]) + IL_0017: stloc.1 + IL_0018: ldloc.1 + IL_0019: ldlen + IL_001a: conv.i4 + IL_001b: ldc.i4.2 + IL_001c: bge IL_002c - IL_00c5: ldloca.s 1 - IL_00c7: call instance bool valuetype NDesk.DBus.Signature::get_IsStruct() - IL_00cc: brtrue IL_01a4 + IL_0021: ldstr "No colon found" + IL_0026: newobj instance void class NDesk.DBus.InvalidAddressException::'.ctor'(string) + IL_002b: throw + IL_002c: ldloc.1 + IL_002d: ldlen + IL_002e: conv.i4 + IL_002f: ldc.i4.2 + IL_0030: ble IL_0040 - IL_00d1: ldloca.s 1 - IL_00d3: ldloca.s 2 - IL_00d5: call instance bool valuetype NDesk.DBus.Signature::GetFixedSize([out] int32&) - IL_00da: brfalse IL_01a4 + IL_0035: ldstr "Too many colons found" + IL_003a: newobj instance void class NDesk.DBus.InvalidAddressException::'.ctor'(string) + IL_003f: throw + IL_0040: ldloc.0 + IL_0041: ldloc.1 + IL_0042: ldc.i4.0 + IL_0043: ldelem.ref + IL_0044: stfld string NDesk.DBus.AddressEntry::Method + IL_0049: ldloc.1 + IL_004a: ldc.i4.1 + IL_004b: ldelem.ref + IL_004c: ldc.i4.1 + IL_004d: newarr [mscorlib]System.Char + IL_0052: dup + IL_0053: ldc.i4.0 + IL_0054: ldc.i4.s 0x2c + IL_0056: stelem.i2 + IL_0057: callvirt instance string[] string::Split(char[]) + IL_005c: stloc.3 + IL_005d: ldc.i4.0 + IL_005e: stloc.s 4 + IL_0060: br IL_00f6 - IL_00df: ldloc.2 - IL_00e0: ldarg.1 - IL_00e1: ldlen - IL_00e2: conv.i4 - IL_00e3: mul - IL_00e4: stloc.3 - IL_00e5: ldloc.3 - IL_00e6: conv.i8 - IL_00e7: ldc.i4 67108864 - IL_00ec: conv.i8 - IL_00ed: ble IL_0131 + IL_0065: ldloc.3 + IL_0066: ldloc.s 4 + IL_0068: ldelem.ref + IL_0069: stloc.2 + IL_006a: ldloc.2 + IL_006b: ldc.i4.1 + IL_006c: newarr [mscorlib]System.Char + IL_0071: dup + IL_0072: ldc.i4.0 + IL_0073: ldc.i4.s 0x3d + IL_0075: stelem.i2 + IL_0076: callvirt instance string[] string::Split(char[]) + IL_007b: stloc.1 + IL_007c: ldloc.1 + IL_007d: ldlen + IL_007e: conv.i4 + IL_007f: ldc.i4.2 + IL_0080: bge IL_0090 - IL_00f2: ldc.i4.5 - IL_00f3: newarr [mscorlib]System.Object - IL_00f8: dup - IL_00f9: ldc.i4.0 - IL_00fa: ldstr "Array length " - IL_00ff: stelem.ref - IL_0100: dup - IL_0101: ldc.i4.1 - IL_0102: ldloc.3 - IL_0103: box [mscorlib]System.Int32 - IL_0108: stelem.ref - IL_0109: dup - IL_010a: ldc.i4.2 - IL_010b: ldstr " exceeds maximum allowed " - IL_0110: stelem.ref - IL_0111: dup - IL_0112: ldc.i4.3 - IL_0113: ldc.i4 67108864 - IL_0118: box [mscorlib]System.UInt32 - IL_011d: stelem.ref - IL_011e: dup - IL_011f: ldc.i4.4 - IL_0120: ldstr " bytes" - IL_0125: stelem.ref - IL_0126: call string string::Concat(object[]) - IL_012b: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0130: throw - IL_0131: ldarg.0 - IL_0132: ldloc.3 - IL_0133: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) - IL_0138: ldarg.0 - IL_0139: ldloca.s 1 - IL_013b: call instance int32 valuetype NDesk.DBus.Signature::get_Alignment() - IL_0140: call instance void class NDesk.DBus.MessageWriter::WritePad(int32) - IL_0145: ldarg.1 - IL_0146: ldc.i4.3 - IL_0147: call valuetype [mscorlib]System.Runtime.InteropServices.GCHandle valuetype [mscorlib]System.Runtime.InteropServices.GCHandle::Alloc(object, valuetype [mscorlib]System.Runtime.InteropServices.GCHandleType) - IL_014c: stloc.s 4 - IL_014e: ldloca.s 4 - IL_0150: call instance native int valuetype [mscorlib]System.Runtime.InteropServices.GCHandle::AddrOfPinnedObject() - IL_0155: stloc.s 5 - IL_0157: ldloc.3 - IL_0158: newarr [mscorlib]System.Byte - IL_015d: stloc.s 6 - IL_015f: ldloc.s 5 - IL_0161: call void* native int::op_Explicit(native int) - IL_0166: stloc.s 7 - IL_0168: ldc.i4.0 - IL_0169: stloc.s 8 - IL_016b: br IL_0182 + IL_0085: ldstr "No equals sign found" + IL_008a: newobj instance void class NDesk.DBus.InvalidAddressException::'.ctor'(string) + IL_008f: throw + IL_0090: ldloc.1 + IL_0091: ldlen + IL_0092: conv.i4 + IL_0093: ldc.i4.2 + IL_0094: ble IL_00a4 - IL_0170: ldloc.s 6 - IL_0172: ldloc.s 8 - IL_0174: ldloc.s 7 - IL_0176: ldloc.s 8 - IL_0178: conv.i - IL_0179: add - IL_017a: ldind.u1 - IL_017b: stelem.i1 - IL_017c: ldloc.s 8 - IL_017e: ldc.i4.1 - IL_017f: add - IL_0180: stloc.s 8 - IL_0182: ldloc.s 8 - IL_0184: ldloc.3 - IL_0185: bne.un IL_0170 + IL_0099: ldstr "Too many equals signs found" + IL_009e: newobj instance void class NDesk.DBus.InvalidAddressException::'.ctor'(string) + IL_00a3: throw + IL_00a4: ldloc.1 + IL_00a5: ldc.i4.0 + IL_00a6: ldelem.ref + IL_00a7: ldstr "guid" + IL_00ac: call bool string::op_Equality(string, string) + IL_00b1: brfalse IL_00da - IL_018a: ldarg.0 - IL_018b: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0190: ldloc.s 6 - IL_0192: ldc.i4.0 - IL_0193: ldloc.s 6 - IL_0195: ldlen - IL_0196: conv.i4 - IL_0197: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) - IL_019c: ldloca.s 4 - IL_019e: call instance void valuetype [mscorlib]System.Runtime.InteropServices.GCHandle::Free() - IL_01a3: ret - IL_01a4: ldarg.0 - IL_01a5: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_01aa: callvirt instance int64 class [mscorlib]System.IO.Stream::get_Position() - IL_01af: stloc.s 9 - IL_01b1: ldarg.0 - IL_01b2: ldc.i4.0 - IL_01b3: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) - IL_01b8: ldarg.0 - IL_01b9: ldloca.s 1 - IL_01bb: call instance int32 valuetype NDesk.DBus.Signature::get_Alignment() - IL_01c0: call instance void class NDesk.DBus.MessageWriter::WritePad(int32) - IL_01c5: ldarg.0 - IL_01c6: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_01cb: callvirt instance int64 class [mscorlib]System.IO.Stream::get_Position() - IL_01d0: stloc.s 10 - IL_01d2: call class NDesk.DBus.TypeWriter`1 class NDesk.DBus.TypeImplementer::GetTypeWriter () - IL_01d7: stloc.s 11 - IL_01d9: ldarg.1 - IL_01da: stloc.s 13 - IL_01dc: ldc.i4.0 - IL_01dd: stloc.s 14 - IL_01df: br IL_01ff + .try { // 0 + IL_00b6: ldloc.0 + IL_00b7: ldloc.1 + IL_00b8: ldc.i4.1 + IL_00b9: ldelem.ref + IL_00ba: call valuetype NDesk.DBus.UUID valuetype NDesk.DBus.UUID::Parse(string) + IL_00bf: stfld valuetype NDesk.DBus.UUID NDesk.DBus.AddressEntry::GUID + IL_00c4: leave IL_00d5 - IL_01e4: ldloc.s 13 - IL_01e6: ldloc.s 14 - IL_01e8: ldelem !!0 - IL_01ed: stloc.s 12 - IL_01ef: ldloc.s 11 - IL_01f1: ldarg.0 - IL_01f2: ldloc.s 12 - IL_01f4: callvirt instance void class NDesk.DBus.TypeWriter`1::Invoke(class NDesk.DBus.MessageWriter, !0) - IL_01f9: ldloc.s 14 - IL_01fb: ldc.i4.1 - IL_01fc: add - IL_01fd: stloc.s 14 - IL_01ff: ldloc.s 14 - IL_0201: ldloc.s 13 - IL_0203: ldlen - IL_0204: conv.i4 - IL_0205: blt IL_01e4 + } // end .try 0 + catch class [mscorlib]System.Object { // 0 + IL_00c9: pop + IL_00ca: ldstr "Invalid guid specified" + IL_00cf: newobj instance void class NDesk.DBus.InvalidAddressException::'.ctor'(string) + IL_00d4: throw + } // end handler 0 + IL_00d5: br IL_00f0 - IL_020a: ldarg.0 - IL_020b: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0210: callvirt instance int64 class [mscorlib]System.IO.Stream::get_Position() - IL_0215: stloc.s 15 - IL_0217: ldloc.s 15 - IL_0219: ldloc.s 10 - IL_021b: sub - IL_021c: conv.u4 - IL_021d: stloc.s 16 - IL_021f: ldarg.0 - IL_0220: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0225: ldloc.s 9 - IL_0227: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) - IL_022c: ldloc.s 16 - IL_022e: ldc.i4 67108864 - IL_0233: ble.un IL_0278 + IL_00da: ldloc.0 + IL_00db: ldfld class [mscorlib]System.Collections.Generic.IDictionary`2 NDesk.DBus.AddressEntry::Properties + IL_00e0: ldloc.1 + IL_00e1: ldc.i4.0 + IL_00e2: ldelem.ref + IL_00e3: ldloc.1 + IL_00e4: ldc.i4.1 + IL_00e5: ldelem.ref + IL_00e6: call string class NDesk.DBus.AddressEntry::Unescape(string) + IL_00eb: callvirt instance void class [mscorlib]System.Collections.Generic.IDictionary`2::set_Item(!0, !1) + IL_00f0: ldloc.s 4 + IL_00f2: ldc.i4.1 + IL_00f3: add + IL_00f4: stloc.s 4 + IL_00f6: ldloc.s 4 + IL_00f8: ldloc.3 + IL_00f9: ldlen + IL_00fa: conv.i4 + IL_00fb: blt IL_0065 - IL_0238: ldc.i4.5 - IL_0239: newarr [mscorlib]System.Object - IL_023e: dup - IL_023f: ldc.i4.0 - IL_0240: ldstr "Array length " - IL_0245: stelem.ref - IL_0246: dup - IL_0247: ldc.i4.1 - IL_0248: ldloc.s 16 - IL_024a: box [mscorlib]System.UInt32 - IL_024f: stelem.ref - IL_0250: dup - IL_0251: ldc.i4.2 - IL_0252: ldstr " exceeds maximum allowed " - IL_0257: stelem.ref - IL_0258: dup - IL_0259: ldc.i4.3 - IL_025a: ldc.i4 67108864 - IL_025f: box [mscorlib]System.UInt32 - IL_0264: stelem.ref - IL_0265: dup - IL_0266: ldc.i4.4 - IL_0267: ldstr " bytes" - IL_026c: stelem.ref - IL_026d: call string string::Concat(object[]) - IL_0272: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0277: throw - IL_0278: ldarg.0 - IL_0279: ldloc.s 16 - IL_027b: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) - IL_0280: ldarg.0 - IL_0281: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0286: ldloc.s 15 - IL_0288: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) - IL_028d: ret - } // end of method MessageWriter::WriteArray + IL_0100: ldloc.0 + IL_0101: ret + } // end of method AddressEntry::Parse - // method line 1291 - .method public hidebysig - instance default void WriteValueType (object val, class [mscorlib]System.Type 'type') cil managed - { - // Method begins at RVA 0x13510 - // Code size 30 (0x1e) - .maxstack 6 - .locals init ( - class [mscorlib]System.Reflection.MethodInfo V_0) - IL_0000: ldarg.2 - IL_0001: call class [mscorlib]System.Reflection.MethodInfo class NDesk.DBus.TypeImplementer::GetWriteMethod(class [mscorlib]System.Type) - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldnull - IL_0009: ldc.i4.2 - IL_000a: newarr [mscorlib]System.Object - IL_000f: dup - IL_0010: ldc.i4.0 - IL_0011: ldarg.0 - IL_0012: stelem.ref - IL_0013: dup - IL_0014: ldc.i4.1 - IL_0015: ldarg.1 - IL_0016: stelem.ref - IL_0017: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) - IL_001c: pop - IL_001d: ret - } // end of method MessageWriter::WriteValueType + } // end of class NDesk.DBus.AddressEntry +} - // method line 1292 - .method public hidebysig - instance default void WriteStructure (!!T 'value') cil managed - { - // Method begins at RVA 0x1353c - // Code size 15 (0xf) - .maxstack 3 - .locals init ( - class NDesk.DBus.TypeWriter`1 V_0) - IL_0000: call class NDesk.DBus.TypeWriter`1 class NDesk.DBus.TypeImplementer::GetTypeWriter () - IL_0005: stloc.0 - IL_0006: ldloc.0 - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: callvirt instance void class NDesk.DBus.TypeWriter`1::Invoke(class NDesk.DBus.MessageWriter, !0) - IL_000e: ret - } // end of method MessageWriter::WriteStructure +.namespace NDesk.DBus +{ + .class private auto ansi abstract sealed beforefieldinit Address + extends [mscorlib]System.Object + { + .field private static literal string SYSTEM_BUS_ADDRESS = "unix:path=/var/run/dbus/system_bus_socket" // method line 1293 - .method public hidebysig - instance default void WriteFromDict (class [mscorlib]System.Collections.Generic.IDictionary`2 val) cil managed + .method public static hidebysig + default class NDesk.DBus.AddressEntry[] Parse (string addresses) cil managed { - // Method begins at RVA 0x13558 - // Code size 269 (0x10d) - .maxstack 4 + // Method begins at RVA 0x137f4 + // Code size 80 (0x50) + .maxstack 5 .locals init ( - int64 V_0, - int64 V_1, - class NDesk.DBus.TypeWriter`1 V_2, - class NDesk.DBus.TypeWriter`1 V_3, - valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2 V_4, - class [mscorlib]System.Collections.Generic.IEnumerator`1> V_5, - int64 V_6, - unsigned int32 V_7) + class [mscorlib]System.Collections.Generic.List`1 V_0, + string V_1, + string[] V_2, + int32 V_3) IL_0000: ldarg.0 - IL_0001: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0006: callvirt instance int64 class [mscorlib]System.IO.Stream::get_Position() - IL_000b: stloc.0 - IL_000c: ldarg.0 - IL_000d: ldc.i4.0 - IL_000e: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) - IL_0013: ldarg.0 - IL_0014: ldc.i4.8 - IL_0015: call instance void class NDesk.DBus.MessageWriter::WritePad(int32) - IL_001a: ldarg.0 - IL_001b: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0020: callvirt instance int64 class [mscorlib]System.IO.Stream::get_Position() - IL_0025: stloc.1 - IL_0026: call class NDesk.DBus.TypeWriter`1 class NDesk.DBus.TypeImplementer::GetTypeWriter () - IL_002b: stloc.2 - IL_002c: call class NDesk.DBus.TypeWriter`1 class NDesk.DBus.TypeImplementer::GetTypeWriter () - IL_0031: stloc.3 - IL_0032: ldarg.1 - IL_0033: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1>::GetEnumerator() - IL_0038: stloc.s 5 - .try { // 0 - IL_003a: br IL_006b - - IL_003f: ldloc.s 5 - IL_0041: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1>::get_Current() - IL_0046: stloc.s 4 - IL_0048: ldarg.0 - IL_0049: ldc.i4.8 - IL_004a: call instance void class NDesk.DBus.MessageWriter::WritePad(int32) - IL_004f: ldloc.2 - IL_0050: ldarg.0 - IL_0051: ldloca.s 4 - IL_0053: call instance !0 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Key() - IL_0058: callvirt instance void class NDesk.DBus.TypeWriter`1::Invoke(class NDesk.DBus.MessageWriter, !0) - IL_005d: ldloc.3 - IL_005e: ldarg.0 - IL_005f: ldloca.s 4 - IL_0061: call instance !1 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Value() - IL_0066: callvirt instance void class NDesk.DBus.TypeWriter`1::Invoke(class NDesk.DBus.MessageWriter, !0) - IL_006b: ldloc.s 5 - IL_006d: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0072: brtrue IL_003f - - IL_0077: leave IL_008b + IL_0001: brtrue IL_000d - } // end .try 0 - finally { // 0 - IL_007c: ldloc.s 5 - IL_007e: brfalse IL_008a + IL_0006: ldarg.0 + IL_0007: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_000c: throw + IL_000d: newobj instance void class [mscorlib]System.Collections.Generic.List`1::'.ctor'() + IL_0012: stloc.0 + IL_0013: ldarg.0 + IL_0014: ldc.i4.1 + IL_0015: newarr [mscorlib]System.Char + IL_001a: dup + IL_001b: ldc.i4.0 + IL_001c: ldc.i4.s 0x3b + IL_001e: stelem.i2 + IL_001f: callvirt instance string[] string::Split(char[]) + IL_0024: stloc.2 + IL_0025: ldc.i4.0 + IL_0026: stloc.3 + IL_0027: br IL_0040 - IL_0083: ldloc.s 5 - IL_0085: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_008a: endfinally - } // end handler 0 - IL_008b: ldarg.0 - IL_008c: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0091: callvirt instance int64 class [mscorlib]System.IO.Stream::get_Position() - IL_0096: stloc.s 6 - IL_0098: ldloc.s 6 - IL_009a: ldloc.1 - IL_009b: sub - IL_009c: conv.u4 - IL_009d: stloc.s 7 - IL_009f: ldarg.0 - IL_00a0: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_00a5: ldloc.0 - IL_00a6: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) - IL_00ab: ldloc.s 7 - IL_00ad: ldc.i4 67108864 - IL_00b2: ble.un IL_00f7 + IL_002c: ldloc.2 + IL_002d: ldloc.3 + IL_002e: ldelem.ref + IL_002f: stloc.1 + IL_0030: ldloc.0 + IL_0031: ldloc.1 + IL_0032: call class NDesk.DBus.AddressEntry class NDesk.DBus.AddressEntry::Parse(string) + IL_0037: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Add(!0) + IL_003c: ldloc.3 + IL_003d: ldc.i4.1 + IL_003e: add + IL_003f: stloc.3 + IL_0040: ldloc.3 + IL_0041: ldloc.2 + IL_0042: ldlen + IL_0043: conv.i4 + IL_0044: blt IL_002c - IL_00b7: ldc.i4.5 - IL_00b8: newarr [mscorlib]System.Object - IL_00bd: dup - IL_00be: ldc.i4.0 - IL_00bf: ldstr "Dict length " - IL_00c4: stelem.ref - IL_00c5: dup - IL_00c6: ldc.i4.1 - IL_00c7: ldloc.s 7 - IL_00c9: box [mscorlib]System.UInt32 - IL_00ce: stelem.ref - IL_00cf: dup - IL_00d0: ldc.i4.2 - IL_00d1: ldstr " exceeds maximum allowed " - IL_00d6: stelem.ref - IL_00d7: dup - IL_00d8: ldc.i4.3 - IL_00d9: ldc.i4 67108864 - IL_00de: box [mscorlib]System.UInt32 - IL_00e3: stelem.ref - IL_00e4: dup - IL_00e5: ldc.i4.4 - IL_00e6: ldstr " bytes" - IL_00eb: stelem.ref - IL_00ec: call string string::Concat(object[]) - IL_00f1: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_00f6: throw - IL_00f7: ldarg.0 - IL_00f8: ldloc.s 7 - IL_00fa: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) - IL_00ff: ldarg.0 - IL_0100: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0105: ldloc.s 6 - IL_0107: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) - IL_010c: ret - } // end of method MessageWriter::WriteFromDict + IL_0049: ldloc.0 + IL_004a: callvirt instance !0[] class [mscorlib]System.Collections.Generic.List`1::ToArray() + IL_004f: ret + } // end of method Address::Parse // method line 1294 - .method assembly hidebysig - instance default void WriteHeaderFields (class [mscorlib]System.Collections.Generic.Dictionary`2 val) cil managed + .method public static hidebysig specialname + default string get_System () cil managed { - // Method begins at RVA 0x13684 - // Code size 410 (0x19a) - .maxstack 4 + // Method begins at RVA 0x13850 + // Code size 30 (0x1e) + .maxstack 1 .locals init ( - int64 V_0, - int64 V_1, - valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2 V_2, - valuetype [mscorlib]System.Collections.Generic.Dictionary`2/Enumerator V_3, - valuetype NDesk.DBus.FieldCode V_4, - int64 V_5, - unsigned int32 V_6) - IL_0000: ldarg.0 - IL_0001: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0006: callvirt instance int64 class [mscorlib]System.IO.Stream::get_Position() - IL_000b: stloc.0 - IL_000c: ldarg.0 - IL_000d: ldc.i4.0 - IL_000e: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) - IL_0013: ldarg.0 - IL_0014: ldc.i4.8 - IL_0015: call instance void class NDesk.DBus.MessageWriter::WritePad(int32) - IL_001a: ldarg.0 - IL_001b: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0020: callvirt instance int64 class [mscorlib]System.IO.Stream::get_Position() - IL_0025: stloc.1 - IL_0026: ldarg.1 - IL_0027: callvirt instance valuetype [mscorlib]System.Collections.Generic.Dictionary`2/Enumerator class [mscorlib]System.Collections.Generic.Dictionary`2::GetEnumerator() - IL_002c: stloc.3 - .try { // 0 - IL_002d: br IL_00f9 - - IL_0032: ldloca.s 3 - IL_0034: call instance valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2 valuetype [mscorlib]System.Collections.Generic.Dictionary`2/Enumerator::get_Current() - IL_0039: stloc.2 - IL_003a: ldarg.0 - IL_003b: ldc.i4.8 - IL_003c: call instance void class NDesk.DBus.MessageWriter::WritePad(int32) - IL_0041: ldarg.0 - IL_0042: ldloca.s 2 - IL_0044: call instance !0 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Key() - IL_0049: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int8) - IL_004e: ldloca.s 2 - IL_0050: call instance !0 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Key() - IL_0055: stloc.s 4 - IL_0057: ldloc.s 4 - IL_0059: ldc.i4.1 - IL_005a: sub - IL_005b: switch ( - IL_00a3, - IL_0081, - IL_0081, - IL_0081, - IL_00c5, - IL_0081, - IL_0081) - IL_007c: br IL_00e7 - - IL_0081: ldarg.0 - IL_0082: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::StringSig - IL_0087: call instance void class NDesk.DBus.MessageWriter::Write(valuetype NDesk.DBus.Signature) - IL_008c: ldarg.0 - IL_008d: ldloca.s 2 - IL_008f: call instance !1 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Value() - IL_0094: castclass [mscorlib]System.String - IL_0099: call instance void class NDesk.DBus.MessageWriter::Write(string) - IL_009e: leave IL_00f9 - - IL_00a3: ldarg.0 - IL_00a4: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::ObjectPathSig - IL_00a9: call instance void class NDesk.DBus.MessageWriter::Write(valuetype NDesk.DBus.Signature) - IL_00ae: ldarg.0 - IL_00af: ldloca.s 2 - IL_00b1: call instance !1 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Value() - IL_00b6: castclass NDesk.DBus.ObjectPath - IL_00bb: call instance void class NDesk.DBus.MessageWriter::Write(class NDesk.DBus.ObjectPath) - IL_00c0: leave IL_00f9 - - IL_00c5: ldarg.0 - IL_00c6: ldsfld valuetype NDesk.DBus.Signature NDesk.DBus.Signature::UInt32Sig - IL_00cb: call instance void class NDesk.DBus.MessageWriter::Write(valuetype NDesk.DBus.Signature) - IL_00d0: ldarg.0 - IL_00d1: ldloca.s 2 - IL_00d3: call instance !1 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Value() - IL_00d8: unbox.any [mscorlib]System.UInt32 - IL_00dd: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) - IL_00e2: leave IL_00f9 - - IL_00e7: ldarg.0 - IL_00e8: ldloca.s 2 - IL_00ea: call instance !1 valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2::get_Value() - IL_00ef: call instance void class NDesk.DBus.MessageWriter::Write(object) - IL_00f4: leave IL_00f9 - - IL_00f9: ldloca.s 3 - IL_00fb: call instance bool valuetype [mscorlib]System.Collections.Generic.Dictionary`2/Enumerator::MoveNext() - IL_0100: brtrue IL_0032 - - IL_0105: leave IL_0118 - - } // end .try 0 - finally { // 0 - IL_010a: ldloca.s 3 - IL_010c: constrained. valuetype [mscorlib]System.Collections.Generic.Dictionary`2/Enumerator - IL_0112: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0117: endfinally - } // end handler 0 - IL_0118: ldarg.0 - IL_0119: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_011e: callvirt instance int64 class [mscorlib]System.IO.Stream::get_Position() - IL_0123: stloc.s 5 - IL_0125: ldloc.s 5 - IL_0127: ldloc.1 - IL_0128: sub - IL_0129: conv.u4 - IL_012a: stloc.s 6 - IL_012c: ldarg.0 - IL_012d: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0132: ldloc.0 - IL_0133: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) - IL_0138: ldloc.s 6 - IL_013a: ldc.i4 67108864 - IL_013f: ble.un IL_0184 + string V_0) + IL_0000: ldstr "DBUS_SYSTEM_BUS_ADDRESS" + IL_0005: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) + IL_000a: stloc.0 + IL_000b: ldloc.0 + IL_000c: call bool string::IsNullOrEmpty(string) + IL_0011: brfalse IL_001c - IL_0144: ldc.i4.5 - IL_0145: newarr [mscorlib]System.Object - IL_014a: dup - IL_014b: ldc.i4.0 - IL_014c: ldstr "Dict length " - IL_0151: stelem.ref - IL_0152: dup - IL_0153: ldc.i4.1 - IL_0154: ldloc.s 6 - IL_0156: box [mscorlib]System.UInt32 - IL_015b: stelem.ref - IL_015c: dup - IL_015d: ldc.i4.2 - IL_015e: ldstr " exceeds maximum allowed " - IL_0163: stelem.ref - IL_0164: dup - IL_0165: ldc.i4.3 - IL_0166: ldc.i4 67108864 - IL_016b: box [mscorlib]System.UInt32 - IL_0170: stelem.ref - IL_0171: dup - IL_0172: ldc.i4.4 - IL_0173: ldstr " bytes" - IL_0178: stelem.ref - IL_0179: call string string::Concat(object[]) - IL_017e: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0183: throw - IL_0184: ldarg.0 - IL_0185: ldloc.s 6 - IL_0187: call instance void class NDesk.DBus.MessageWriter::Write(unsigned int32) - IL_018c: ldarg.0 - IL_018d: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0192: ldloc.s 5 - IL_0194: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) - IL_0199: ret - } // end of method MessageWriter::WriteHeaderFields + IL_0016: ldstr "unix:path=/var/run/dbus/system_bus_socket" + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ret + } // end of method Address::get_System // method line 1295 - .method public hidebysig - instance default void WriteNull () cil managed + .method public static hidebysig specialname + default string get_Session () cil managed { - // Method begins at RVA 0x1383c - // Code size 13 (0xd) + // Method begins at RVA 0x1387a + // Code size 11 (0xb) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0006: ldc.i4.0 - IL_0007: callvirt instance void class [mscorlib]System.IO.Stream::WriteByte(unsigned int8) - IL_000c: ret - } // end of method MessageWriter::WriteNull + IL_0000: ldstr "DBUS_SESSION_BUS_ADDRESS" + IL_0005: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) + IL_000a: ret + } // end of method Address::get_Session // method line 1296 - .method public hidebysig - instance default void WritePad (int32 'alignment') cil managed + .method public static hidebysig specialname + default string get_Starter () cil managed { - // Method begins at RVA 0x1384c - // Code size 38 (0x26) - .maxstack 4 - .locals init ( - int32 V_0) - IL_0000: ldarg.0 - IL_0001: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0006: callvirt instance int64 class [mscorlib]System.IO.Stream::get_Position() - IL_000b: conv.i4 - IL_000c: ldarg.1 - IL_000d: call int32 class NDesk.DBus.Protocol::PadNeeded(int32, int32) - IL_0012: stloc.0 - IL_0013: ldarg.0 - IL_0014: ldfld class [mscorlib]System.IO.MemoryStream NDesk.DBus.MessageWriter::'stream' - IL_0019: ldsfld unsigned int8[] NDesk.DBus.MessageWriter::nullBytes - IL_001e: ldc.i4.0 - IL_001f: ldloc.0 - IL_0020: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) - IL_0025: ret - } // end of method MessageWriter::WritePad + // Method begins at RVA 0x13886 + // Code size 11 (0xb) + .maxstack 8 + IL_0000: ldstr "DBUS_STARTER_ADDRESS" + IL_0005: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) + IL_000a: ret + } // end of method Address::get_Starter // method line 1297 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + .method public static hidebysig specialname + default string get_StarterBusType () cil managed { - // Method begins at RVA 0x1387e - // Code size 12 (0xc) + // Method begins at RVA 0x13892 + // Code size 11 (0xb) .maxstack 8 - IL_0000: ldc.i4.8 - IL_0001: newarr [mscorlib]System.Byte - IL_0006: stsfld unsigned int8[] NDesk.DBus.MessageWriter::nullBytes - IL_000b: ret - } // end of method MessageWriter::.cctor + IL_0000: ldstr "DBUS_STARTER_BUS_TYPE" + IL_0005: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) + IL_000a: ret + } // end of method Address::get_StarterBusType - } // end of class NDesk.DBus.MessageWriter + .property string System () + { + .get default string NDesk.DBus.Address::get_System () + } + .property string Session () + { + .get default string NDesk.DBus.Address::get_Session () + } + .property string Starter () + { + .get default string NDesk.DBus.Address::get_Starter () + } + .property string StarterBusType () + { + .get default string NDesk.DBus.Address::get_StarterBusType () + } + } // end of class NDesk.DBus.Address } overalldiffered=1 (not bit-by-bit identical) overall=1